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