mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
common screen sizes used in app styles to define media queries
This commit is contained in:
parent
c04b0d467e
commit
4bbc916f7b
1 changed files with 5 additions and 4 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
@import (inline, once, css) 'stremio-colors/css/stremio-colors.css';
|
@import (inline, once, css) 'stremio-colors/css/stremio-colors.css';
|
||||||
|
@import (reference) 'common/screen-sizes.less';
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Roboto';
|
font-family: 'Roboto';
|
||||||
|
|
@ -116,7 +117,7 @@ html {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 1600px) {
|
@media only screen and (max-width: @medium) {
|
||||||
html {
|
html {
|
||||||
--scroll-bar-width: 8px;
|
--scroll-bar-width: 8px;
|
||||||
--focusable-border-size: 2px;
|
--focusable-border-size: 2px;
|
||||||
|
|
@ -124,7 +125,7 @@ html {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (min-width: 1600px) and (max-width: 2000px) {
|
@media only screen and (min-width: @medium) and (max-width: @large) {
|
||||||
html {
|
html {
|
||||||
--scroll-bar-width: 8px;
|
--scroll-bar-width: 8px;
|
||||||
--focusable-border-size: 2px;
|
--focusable-border-size: 2px;
|
||||||
|
|
@ -132,7 +133,7 @@ html {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (min-width: 2000px) and (max-width: 3000px) {
|
@media only screen and (min-width: @large) and (max-width: @xxlarge) {
|
||||||
html {
|
html {
|
||||||
--scroll-bar-width: 8px;
|
--scroll-bar-width: 8px;
|
||||||
--focusable-border-size: 2px;
|
--focusable-border-size: 2px;
|
||||||
|
|
@ -140,7 +141,7 @@ html {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (min-width: 3000px) {
|
@media only screen and (min-width: @xxlarge) {
|
||||||
html {
|
html {
|
||||||
--scroll-bar-width: 10px;
|
--scroll-bar-width: 10px;
|
||||||
--focusable-border-size: 3px;
|
--focusable-border-size: 3px;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue