X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=client%2Fsrc%2Fsass%2Fapplication.scss;h=4ad14ea5bc89c5c0945d5e3570fc8fc6c83a752e;hb=52cc0d54850e0acf069d2f95d063826f16ff5238;hp=4fa72232712441172142a999fad5b0973866375e;hpb=79a899410fdf6d7d4fcb22f05314c9ed3fc5d591;p=oweals%2Fpeertube.git diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss index 4fa722327..4ad14ea5b 100644 --- a/client/src/sass/application.scss +++ b/client/src/sass/application.scss @@ -26,18 +26,32 @@ body { --mainHoverColor: #{$orange-hover-color}; --mainBackgroundColor: #{$bg-color}; --mainForegroundColor: #{$fg-color}; + --secondaryColor: #{$cyan-color}; + --menuBackgroundColor: #{$menu-background}; --menuForegroundColor: #{$menu-color}; --submenuColor: #{$sub-menu-color}; - --inputColor: #{$input-background-color}; + + --inputBackgroundColor: #{$input-background-color}; --inputPlaceholderColor: #{$input-placeholder-color}; + --actionButtonColor: #{$grey-foreground-color}; + --supportButtonBackgroundColor: #{transparent}; + --supportButtonColor: #{var(--actionButtonColor)}; + --supportButtonHeartColor: #{$support-button-heart}; + font-family: $main-fonts; font-weight: $font-regular; color: var(--mainForegroundColor); + background-color: var(--mainBackgroundColor); font-size: 14px; } +::selection { + color: var(--mainBackgroundColor); + background-color: var(--mainHoverColor); +} + #incompatible-browser { display: none; text-align: center; @@ -52,7 +66,7 @@ strong { input.readonly { /* Force blank on readonly inputs */ - background-color: var(--inputColor) !important; + background-color: var(--inputBackgroundColor) !important; } input, textarea { @@ -136,12 +150,19 @@ label { @include disable-default-a-behaviour; &.active, &.title-page-single { - border-bottom: 2px solid var(--mainColor); - font-weight: $font-bold; margin-top: 30px; margin-bottom: 25px; } + &.active { + font-weight: $font-bold; + border-bottom: 2px solid var(--mainColor); + } + + &.title-page-single { + font-size: 125%; + } + &:hover, &:active, &:focus { color: var(--mainForegroundColor); } @@ -186,26 +207,6 @@ label { to { transform: scale(1) rotate(360deg);} } -.orange-button { - @include peertube-button; - @include orange-button; -} - -.orange-button-link { - @include peertube-button-link; - @include orange-button; -} - -.grey-button { - @include peertube-button; - @include grey-button; -} - -.grey-button-link { - @include peertube-button-link; - @include grey-button; -} - // In tables, don't have a hover different background table { .action-button-edit, .action-button-delete { @@ -224,6 +225,15 @@ table { font-weight: $font-semibold; } +.dropdown-item { + @include dropdown-with-icon-item; + + my-global-icon { + width: 22px; + height: 22px; + } +} + @media screen and (max-width: 1600px) { .main-col { &.expanded { @@ -247,7 +257,7 @@ table { padding-left: 50px; .title-page { - font-size: 15px; + font-size: 17px; } } }