X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fsass%2Fapplication.scss;h=f0ff8f2f49768bebae71ab6807de15fa8b019eae;hb=0b38e69dc1f196785545b20bc57a5d1b678aa5a1;hp=58e77adace1d7641e253db2d697146ccb09ff5ea;hpb=f72c78b2f6f7c7fdf1c9582b55498f1a522fe1e1;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss index 58e77adac..f0ff8f2f4 100644 --- a/client/src/sass/application.scss +++ b/client/src/sass/application.scss @@ -6,18 +6,15 @@ @use '_fonts'; -@use './class-helpers'; @use './custom-markup'; @use './ng-select'; -@import './bootstrap'; -@import './primeng-custom'; +@use './bootstrap'; +@use './primeng-custom'; -@import './z-index'; +@use './z-index'; -[hidden] { - display: none !important; -} +@use './class-helpers/index.scss'; body { /*** theme ***/ @@ -26,6 +23,7 @@ body { --mainColor: #{$main-color}; --mainColorLighter: #{$main-color-lighter}; --mainColorLightest: #{$main-color-lightest}; + --mainColorVeryLight: #{$main-color-very-light}; --mainHoverColor: #{$main-hover-color}; --mainBackgroundHoverColor: #{$main-background-hover-color}; @@ -46,6 +44,7 @@ body { --inputForegroundColor: #{$input-foreground-color}; --inputBackgroundColor: #{$input-background-color}; --inputPlaceholderColor: #{$input-placeholder-color}; + --inputBorderColor: #{$input-border-color}; --textareaForegroundColor: #{$textarea-foreground-color}; --textareaBackgroundColor: #{$textarea-background-color}; @@ -67,7 +66,7 @@ body { font-weight: $font-regular; color: pvar(--mainForegroundColor); background-color: pvar(--mainBackgroundColor); - font-size: 14px; + font-size: 1rem; // On desktop browsers, make sure vertical scroll bar is always visible // Allow to disable the scrollbar instead of hide it when the content fit the body // And not move the content and header horizontally sticked to right when the content is updating @@ -117,7 +116,6 @@ button { label { font-weight: $font-bold; - font-size: 15px; margin-bottom: 0.5rem; } @@ -202,20 +200,14 @@ table { } } -.dropdown-item { - @include dropdown-with-icon-item; - - my-global-icon { - width: 22px; - height: 22px; - } -} - my-global-icon[iconName=external-link] { - margin: 0 3px; - width: 13px; - vertical-align: text-bottom; + margin: 0 0.3em; + width: 0.9em; + height: 0.9em; + display: inline-block; color: pvar(--inputPlaceholderColor); + position: relative; + top: -0.1em; } @media screen and (max-width: #{breakpoint(xxl)}) {