mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-09 14:45:35 +00:00
Refactored responsive stuff.
This commit is contained in:
28
app/less/responsive.less
Normal file
28
app/less/responsive.less
Normal file
@@ -0,0 +1,28 @@
|
||||
// Screens less than 1024 wide
|
||||
// More will be added over time to support mobile devices better
|
||||
// These are designed to trickle down. So tablet styles will apply to tablet and smaller, etc
|
||||
// To overwrite, put the smallest devices at the bottom
|
||||
|
||||
.smallPhone(@rules) {
|
||||
@media only screen and (max-width: 350px) {
|
||||
@rules();
|
||||
}
|
||||
}
|
||||
|
||||
.medPhone(@rules) {
|
||||
@media only screen and /*(min-width: 351px) and */ (max-width: 550px) {
|
||||
@rules();
|
||||
}
|
||||
}
|
||||
|
||||
.largePhone(@rules) {
|
||||
@media only screen and /*(min-width: 551px) and */ (max-width: 640px) {
|
||||
@rules();
|
||||
}
|
||||
}
|
||||
|
||||
.tablet(@rules) {
|
||||
@media only screen and /*(min-width: 601px) and */(max-width: 1024px) {
|
||||
@rules();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user