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