OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
| 3 * |
| 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. |
| 7 */ |
| 8 .drop-down { |
| 9 width: 65%; |
| 10 font-size: 10px; |
| 11 white-space: nowrap |
| 12 } |
| 13 |
| 14 .constraints { |
| 15 width: 75%; |
| 16 height: auto; |
| 17 position: absolute; |
| 18 overflow: scroll; |
| 19 display: none; |
| 20 } |
| 21 |
| 22 .float-left { |
| 23 float: left; |
| 24 width: 100%; |
| 25 } |
| 26 |
| 27 .float-clear-left { |
| 28 float: left; |
| 29 clear: left; |
| 30 width: 100%; |
| 31 } |
| 32 |
| 33 .top-border { |
| 34 border-top: 4px solid grey; |
| 35 } |
| 36 |
| 37 .bottom-border { |
| 38 border-bottom: 4px solid grey; |
| 39 } |
| 40 |
| 41 #messages { |
| 42 word-wrap: break-word; |
| 43 white-space: pre-wrap; |
| 44 font-size: 0.7em; |
| 45 } |
| 46 |
| 47 #audio-source { |
| 48 float: left; |
| 49 width: 50%; |
| 50 } |
| 51 |
| 52 #video-source { |
| 53 margin-left: 50%; |
| 54 width: 50%; |
| 55 } |
| 56 |
| 57 #video-res { |
| 58 width: 30%; |
| 59 } |
| 60 |
| 61 #signal-server { |
| 62 float: left; |
| 63 width: 60%; |
| 64 } |
| 65 |
| 66 #pc-server { |
| 67 width: 98%; |
| 68 margin-left: 0.1em; |
| 69 margin-top: 0.1em; |
| 70 } |
| 71 |
| 72 #peer-id-container { |
| 73 margin-left: 60%; |
| 74 height: 1.5em; |
| 75 } |
| 76 |
| 77 #peer-id { |
| 78 margin-top: 0.1em; |
| 79 width: 7em; |
| 80 } |
| 81 |
| 82 #pc-server-label { |
| 83 width: 15%; |
| 84 } |
| 85 |
| 86 #pc-server-container { |
| 87 position: absolute; |
| 88 margin: 0 0 0 12%; |
| 89 width: 40%; |
| 90 overflow: hidden; |
| 91 height: 1.5em; |
| 92 } |
| 93 |
| 94 #pc-constraints-left { |
| 95 margin: 0.7em 0 0 0; |
| 96 width: 60%; |
| 97 } |
| 98 |
| 99 #call { |
| 100 float: left; |
| 101 margin: 0.7em 0 0 0; |
| 102 } |
| 103 |
| 104 .float-left { |
| 105 float: left; |
| 106 width: 100%; |
| 107 } |
| 108 |
| 109 .float-clear-left { |
| 110 float: left; |
| 111 clear: left; |
| 112 width: 100%; |
| 113 } |
| 114 |
| 115 .small-input { |
| 116 width: 3em; |
| 117 } |
| 118 |
| 119 .medium-input { |
| 120 width: 6em; |
| 121 } |
| 122 |
| 123 #screencapture-info { |
| 124 margin: 1% auto; /* 15% from the top and centered */ |
| 125 width: 100%; /* Could be more or less, depending on screen size */ |
| 126 } |
| 127 |
| 128 a { |
| 129 color: lightBlue; |
| 130 font-weight: 300; |
| 131 text-decoration: none; |
| 132 } |
| 133 |
| 134 a:hover { |
| 135 color: blue; |
| 136 text-decoration: underline; |
| 137 } |
| 138 |
| 139 body { |
| 140 font-family: 'Roboto', sans-serif; |
| 141 margin: 0; |
| 142 padding: 1em; |
| 143 word-wrap: break-word; |
| 144 } |
| 145 |
| 146 button { |
| 147 background-color: grey; |
| 148 border: none; |
| 149 border-radius: 1px; |
| 150 color: white; |
| 151 font-family: 'Roboto', sans-serif; |
| 152 font-size: 0.8em; |
| 153 margin: 0 0 1em 0; |
| 154 padding: 0.2em; |
| 155 } |
| 156 |
| 157 button:hover { |
| 158 background-color: darkGrey; |
| 159 } |
| 160 |
| 161 button.green { |
| 162 background: darkGreen; |
| 163 color: white; |
| 164 } |
| 165 |
| 166 button.green:hover { |
| 167 background: forestGreen; |
| 168 color: white; |
| 169 } |
| 170 |
| 171 button.red { |
| 172 background: darkRed; |
| 173 color: white; |
| 174 } |
| 175 |
| 176 button.red:hover { |
| 177 background: fireBrick; |
| 178 } |
| 179 |
| 180 button.pressed { |
| 181 background-color: black; |
| 182 } |
| 183 |
| 184 div#container { |
| 185 margin: 0 auto 0 auto; |
| 186 max-width: 40em; |
| 187 padding: 0 1.5em 1.3em 1.5em; |
| 188 z-index: 2; |
| 189 position: relative; |
| 190 } |
| 191 |
| 192 h2 { |
| 193 color: black; |
| 194 font-size: 1em; |
| 195 font-weight: 700; |
| 196 line-height: 1.2em; |
| 197 margin: 0 0 0.8em 0; |
| 198 } |
| 199 |
| 200 div { |
| 201 background: white; |
| 202 } |
| 203 |
| 204 html { |
| 205 /* avoid annoying page width change |
| 206 when moving from the home page.*/ |
| 207 overflow-y: scroll; |
| 208 } |
| 209 |
| 210 select { |
| 211 margin: 0 1em 1em 0; |
| 212 position: relative; |
| 213 top: -1px; |
| 214 } |
| 215 |
| 216 video { |
| 217 background: black; |
| 218 width: 100%; |
| 219 } |
| 220 |
| 221 #log { |
| 222 float: left; |
| 223 position: fixed; |
| 224 overflow: auto; |
| 225 top: 0; |
| 226 left: 0; |
| 227 width: 20%; |
| 228 padding: 16px; |
| 229 word-wrap: break-word; |
| 230 z-index: 1; |
| 231 } |
| 232 |
| 233 @media screen and (max-width: 1200px) { |
| 234 div#log { |
| 235 float: none; |
| 236 width: 100%; |
| 237 position: inherit; |
| 238 padding: 0; |
| 239 } |
| 240 button { |
| 241 padding: 0.7em; |
| 242 } |
| 243 button:active { |
| 244 background: black; |
| 245 } |
| 246 #pc-server-label { |
| 247 margin-top: 5px; |
| 248 } |
| 249 #pc-server-container { |
| 250 margin-top: 5px; |
| 251 } |
| 252 } |
OLD | NEW |