root / snf-cyclades-app / synnefo / ui / new_ui / ui / sass / _details.scss @ e4a6c3b8
History | View | Annotate | Download (4.5 kB)
1 |
$details-icon-large : 90px; |
---|---|
2 |
|
3 |
.details { |
4 |
$details-top-title-h : 0.4 * $details-top-height; |
5 |
$details-top-more-h : ( $details-top-height - $details-top-title-h )/2; |
6 |
position:relative; |
7 |
border-left: 1px solid $border-color-1; |
8 |
border-right: 1px solid $border-color-1; |
9 |
.lt { |
10 |
width: $details-lt-width; |
11 |
float: left; |
12 |
text-align: center; |
13 |
border-right: 1px solid $border-color-1; |
14 |
height: $details-top-height; |
15 |
line-height: $details-top-height; |
16 |
} |
17 |
.rt { |
18 |
overflow: hidden; |
19 |
} |
20 |
.top { |
21 |
@extend .clearfix; |
22 |
border-bottom:1px solid $border-color-1; |
23 |
position: relative; |
24 |
z-index: 1; |
25 |
.img-wrap { |
26 |
position: relative; |
27 |
vertical-align: middle; |
28 |
width: auto; |
29 |
height: $details-icon-large; |
30 |
.snf-pc-full, |
31 |
.snf-network-full { |
32 |
font-size: $details-icon-large; |
33 |
} |
34 |
.os { |
35 |
@include sprite('../images/os-unknown.png', 30px, 30px); |
36 |
position: absolute; |
37 |
background-size:100%; |
38 |
left: 42px; |
39 |
top: 15px; |
40 |
&.windows { background-image:url('../images/os-windows.png'); } |
41 |
&.kubuntu { background-image:url('../images/os-kubuntu.png'); } |
42 |
&.fedora { background-image:url('../images/os-fedora.png'); } |
43 |
} |
44 |
} |
45 |
.title { |
46 |
height: $details-top-title-h; |
47 |
padding: 0 0 0 $details-top-more-padding-lt; |
48 |
} |
49 |
.actions, .tabs { |
50 |
border-top: 1px solid $border-color-1; |
51 |
height: $details-top-more-h; |
52 |
line-height: $details-top-more-h; |
53 |
padding: 0 0 0 $details-top-more-padding-lt; |
54 |
} |
55 |
.actions { |
56 |
font-size: emCalc(14px); |
57 |
a { |
58 |
text-transform: capitalize; |
59 |
} |
60 |
} |
61 |
.tabs { |
62 |
font-size: emCalc(22px); |
63 |
} |
64 |
ul { |
65 |
list-style: none outside none; |
66 |
padding:0; |
67 |
margin: 0; |
68 |
li { |
69 |
display: inline-block; |
70 |
padding: 0 20px 0 0 ; |
71 |
margin: 0; |
72 |
line-height: $details-top-more-h; |
73 |
} |
74 |
} |
75 |
h1 { |
76 |
font-size: emCalc(16px); |
77 |
margin: 0; |
78 |
padding-top: 16px; |
79 |
span { |
80 |
font-size: emCalc(12px); |
81 |
display: block; |
82 |
font-weight: normal; |
83 |
} |
84 |
} |
85 |
} |
86 |
.content { |
87 |
&.hidden { |
88 |
display: none; |
89 |
} |
90 |
} |
91 |
.info-simple { |
92 |
padding: 0 0 0 $details-lt-width; |
93 |
.info-block { |
94 |
padding:$details-top-more-padding-lt; |
95 |
background: url('../images/dashed_atom-x.png') repeat-x bottom; |
96 |
dl { |
97 |
margin-bottom: 0; |
98 |
font-size: emCalc(14px); |
99 |
dt { |
100 |
display: inline-block; |
101 |
width: 42%; |
102 |
vertical-align: top; |
103 |
font-weight: normal; |
104 |
.snf-font { |
105 |
width: 40px; |
106 |
display: inline-block; |
107 |
font-size: emCalc(24px); |
108 |
position: relative; |
109 |
bottom: -2px; |
110 |
} |
111 |
} |
112 |
dd { |
113 |
display: inline-block; |
114 |
width: 45%; |
115 |
margin-bottom: 1em; |
116 |
} |
117 |
} |
118 |
&.tags { |
119 |
text-align:left; |
120 |
.tag-data { |
121 |
min-width: 30%; |
122 |
display: inline-block; |
123 |
padding: 4px 0; |
124 |
.delete { |
125 |
margin-left: 10px; |
126 |
visibility: hidden; |
127 |
} |
128 |
} |
129 |
.btns { |
130 |
margin-top: 77px; |
131 |
margin-bottom: 20px; |
132 |
a:first-child { |
133 |
margin-right: 15px; |
134 |
} |
135 |
} |
136 |
.buttons { |
137 |
margin-top: 25px; |
138 |
margin-bottom: 25px; |
139 |
} |
140 |
h3 { |
141 |
margin: 0; |
142 |
font-size: emCalc(14px); |
143 |
font-weight: normal; |
144 |
} |
145 |
} |
146 |
&.charts { |
147 |
.graph_container { |
148 |
margin-bottom: 20px; |
149 |
} |
150 |
} |
151 |
} |
152 |
} |
153 |
.content { |
154 |
h2 { |
155 |
font-size: emCalc(16px); |
156 |
line-height: 1; |
157 |
margin-bottom: 40px; |
158 |
} |
159 |
} |
160 |
.lt-bar { |
161 |
@include ltbar($details-lt-width); |
162 |
padding: 0; |
163 |
display: none; |
164 |
.items-list { |
165 |
.img-wrap { |
166 |
.snf-font { |
167 |
font-size: $snf-font-size-medium;; |
168 |
} |
169 |
} |
170 |
} |
171 |
} |
172 |
} |
173 |
|
174 |
.scroll-wrap { |
175 |
// overflow: auto; |
176 |
position: relative; |
177 |
} |
178 |
|
179 |
.toggle-lt-bar { |
180 |
position: absolute; |
181 |
left:0; |
182 |
top: 35px; |
183 |
background: $link-color; |
184 |
z-index: 4; |
185 |
color: #fff; |
186 |
display: block; |
187 |
height: 100px; |
188 |
line-height: 85px; |
189 |
padding: 0 5px; |
190 |
&:hover { |
191 |
background: $link-color-hover; |
192 |
color: #fff; |
193 |
} |
194 |
&.fix-position { |
195 |
position: fixed; |
196 |
top: $header-height + $bar-height + 35px; |
197 |
left: 50%; |
198 |
margin-left: - ($row-width/2 - emCalc(10px)); |
199 |
border: 1px solid white; |
200 |
|
201 |
} |
202 |
} |
203 |
|
204 |
.list-availables { |
205 |
&>span{ |
206 |
margin-bottom: 1em; |
207 |
display: inline-block; |
208 |
} |
209 |
ul { |
210 |
list-style-type: none; |
211 |
li { |
212 |
line-height: 2.5em; |
213 |
span { |
214 |
display: inline-block; |
215 |
&:not(:last-child), span:not(:first-child) { |
216 |
margin-right: 20px; |
217 |
} |
218 |
&:first-child { |
219 |
margin-right: 30px; |
220 |
} |
221 |
&.snf-font{ |
222 |
vertical-align: middle; |
223 |
&.snf-network-full, &.snf-volume-full { |
224 |
font-size: 24px; |
225 |
color: $secondary-color; |
226 |
} |
227 |
} |
228 |
&.name { |
229 |
width: 50%; |
230 |
} |
231 |
} |
232 |
} |
233 |
} |
234 |
} |
235 |
|
236 |
// experiment with select lists |
237 |
.select-list { |
238 |
border: 0 !important; /*Removes border*/ |
239 |
-webkit-appearance: none; /*Removes default chrome and safari style*/ |
240 |
-moz-appearance: none; /*Removes default style Firefox*/ |
241 |
background-color: transparent; |
242 |
|
243 |
} |