forked from olton/Metro-UI-CSS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
modern-responsive-max979.less
97 lines (85 loc) · 2.45 KB
/
modern-responsive-max979.less
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
/*
* Metro UI CSS
* Copyright 2012 Sergey Pimenov
* Licensed under the MIT Lilcense
*
* responsive.less
*/
/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {
.span1 {width: 42px;}
.span2 {width: 104px;}
.span3 {width: 166px;}
.span4 {width: 228px;}
.span5 {width: 290px;}
.span6 {width: 352px;}
.span7 {width: 414px;}
.span8 {width: 476px;}
.span9 {width: 538px;}
.span10 {width: 600px;}
.span11 {width: 662px;}
.span12 {width: 724px;}
.offset1 {margin-left: 62px; }
.offset2 {margin-left: 124px;}
.offset3 {margin-left: 186px;}
.offset4 {margin-left: 248px;}
.offset5 {margin-left: 310px;}
.offset6 {margin-left: 372px;}
.offset7 {margin-left: 434px;}
.offset8 {margin-left: 496px;}
.offset9 {margin-left: 558px;}
.offset10 {margin-left: 620px;}
.offset11 {margin-left: 682px;}
.offset12 {margin-left: 744px;}
.nav-bar {
.nav-bar-inner {
.pull-menu {
display: inline-block;
}
& > .divider {
display: none;
}
.element {
float: none;
}
& > ul.menu {
display: none;
float: none;
margin: 5px;
& > li {
display: block;
float: none;
width: 100%;
margin-left: 0;
padding-left: 5px;
//border-bottom: 1px #ccc solid;
a {
display: block;
float: none;
}
.dropdown-menu {
position: relative;
width: 100%;
border: 0;
}
}
}
[data-role=dropdown] {
margin-right: 20px !important;
& > a {
cursor: pointer;
&:before {
position: absolute;
content: "\203A";
display: block;
font-size: 1.4em;
left: 100%;
margin-left: -10px;
top: 8px;
.rotate(90deg);
}
}
}
}
}
}