ace-responsive.less
1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
@media only screen and (max-width: @grid-float-breakpoint-max) {
body {
overflow-x : hidden;
}
}
.navbar-fixed-top + .main-container {
padding-top: @navbar-min-height;
}
@media (max-width: @screen-topbar-down) {
.navbar-fixed-top + .main-container {
padding-top: (@navbar-min-height * 2);
}
.navbar-fixed-top.navbar-collapse + .main-container {
padding-top: @navbar-min-height;
}
}
// custom grid
@media only screen and (max-width: @screen-topbar-down-small) {
.grid2 , .grid3 , .grid4{
float: none;
display: block;
width: 96%;
border-left-width: 0;
position: relative;
margin-bottom: 11px;
border-bottom: 1px solid #E3E3E3;
padding-bottom: 4px;
}
.grid2 > [class*="pull-"], .grid3 > [class*="pull-"], .grid4 > [class*="pull-"]{
float: none !important;
display: inline-block;
position: absolute;
right: 11px;
top: 0;
margin-top: 0;
}
.grid2:last-child , .grid3:last-child , .grid4:last-child {
border-bottom-width: 0;
}
}
@media only screen and (max-width: @screen-xs) {
.hidden-480{
display: none !important;
}
}
@media only screen and (max-width: @screen-tiny) {
.hidden-320{
display: none !important;
}
}