X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fsass%2Fapplication.scss;h=089a58009e82ece00059f11285e92b9b09ca2e16;hb=d96994289b24c4bbd056660c5fe11fff0f77635e;hp=560414e90fa60200356f4afb2c4b2321adf8afd1;hpb=a30a136c9896c656cab98d2c92cde32c534dc098;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss index 560414e90..089a58009 100644 --- a/client/src/sass/application.scss +++ b/client/src/sass/application.scss @@ -23,11 +23,12 @@ body { /*** theme ***/ // now beware node-sass requires interpolation // for css custom properties #{$var} - --mainColor: #{$orange-color}; - --mainHoverColor: #{$orange-hover-color}; + --mainColor: #{$main-color}; + --mainColorLighter: #{$main-color-lighter}; + --mainHoverColor: #{$main-hover-color}; --mainBackgroundColor: #{$bg-color}; --mainForegroundColor: #{$fg-color}; - --secondaryColor: #{$cyan-color}; + --secondaryColor: #{$secondary-color}; --menuBackgroundColor: #{$menu-background}; --menuForegroundColor: #{$menu-color}; @@ -105,9 +106,13 @@ label { color: black; } +.row { + margin: 0; +} + .main-col { margin-left: $menu-width; - width: auto; + width: calc(100% - #{$menu-width}); .margin-content { margin-left: $not-expanded-horizontal-margins; @@ -129,6 +134,7 @@ label { // Override some properties if the main content is expanded (no menu on the left) &.expanded { margin-left: 0; + width: 100%; .margin-content { margin-left: $expanded-horizontal-margins; @@ -173,6 +179,17 @@ label { } } +.title-page-about, +.title-page-settings { + white-space: nowrap; + font-size: 115%; + font-weight: $font-regular; + + &.active { + font-weight: $font-semibold; + } +} + .admin-sub-header { display: flex; align-items: center; @@ -235,6 +252,11 @@ table { } } +.anchor { + position: relative; + top: #{-($header-height + 20px)}; +} + @media screen and (max-width: #{map-get($grid-breakpoints, xxl)}) { .main-col { &.expanded {