X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fsass%2Fapplication.scss;h=fd0d5e4586ca87b21744d1586e01d0e51a4230fc;hb=8ff3f88347cb733ca8a3978ba6eb9763fb3ea294;hp=38b7ea8d4bd0dfc1d41f05139a8943b769120314;hpb=2d3741d6d92e9bd1f41694c7442a6d1da434e1f2;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss index 38b7ea8d4..fd0d5e458 100644 --- a/client/src/sass/application.scss +++ b/client/src/sass/application.scss @@ -21,7 +21,7 @@ $assets-path: '../assets/'; body { font-family: $main-fonts; font-weight: $font-regular; - color: #000; + color: var(--mainForegroundColor); font-size: 14px; } @@ -83,7 +83,7 @@ label { } .sub-menu { - background-color: #F7F7F7; + background-color: var(--submenuColor); width: 100%; height: 81px; margin-bottom: 30px; @@ -110,7 +110,7 @@ label { } .title-page { - color: #000; + color: var(--mainForegroundColor); font-size: 16px; display: inline-block; margin-right: 55px; @@ -118,14 +118,14 @@ label { @include disable-default-a-behaviour; &.active, &.title-page-single { - border-bottom: 2px solid $orange-color; + border-bottom: 2px solid var(--mainColor); font-weight: $font-bold; margin-top: 30px; margin-bottom: 25px; } &:hover, &:active, &:focus { - color: #000; + color: var(--mainForegroundColor); } @media screen and (max-width: 500px) { @@ -146,13 +146,14 @@ label { @include disable-default-a-behaviour; font-size: 16px; - color: #000; + color: var(--mainForegroundColor); padding: 5px 15px; border-radius: 0.25rem; &.active { font-weight: $font-semibold; background-color: #f0f0f0; + color: #000; } } } @@ -188,6 +189,10 @@ label { } .modal { + .modal-content { + background-color: var(--mainBackgroundColor); + } + .modal-header { border-bottom: none; margin-bottom: 5px; @@ -249,7 +254,7 @@ label { a { @include disable-default-a-behaviour; - color: #000; + color: var(--mainForegroundColor); } } @@ -259,7 +264,7 @@ ngb-tabset.bootstrap { &, & a { @include disable-default-a-behaviour; - color: #000 !important; + color: var(--mainForegroundColor) !important; } } } @@ -302,12 +307,23 @@ table { font-weight: $font-semibold; } +@media screen and (max-width: 1200px) { + .main-col { + &.expanded { + .margin-content { + margin-left: $expanded-horizontal-margins/2; + margin-right: $expanded-horizontal-margins/2; + } + } + } +} + @media screen and (max-width: 900px) { .main-col { - &, &.expanded { + &.expanded { .margin-content { - margin-left: 50px; - margin-right: 50px; + margin-left: $expanded-horizontal-margins/3; + margin-right: $expanded-horizontal-margins/3; } .sub-menu { @@ -321,12 +337,7 @@ table { } } -@media screen and (max-width: 600px) { - .menu-wrapper { - width: 100% !important; - z-index: 10000; - } - +@media screen and (max-width: $small-view) { .main-col { margin-left: 0; @@ -347,4 +358,4 @@ table { } } } -} +} \ No newline at end of file