Browse Source

Merge "Clean up horizon.scss - _util.scss"

Jenkins 3 years ago
parent
commit
cd8c754917

+ 26
- 0
openstack_dashboard/static/dashboard/scss/_util.scss View File

@@ -6,6 +6,32 @@
6 6
   margin: 0 auto;
7 7
 }
8 8
 
9
+/* new clearfix */
10
+.clearfix:after {
11
+  visibility: hidden;
12
+  display: block;
13
+  font-size: 0;
14
+  content: " ";
15
+  clear: both;
16
+  height: 0;
17
+}
18
+
19
+.clear {
20
+  clear: both;
21
+  width: 0;
22
+  height: 0;
23
+  padding: 0;
24
+  margin: 0;
25
+}
26
+
27
+.header_rule {
28
+  margin-top: 0;
29
+}
30
+
31
+input::-ms-clear, input::-ms-reveal {
32
+  display: none;
33
+}
34
+
9 35
 // Used to x-scroll to Pre-formatted text.
10 36
 .pre_scrollable {
11 37
   display: table;

+ 0
- 33
openstack_dashboard/static/dashboard/scss/horizon.scss View File

@@ -45,23 +45,6 @@
45 45
 // Debt
46 46
 @import "debt";
47 47
 
48
-/* new clearfix */
49
-.clearfix:after {
50
-  visibility: hidden;
51
-  display: block;
52
-  font-size: 0;
53
-  content: " ";
54
-  clear: both;
55
-  height: 0;
56
-}
57
-* html .clearfix {
58
-  zoom: 1;
59
-} // IE6
60
-*:first-child+html .clearfix {
61
-  zoom: 1;
62
-} // IE7
63
-
64
-
65 48
 small {
66 49
   font-size: 11px;
67 50
 }
@@ -160,14 +143,6 @@ a.current_item:hover h4 {
160 143
   margin-bottom: 0;
161 144
 }
162 145
 
163
-.clear {
164
-  clear: both;
165
-  width: 0;
166
-  height: 0;
167
-  padding: 0;
168
-  margin: 0;
169
-}
170
-
171 146
 .modal-footer {
172 147
   input {
173 148
     width: auto;
@@ -249,10 +224,6 @@ div .flavor_table {
249 224
   width: 160px;
250 225
 }
251 226
 
252
-.header_rule {
253
-  margin: 0 0 8px;
254
-}
255
-
256 227
 .item_detail .detail_section {
257 228
   margin-bottom: 25px;
258 229
   float: left;
@@ -732,10 +703,6 @@ a.link-popover { cursor: default; }
732 703
 
733 704
 a:hover.link-popover { text-decoration: none; }
734 705
 
735
-input::-ms-clear, input::-ms-reveal {
736
-  display: none;
737
-}
738
-
739 706
 /**** Form Horizontal Override ****/
740 707
 .form-horizontal {
741 708
   .form-group {

Loading…
Cancel
Save