X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fsass%2Fapplication.scss;h=046368c8b71a392c6efc3af1c4bad9ef7124a78f;hb=7bd32e04d3b5b031569336ea6bb515cb28e1cb03;hp=fa245223113a01e7536d109cae0cb439d329a27f;hpb=7cd1b12c19d0589d1d692ed0571ca0800f028aea;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss index fa2452231..046368c8b 100644 --- a/client/src/sass/application.scss +++ b/client/src/sass/application.scss @@ -1,5 +1,6 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/'; +@import '_bootstrap-variables'; @import '_variables'; @import '_mixins'; @@ -23,6 +24,7 @@ body { // now beware node-sass requires interpolation // for css custom properties #{$var} --mainColor: #{$orange-color}; + --mainColorLighter: #{$orange-color-lighter}; --mainHoverColor: #{$orange-hover-color}; --mainBackgroundColor: #{$bg-color}; --mainForegroundColor: #{$fg-color}; @@ -47,6 +49,11 @@ body { font-size: 14px; } +::selection { + color: var(--mainBackgroundColor); + background-color: var(--mainHoverColor); +} + #incompatible-browser { display: none; text-align: center; @@ -162,7 +169,7 @@ label { color: var(--mainForegroundColor); } - @media screen and (max-width: 500px) { + @media screen and (max-width: $mobile-view) { margin-right: 15px; } } @@ -220,7 +227,16 @@ table { font-weight: $font-semibold; } -@media screen and (max-width: 1600px) { +.dropdown-item { + @include dropdown-with-icon-item; + + my-global-icon { + width: 22px; + height: 22px; + } +} + +@media screen and (max-width: #{map-get($grid-breakpoints, xxl)}) { .main-col { &.expanded { .margin-content { @@ -231,7 +247,7 @@ table { } } -@media screen and (max-width: 900px) { +@media screen and (max-width: #{map-get($grid-breakpoints, lg)}) { .main-col { &.expanded { .margin-content { @@ -243,7 +259,7 @@ table { padding-left: 50px; .title-page { - font-size: 15px; + font-size: 17px; } } }