source: pro-violet-viettel/docs/Space/assets/css/less/ace-responsive.less @ 290

Last change on this file since 290 was 290, checked in by lamdt, 11 years ago
File size: 2.1 KB
Line 
1@media only screen and (max-width: @screen-xs) {
2        .hidden-480{
3                 display:none !important;
4        }
5}
6@media only screen and (max-width: @screen-tiny) {
7        .hidden-320{
8                 display:none !important;
9        }
10}
11
12@media only screen and (max-width: @screen-xs) {
13        [class*="vspace-xs"] {
14                display:block;
15        }
16}
17@media only screen and (max-width: @screen-xs-max) {
18        [class*="vspace-sm"] {
19                 display:block;
20        }
21}
22@media only screen and (max-width: @screen-sm-max) {
23        [class*="vspace-md"] {
24                 display:block;
25        }
26}
27@media only screen and (max-width: @screen-md-max) {
28        [class*="vspace-lg"] {
29                 display:block;
30        }
31}
32
33
34@media only screen and (max-width: @screen-sm-max) {
35 .main-content {
36        margin-left:0 !important;
37 }
38}
39// page-content less padding
40@media only screen and (max-width: @screen-xs-max) {
41 .page-content {
42        padding-left: @grid-gutter-width / 2;
43        padding-right: @grid-gutter-width / 2;
44 }
45}
46
47
48@media (max-width: @screen-sm-max) {
49        body.breadcrumbs-fixed {
50                padding-top:45px;
51        }
52        .navbar-fixed-top {
53                margin-bottom: 0;
54        }
55        .sidebar.fixed , .sidebar.sidebar-fixed {
56                position:absolute;
57        }
58}
59@media (max-width: @screen-topbar-down) {
60        body.navbar-fixed {
61                padding-top: 90px;
62        }
63}
64
65
66
67// error pages
68@media only screen and (max-width: @screen-xs-max) {
69 .error-container {
70        margin:12px;
71 }
72}
73@media only screen and (max-width: @screen-xs) {
74 .error-container {
75        margin:6px;
76 }
77}
78
79
80
81
82/* custom grid */
83@media only screen and (max-width: 360px) {
84        .grid2 , .grid3 , .grid4{
85                 float:none;
86                 display:block;
87                 width:96%;
88                 border-left:none;
89                 position:relative;
90                 margin-bottom:11px;
91                 border-bottom:1px solid #E3E3E3;
92                 padding-bottom:4px;
93        }
94        .grid2 > [class*="pull-"], .grid3 > [class*="pull-"], .grid4 > [class*="pull-"]{
95                float:none !important;
96                display:inline-block;
97                position:absolute;
98                right:11px; top:0;
99                margin-top:0;
100        }
101        .grid2:last-child , .grid3:last-child , .grid4:last-child {
102                border-bottom:none;
103        }
104}
105
106
107
108
109@media only screen and (max-width: @screen-xs) {
110 .ace-settings-container , body.breadcrumbs-fixed .ace-settings-container {
111        top: 65px;
112 }
113}
114
115
116
117
Note: See TracBrowser for help on using the repository browser.