General normalization on LESS files
This commit is contained in:
parent
5e1e4f9eb5
commit
01633e9d9e
14 changed files with 741 additions and 196 deletions
155
less/06-rwd.less
155
less/06-rwd.less
|
@ -6,6 +6,7 @@
|
|||
@media (min-width: @small-screen) {
|
||||
/* here go rules for big resources and big screens like: background-images, font-faces, etc. */
|
||||
}
|
||||
|
||||
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {
|
||||
/* Style adjustments for retina devices */
|
||||
}
|
||||
|
@ -17,9 +18,18 @@
|
|||
@media (min-width: @large-screen) {
|
||||
|
||||
/* layouts for large screens */
|
||||
.large-hidden { display: none !important; }
|
||||
.large-visible { display: block !important; }
|
||||
.large-no-float {float: none; }
|
||||
.large-hidden {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.large-visible {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.large-no-float {
|
||||
float: none;
|
||||
}
|
||||
|
||||
.large-inbl {
|
||||
display: inline-block;
|
||||
float: none;
|
||||
|
@ -36,11 +46,26 @@
|
|||
}
|
||||
|
||||
/* widths for large screens */
|
||||
.large-w25 { width: 25% !important; }
|
||||
.large-w33 { width: 33.3333% !important; }
|
||||
.large-w50 { width: 50% !important; }
|
||||
.large-w66 { width: 66.6666% !important; }
|
||||
.large-w75 { width: 75% !important; }
|
||||
.large-w25 {
|
||||
width: 25% !important;
|
||||
}
|
||||
|
||||
.large-w33 {
|
||||
width: 33.3333% !important;
|
||||
}
|
||||
|
||||
.large-w50 {
|
||||
width: 50% !important;
|
||||
}
|
||||
|
||||
.large-w66 {
|
||||
width: 66.6666% !important;
|
||||
}
|
||||
|
||||
.large-w75 {
|
||||
width: 75% !important;
|
||||
}
|
||||
|
||||
.large-w100,
|
||||
.large-wauto {
|
||||
display: block !important;
|
||||
|
@ -53,7 +78,9 @@
|
|||
}
|
||||
|
||||
/* margins for large screens */
|
||||
.large-man { margin: 0 !important; }
|
||||
.large-man {
|
||||
margin: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: @small-screen) {
|
||||
|
@ -69,9 +96,18 @@
|
|||
}
|
||||
|
||||
/* layouts for small screens */
|
||||
.small-hidden { display: none !important; }
|
||||
.small-visible { display: block !important; }
|
||||
.small-no-float {float: none; }
|
||||
.small-hidden {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.small-visible {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.small-no-float {
|
||||
float: none;
|
||||
}
|
||||
|
||||
.small-inbl {
|
||||
display: inline-block;
|
||||
float: none;
|
||||
|
@ -88,11 +124,26 @@
|
|||
}
|
||||
|
||||
/* widths for small screens */
|
||||
.small-w25 { width: 25% !important; }
|
||||
.small-w33 { width: 33.3333% !important; }
|
||||
.small-w50 { width: 50% !important; }
|
||||
.small-w66 { width: 66.6666% !important; }
|
||||
.small-w75 { width: 75% !important; }
|
||||
.small-w25 {
|
||||
width: 25% !important;
|
||||
}
|
||||
|
||||
.small-w33 {
|
||||
width: 33.3333% !important;
|
||||
}
|
||||
|
||||
.small-w50 {
|
||||
width: 50% !important;
|
||||
}
|
||||
|
||||
.small-w66 {
|
||||
width: 66.6666% !important;
|
||||
}
|
||||
|
||||
.small-w75 {
|
||||
width: 75% !important;
|
||||
}
|
||||
|
||||
.small-w100,
|
||||
.small-wauto {
|
||||
display: block !important;
|
||||
|
@ -103,9 +154,15 @@
|
|||
margin-right: 0 !important;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/* margins for small screens */
|
||||
.small-man { margin: 0 !important; }
|
||||
.small-pan { padding: 0 !important; }
|
||||
.small-man {
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
.small-pan {
|
||||
padding: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: @tiny-screen) {
|
||||
|
@ -122,49 +179,81 @@
|
|||
margin-right: 0 !important;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.w300p,
|
||||
.w400p,
|
||||
.w500p {
|
||||
width: auto;
|
||||
float: none;
|
||||
}
|
||||
|
||||
.row {
|
||||
display: block !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
/* layouts for tiny screens */
|
||||
.tiny-hidden { display: none !important; }
|
||||
.tiny-visible { display: block !important; }
|
||||
.tiny-no-float {float: none;}
|
||||
.tiny-hidden {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.tiny-visible {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.tiny-no-float {
|
||||
float: none;
|
||||
}
|
||||
|
||||
.tiny-inbl {
|
||||
display: inline-block;
|
||||
float: none;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.tiny-row {
|
||||
display: table !important;
|
||||
table-layout: fixed !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
.tiny-col {
|
||||
display: table-cell !important;
|
||||
vertical-align: top !important;
|
||||
}
|
||||
|
||||
th,
|
||||
td {
|
||||
display: block !important;
|
||||
width: auto !important;
|
||||
text-align: left !important;
|
||||
}
|
||||
thead { display: none; }
|
||||
|
||||
thead {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* widths for tiny screens */
|
||||
.tiny-w25 { width: 25% !important; }
|
||||
.tiny-w33 { width: 33.3333% !important; }
|
||||
.tiny-w50 { width: 50% !important; }
|
||||
.tiny-w66 { width: 66.6666% !important; }
|
||||
.tiny-w75 { width: 75% !important; }
|
||||
.tiny-w25 {
|
||||
width: 25% !important;
|
||||
}
|
||||
|
||||
.tiny-w33 {
|
||||
width: 33.3333% !important;
|
||||
}
|
||||
|
||||
.tiny-w50 {
|
||||
width: 50% !important;
|
||||
}
|
||||
|
||||
.tiny-w66 {
|
||||
width: 66.6666% !important;
|
||||
}
|
||||
|
||||
.tiny-w75 {
|
||||
width: 75% !important;
|
||||
}
|
||||
|
||||
.tiny-w100,
|
||||
.tiny-wauto {
|
||||
display: block !important;
|
||||
|
@ -175,7 +264,13 @@
|
|||
margin-right: 0 !important;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/* margins for tiny screens */
|
||||
.tiny-man { margin: 0 !important; }
|
||||
.tiny-pan { padding: 0 !important; }
|
||||
.tiny-man {
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
.tiny-pan {
|
||||
padding: 0 !important;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue