images
11 years ago
admin.css
11 years ago
admin.less
11 years ago
inspector.css
11 years ago
inspector.less
11 years ago
mixins.css
11 years ago
mixins.less
11 years ago
inspector.css
215 lines
| 1 | #socss-inspector-interface { |
| 2 | display: none; |
| 3 | position: fixed; |
| 4 | bottom: 0; |
| 5 | left: 0; |
| 6 | right: 0; |
| 7 | height: 220px; |
| 8 | background: #ffffff; |
| 9 | box-shadow: 0 -2px 2px rgba(0, 0, 0, 0.05); |
| 10 | z-index: 100000; |
| 11 | font-family: "Arial", sans-serif; |
| 12 | font-size: 14px; |
| 13 | border-top: 1px solid #a3a3a3; |
| 14 | } |
| 15 | #socss-inspector-interface .socss-link { |
| 16 | box-sizing: border-box; |
| 17 | background: #f3f3f3; |
| 18 | box-shadow: 0 -2px 2px rgba(0, 0, 0, 0.05); |
| 19 | border-top: 1px solid #a3a3a3; |
| 20 | position: absolute; |
| 21 | top: -29px; |
| 22 | height: 28px; |
| 23 | padding: 6px 15px; |
| 24 | width: 100%; |
| 25 | font-size: 13px; |
| 26 | text-align: right; |
| 27 | line-height: 1em; |
| 28 | display: none; |
| 29 | } |
| 30 | #socss-inspector-interface .socss-toolbar { |
| 31 | box-sizing: border-box; |
| 32 | background: #e6e6e6; |
| 33 | padding: 0 4px; |
| 34 | user-select: none; |
| 35 | position: absolute; |
| 36 | top: 0; |
| 37 | left: 0; |
| 38 | right: 0; |
| 39 | height: 30px; |
| 40 | overflow: hidden; |
| 41 | } |
| 42 | #socss-inspector-interface .socss-toolbar .socss-enable-inspector { |
| 43 | font-size: 20px; |
| 44 | display: inline-block; |
| 45 | padding: 5px; |
| 46 | color: #777; |
| 47 | border-left: 1px solid transparent; |
| 48 | border-right: 1px solid transparent; |
| 49 | position: absolute; |
| 50 | top: 0; |
| 51 | left: 5px; |
| 52 | bottom: 0; |
| 53 | height: 30px; |
| 54 | width: 30px; |
| 55 | box-sizing: border-box; |
| 56 | } |
| 57 | #socss-inspector-interface .socss-toolbar .socss-enable-inspector:hover { |
| 58 | cursor: pointer; |
| 59 | background-color: #f3f3f3; |
| 60 | color: #596872; |
| 61 | } |
| 62 | #socss-inspector-interface .socss-toolbar .socss-hierarchy { |
| 63 | position: absolute; |
| 64 | top: 0; |
| 65 | right: 20px; |
| 66 | left: 40px; |
| 67 | bottom: 0; |
| 68 | display: block; |
| 69 | padding-left: 10px; |
| 70 | overflow: hidden; |
| 71 | white-space: nowrap; |
| 72 | background: #e6e6e6; |
| 73 | } |
| 74 | #socss-inspector-interface .socss-toolbar .socss-hierarchy .socss-selector { |
| 75 | font-size: 12px; |
| 76 | line-height: 1em; |
| 77 | padding: 9px 20px 9px 9px; |
| 78 | display: inline-block; |
| 79 | background: url(images/separator.png) top right no-repeat; |
| 80 | background-size: contain; |
| 81 | cursor: pointer; |
| 82 | } |
| 83 | #socss-inspector-interface .socss-toolbar .socss-hierarchy .socss-selector:last-child { |
| 84 | background: none; |
| 85 | padding-right: 9px; |
| 86 | } |
| 87 | #socss-inspector-interface .socss-selectors-window, |
| 88 | #socss-inspector-interface .socss-properties-window { |
| 89 | overflow-y: scroll; |
| 90 | font-family: "Courier New", "Lucida Console", Courier, monospace; |
| 91 | font-size: 13px; |
| 92 | border-top: 1px solid #a3a3a3; |
| 93 | } |
| 94 | #socss-inspector-interface .socss-selectors-window > div, |
| 95 | #socss-inspector-interface .socss-properties-window > div { |
| 96 | line-height: 1.2em; |
| 97 | padding: 4px 10px; |
| 98 | white-space: nowrap; |
| 99 | } |
| 100 | #socss-inspector-interface .socss-selectors-window > div:hover, |
| 101 | #socss-inspector-interface .socss-properties-window > div:hover { |
| 102 | background: #f6f6f6; |
| 103 | cursor: pointer; |
| 104 | } |
| 105 | #socss-inspector-interface .socss-selectors-window strong, |
| 106 | #socss-inspector-interface .socss-properties-window strong { |
| 107 | font-weight: bold; |
| 108 | } |
| 109 | #socss-inspector-interface .socss-selectors-window { |
| 110 | position: absolute; |
| 111 | top: 29px; |
| 112 | left: 0; |
| 113 | right: 50%; |
| 114 | bottom: 0; |
| 115 | background: #fff; |
| 116 | border-right: 1px solid #aaa; |
| 117 | } |
| 118 | #socss-inspector-interface .socss-properties-window { |
| 119 | position: absolute; |
| 120 | top: 29px; |
| 121 | right: 0; |
| 122 | left: 50%; |
| 123 | bottom: 0; |
| 124 | background: #fff; |
| 125 | } |
| 126 | body.socss-active { |
| 127 | padding-bottom: 200px !important; |
| 128 | } |
| 129 | body.socss-active #socss-inspector-interface { |
| 130 | display: block; |
| 131 | height: 200px; |
| 132 | } |
| 133 | body.socss-active #socss-inspector-interface .socss-toolbar .socss-enable-inspector { |
| 134 | border-left: 1px solid #aaa; |
| 135 | border-right: 1px solid #aaa; |
| 136 | background-color: #f3f3f3; |
| 137 | color: #005a67; |
| 138 | } |
| 139 | body.socss-inactive { |
| 140 | padding-bottom: 29px !important; |
| 141 | } |
| 142 | body.socss-inactive #socss-inspector-interface { |
| 143 | display: block; |
| 144 | height: 29px; |
| 145 | } |
| 146 | body.socss-inactive #socss-inspector-interface .socss-selectors-window, |
| 147 | body.socss-inactive #socss-inspector-interface .socss-attributes-window { |
| 148 | display: none; |
| 149 | } |
| 150 | .socss-inspector-hover { |
| 151 | pointer-events: none; |
| 152 | position: absolute; |
| 153 | /* Same index as the admin bar */ |
| 154 | z-index: 99999; |
| 155 | border: 1px dashed #0075cb; |
| 156 | background: rgba(0, 117, 203, 0.15); |
| 157 | box-sizing: border-box; |
| 158 | } |
| 159 | .socss-inspector-hover .socss-guide { |
| 160 | display: none; |
| 161 | } |
| 162 | .socss-inspector-hover .socss-guide-margin, |
| 163 | .socss-inspector-hover .socss-guide-padding { |
| 164 | position: absolute; |
| 165 | } |
| 166 | .socss-inspector-hover .socss-guide-margin.socss-guide-top, |
| 167 | .socss-inspector-hover .socss-guide-padding.socss-guide-top, |
| 168 | .socss-inspector-hover .socss-guide-margin.socss-guide-bottom, |
| 169 | .socss-inspector-hover .socss-guide-padding.socss-guide-bottom { |
| 170 | right: 0; |
| 171 | left: 0; |
| 172 | } |
| 173 | .socss-inspector-hover .socss-guide-margin.socss-guide-left, |
| 174 | .socss-inspector-hover .socss-guide-padding.socss-guide-left, |
| 175 | .socss-inspector-hover .socss-guide-margin.socss-guide-right, |
| 176 | .socss-inspector-hover .socss-guide-padding.socss-guide-right { |
| 177 | top: 0; |
| 178 | bottom: 0; |
| 179 | } |
| 180 | .socss-inspector-hover .socss-guide-margin { |
| 181 | background: rgba(20, 126, 74, 0.25); |
| 182 | } |
| 183 | .socss-inspector-hover .socss-guide-margin.socss-guide-top { |
| 184 | bottom: 100%; |
| 185 | } |
| 186 | .socss-inspector-hover .socss-guide-margin.socss-guide-bottom { |
| 187 | top: 100%; |
| 188 | } |
| 189 | .socss-inspector-hover .socss-guide-margin.socss-guide-left { |
| 190 | right: 100%; |
| 191 | } |
| 192 | .socss-inspector-hover .socss-guide-margin.socss-guide-right { |
| 193 | left: 100%; |
| 194 | } |
| 195 | .socss-inspector-hover .socss-guide-padding { |
| 196 | background: rgba(0, 117, 203, 0.25); |
| 197 | } |
| 198 | .socss-inspector-hover .socss-guide-padding.socss-guide-top { |
| 199 | top: 0; |
| 200 | } |
| 201 | .socss-inspector-hover .socss-guide-padding.socss-guide-bottom { |
| 202 | bottom: 0; |
| 203 | } |
| 204 | .socss-inspector-hover .socss-guide-padding.socss-guide-left { |
| 205 | left: 0; |
| 206 | } |
| 207 | .socss-inspector-hover .socss-guide-padding.socss-guide-right { |
| 208 | right: 0; |
| 209 | } |
| 210 | body, |
| 211 | html { |
| 212 | max-width: 100% !important; |
| 213 | overflow-x: hidden !important; |
| 214 | } |
| 215 |