X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fsass%2Fapplication.scss;h=046368c8b71a392c6efc3af1c4bad9ef7124a78f;hb=7bd32e04d3b5b031569336ea6bb515cb28e1cb03;hp=e4840dd81fdaa2d0560c3e46dd5485c86c921b03;hpb=24e7916c6897bbb38e057cdf1a102286006be964;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss index e4840dd81..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; } } @@ -229,7 +236,7 @@ table { } } -@media screen and (max-width: 1600px) { +@media screen and (max-width: #{map-get($grid-breakpoints, xxl)}) { .main-col { &.expanded { .margin-content { @@ -240,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 {