Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 4 | |
michael@0 | 5 | /************** LAYOUT **************/ |
michael@0 | 6 | |
michael@0 | 7 | #connection-footer { |
michael@0 | 8 | display: flex; |
michael@0 | 9 | flex-direction: column; |
michael@0 | 10 | height: 50px; |
michael@0 | 11 | } |
michael@0 | 12 | |
michael@0 | 13 | #banners-and-logs { |
michael@0 | 14 | display: flex; |
michael@0 | 15 | flex-grow: 1; |
michael@0 | 16 | } |
michael@0 | 17 | |
michael@0 | 18 | #logs { |
michael@0 | 19 | display: flex; |
michael@0 | 20 | width: 40%; |
michael@0 | 21 | padding: 0; |
michael@0 | 22 | width: 100%; |
michael@0 | 23 | } |
michael@0 | 24 | |
michael@0 | 25 | .banner { |
michael@0 | 26 | display: none; |
michael@0 | 27 | width: 60%; |
michael@0 | 28 | } |
michael@0 | 29 | |
michael@0 | 30 | #connection-footer[status="connected"] #banner-connected, |
michael@0 | 31 | #connection-footer[status="connecting"] #banner-connecting, |
michael@0 | 32 | #connection-footer[status="disconnected"] #banner-disconnected, |
michael@0 | 33 | #connection-footer[status="disconnecting"] #banner-disconnecting { |
michael@0 | 34 | display: flex; |
michael@0 | 35 | } |
michael@0 | 36 | |
michael@0 | 37 | body.show-simulators .banner, |
michael@0 | 38 | body.edit-connection .banner { |
michael@0 | 39 | display: none !important; |
michael@0 | 40 | } |
michael@0 | 41 | |
michael@0 | 42 | body.show-simulators #banner-simulators, |
michael@0 | 43 | body.edit-connection #banner-editing { |
michael@0 | 44 | display: flex !important; |
michael@0 | 45 | } |
michael@0 | 46 | |
michael@0 | 47 | #banner-logs { |
michael@0 | 48 | width: 40%; |
michael@0 | 49 | display: flex; |
michael@0 | 50 | } |
michael@0 | 51 | |
michael@0 | 52 | #logs > pre { |
michael@0 | 53 | overflow: auto; |
michael@0 | 54 | white-space: pre-line; |
michael@0 | 55 | } |
michael@0 | 56 | |
michael@0 | 57 | #status.banner-box { |
michael@0 | 58 | width: 100% !important; |
michael@0 | 59 | } |
michael@0 | 60 | |
michael@0 | 61 | .banner-box { |
michael@0 | 62 | display: flex; |
michael@0 | 63 | flex-direction: column; |
michael@0 | 64 | justify-content: center; |
michael@0 | 65 | width: 100%; |
michael@0 | 66 | } |
michael@0 | 67 | |
michael@0 | 68 | #banner-connected > .banner-box { |
michael@0 | 69 | align-items: flex-start; |
michael@0 | 70 | } |
michael@0 | 71 | |
michael@0 | 72 | #start-simulator-box { |
michael@0 | 73 | display: inline; |
michael@0 | 74 | } |
michael@0 | 75 | |
michael@0 | 76 | /************** PIXELS **************/ |
michael@0 | 77 | |
michael@0 | 78 | * { |
michael@0 | 79 | margin: 0; |
michael@0 | 80 | padding: 0; |
michael@0 | 81 | box-sizing: border-box; |
michael@0 | 82 | font-size: 0.9rem; |
michael@0 | 83 | } |
michael@0 | 84 | |
michael@0 | 85 | body { |
michael@0 | 86 | color: #333; |
michael@0 | 87 | background-color: white; |
michael@0 | 88 | font-family: Lucida Grande, Helvetica, Helvetica Neue, sans-serif; |
michael@0 | 89 | } |
michael@0 | 90 | |
michael@0 | 91 | button { |
michael@0 | 92 | background: linear-gradient(to bottom, #49535C, #394148); |
michael@0 | 93 | box-shadow: 0px 1px 1px #3C444D, inset 0 1px 0px rgba(255,255,255,0.1); |
michael@0 | 94 | color: #9FA6AD; |
michael@0 | 95 | text-shadow: 0px 1px 1px rgba(0,0,0,0.6); |
michael@0 | 96 | border: 1px solid #111; |
michael@0 | 97 | cursor: pointer; |
michael@0 | 98 | border-radius: 3px; |
michael@0 | 99 | padding: 3px 10px; |
michael@0 | 100 | } |
michael@0 | 101 | |
michael@0 | 102 | button.left { |
michael@0 | 103 | margin-right: 0px; |
michael@0 | 104 | border-top-right-radius: 0; |
michael@0 | 105 | border-bottom-right-radius: 0; |
michael@0 | 106 | } |
michael@0 | 107 | |
michael@0 | 108 | button.right { |
michael@0 | 109 | margin-left: -6px; |
michael@0 | 110 | border-top-left-radius: 0; |
michael@0 | 111 | border-bottom-left-radius: 0; |
michael@0 | 112 | } |
michael@0 | 113 | |
michael@0 | 114 | button.action-primary { |
michael@0 | 115 | background: linear-gradient(to bottom, #276DA3, #1E5580); |
michael@0 | 116 | color: #EEE; |
michael@0 | 117 | } |
michael@0 | 118 | |
michael@0 | 119 | button.action-cancel { |
michael@0 | 120 | background: linear-gradient(to bottom, #B32B02, #942300); |
michael@0 | 121 | color: #EEE; |
michael@0 | 122 | } |
michael@0 | 123 | |
michael@0 | 124 | #banners-and-logs { |
michael@0 | 125 | border-top: #111 solid; |
michael@0 | 126 | border-width: 1px 0; |
michael@0 | 127 | background: linear-gradient(to bottom, #323A42, #29313A); |
michael@0 | 128 | color: #A8BABF; |
michael@0 | 129 | box-shadow: inset 0 0 1px #424A51; |
michael@0 | 130 | } |
michael@0 | 131 | |
michael@0 | 132 | #status { |
michael@0 | 133 | background: linear-gradient(to bottom, #454F59, #404952); |
michael@0 | 134 | box-shadow: inset 0 0 1px #606D78, inset 0 1px 0 #5E6973; |
michael@0 | 135 | } |
michael@0 | 136 | |
michael@0 | 137 | #logs > pre { |
michael@0 | 138 | border: 1px solid #111; |
michael@0 | 139 | box-shadow: 0px 1px 1px #49525A, inset 0 0 5px rgba(0,0,0,0.3); |
michael@0 | 140 | font-size: 10px; |
michael@0 | 141 | background: #22272D; |
michael@0 | 142 | padding: 5px; |
michael@0 | 143 | height: 100%; |
michael@0 | 144 | padding-left: 20px; |
michael@0 | 145 | position: relative; |
michael@0 | 146 | } |
michael@0 | 147 | |
michael@0 | 148 | #logs > pre span{ |
michael@0 | 149 | text-shadow: 0 1px 2px #000; |
michael@0 | 150 | color: #3195FB; |
michael@0 | 151 | position: fixed; |
michael@0 | 152 | right: calc(30% - 15px); |
michael@0 | 153 | bottom: -1px; |
michael@0 | 154 | } |
michael@0 | 155 | |
michael@0 | 156 | #logs > pre b { |
michael@0 | 157 | font-size: 10px; |
michael@0 | 158 | color: #70C4FF; |
michael@0 | 159 | } |
michael@0 | 160 | |
michael@0 | 161 | .banner-box { |
michael@0 | 162 | box-shadow: inset 0 0 1px #667480, inset 0 1px 0 #5E6973; |
michael@0 | 163 | border-right: 1px solid #111; |
michael@0 | 164 | background-position: center right; |
michael@0 | 165 | background-size: 1px 100%; |
michael@0 | 166 | background-repeat: no-repeat; |
michael@0 | 167 | padding: 10px 20px; |
michael@0 | 168 | position: relative; |
michael@0 | 169 | } |
michael@0 | 170 | |
michael@0 | 171 | .connected-status { |
michael@0 | 172 | color: #B3BFC9; |
michael@0 | 173 | text-shadow: 0px 1px 2px rgba(0,0,0,0.9); |
michael@0 | 174 | padding-bottom: 10px; |
michael@0 | 175 | } |
michael@0 | 176 | |
michael@0 | 177 | .connected-status { |
michael@0 | 178 | font-size: 150%; |
michael@0 | 179 | top: 10%; |
michael@0 | 180 | padding-right: 3px; |
michael@0 | 181 | position: relative; |
michael@0 | 182 | } |
michael@0 | 183 | |
michael@0 | 184 | .connected-indicator { |
michael@0 | 185 | box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), inset 0 0px 1px rgba(255,255,255,0.3); |
michael@0 | 186 | height: 100%; |
michael@0 | 187 | flex: 0 0 10px; |
michael@0 | 188 | } |
michael@0 | 189 | |
michael@0 | 190 | #banner-connected .connected-indicator, |
michael@0 | 191 | #banner-connecting .connected-indicator { |
michael@0 | 192 | background: linear-gradient(to bottom, #69B8FF, #339FFF ); |
michael@0 | 193 | } |
michael@0 | 194 | |
michael@0 | 195 | #banner-simulators .connected-indicator, |
michael@0 | 196 | #banner-disconnected .connected-indicator, |
michael@0 | 197 | #banner-editing .connected-indicator, |
michael@0 | 198 | #banner-disconnecting .connected-indicator { |
michael@0 | 199 | background: linear-gradient(to bottom, #375A87, #1C4375 ); |
michael@0 | 200 | } |
michael@0 | 201 | |
michael@0 | 202 | #banner-simulators .banner-content > * { |
michael@0 | 203 | display: inline-block; |
michael@0 | 204 | } |
michael@0 | 205 | |
michael@0 | 206 | #banner-simulators[simulator-count="0"] .found-simulator, |
michael@0 | 207 | #banner-simulators:not([simulator-count="0"]) .no-simulator { |
michael@0 | 208 | display: none; |
michael@0 | 209 | } |
michael@0 | 210 | |
michael@0 | 211 | #connection-no-device, |
michael@0 | 212 | [device-count="0"] > #connection-found-device, |
michael@0 | 213 | #connection-manual, |
michael@0 | 214 | #connection-assisted { |
michael@0 | 215 | display: none; |
michael@0 | 216 | } |
michael@0 | 217 | |
michael@0 | 218 | #connection-found-device, |
michael@0 | 219 | [device-count="0"] > #connection-no-device, |
michael@0 | 220 | [adb-available="true"] > #connection-assisted, |
michael@0 | 221 | [adb-available="false"] > #connection-manual { |
michael@0 | 222 | display: inline; |
michael@0 | 223 | } |