diff options
author | jamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-16 21:22:47 +0000 |
---|---|---|
committer | jamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-16 21:22:47 +0000 |
commit | 886260715c2a415bd3b7d3217b69762497cccec3 (patch) | |
tree | 6e9244154ae42f408f98236eec9ec6c6a27fa47f /remoting/webapp/main.css | |
parent | 0c11955c34b929f50ad6f35a36ef0a9d6b163151 (diff) | |
download | chromium_src-886260715c2a415bd3b7d3217b69762497cccec3.zip chromium_src-886260715c2a415bd3b7d3217b69762497cccec3.tar.gz chromium_src-886260715c2a415bd3b7d3217b69762497cccec3.tar.bz2 |
Renamed choice.{css,html} to main.{css,html}
Also, fixed mode change bug if daemon is supported.
BUG=None
TEST=I no longer get that "What was I thinking?" feeling when looking at the filename of our landing page.
Review URL: https://chromiumcodereview.appspot.com/9420016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122356 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/webapp/main.css')
-rw-r--r-- | remoting/webapp/main.css | 406 |
1 files changed, 405 insertions, 1 deletions
diff --git a/remoting/webapp/main.css b/remoting/webapp/main.css index c05ad44..80350a4 100644 --- a/remoting/webapp/main.css +++ b/remoting/webapp/main.css @@ -1,8 +1,412 @@ -/* Copyright (c) 2011 The Chromium Authors. All rights reserved. +/* Copyright (c) 2012 The Chromium Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ +a { + color: rgb(0, 102, 204); + text-decoration: none; +} + +body { + background: -webkit-gradient(radial, center center, 0, center center, 400, + from(rgb(254, 254, 254)), + to(rgb(239, 239, 239))); + font-family: 'Open sans', Arial, sans-serif; + margin:0; + padding:0; + direction: __MSG_@@bidi_dir__; +} + +button, input { + font-family: inherit; + font-size: inherit; +} + +button { + background: -webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5); + border: 1px solid #aaa; + min-width: 72px; + -webkit-border-radius: 2px; + -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1); + -webkit-user-select: none; +} + +button:hover { + background: #ebebeb -webkit-linear-gradient(#fefefe, #f8f8f8 40%, #e9e9e9); + border-color: #999; + color: #222; + -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2); +} + +button:active, .toggle-button-active, .toggle-button-active:hover { + background: #ebebeb -webkit-linear-gradient(#f4f4f4, #efefef 40%, #dcdcdc); + color: #333; + -webkit-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.2); +} + +button[disabled], .button[disabled]:hover { + background: -webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5); + border-color: #aaa; + color: #888; + -webkit-box-shadow: none; +} + form { display: inline; } + +h1 { + font-size: 24px; + font-weight: normal; +} + +html { + /* + Used to force background gradient to center correctly. + http://crbug.com/109705 + */ + height: 100%; +} + +label { + color: black; + font-weight: bold; +} + +/* Classes */ + +.access-code-digit-group { + /* + Used for each of the four-digit components of the access code as + displayed by the host. + */ + padding: 0px 6px; +} + +.big-button { + height: 2em; + font-size: 16px; + padding: 6px; +} + +.centered-button { + /* + Used to force buttons to center correctly on Chrome due to a quirk + with laying out buttons. http://crbug.com/84654 + + TODO(ajwong): Either fix Chrome layout behavior, or if Chrome is actually + conforming correctly to the standard, remove this comment. + */ + text-align: center; +} + +.collapsed { + opacity: 0; + height: 0 !important; +} + +.choice-header { + font-size: 24px; + font-weight: normal; + margin-__MSG_@@bidi_start_edge__: 10px; +} + +.choice-footer { + font-size: 14px; +} + +.choice-panel { + margin-top: 17px; + padding-bottom: 20px; +} + +.clickable { + cursor: pointer; +} + +.description { + margin-bottom: 25px; +} + +.error-state { + background-image: url('icon_warning.png'); + background-repeat: no-repeat; + background-position: top __MSG_@@bidi_start_edge__; + padding-__MSG_@@bidi_start_edge__: 30px; + padding-top: 3px; + margin-bottom: 10px; + color: #900; + display: inline-block; +} + +.expiring { + color: #900 !important; +} + +[hidden] { + display: none !important; +} + + +.icon-label { + display: inline-block; + vertical-align: top; + margin-__MSG_@@bidi_start_edge__: 10px; +} + +.information-box { + background-color: #f9edbe; + border: 1px solid #f0c36d; + -webkit-border-radius: 2px; + -webkit-box-shadow: 0px 2px 4px rgba(0,0,0,0.2); + color: #222; + padding: 8px 16px; + text-align: center; + font-size: 12px; +} + +.information-box-centerer { + width: 100%; + bottom: 8px; + position: absolute; + display: -webkit-box; +} + +.information-box-padding { + -webkit-box-flex: 1; +} + +.message { + text-align:center; + margin-bottom: 10px; +} + +.mode-select-button { + width: 100%; + height: 32px; + white-space: nowrap; +} + +.mode-select-label { + padding-__MSG_@@bidi_end_edge__: 20px; +} + +.mode-select-table { + margin-__MSG_@@bidi_start_edge__: 40px; + width: 600px; /* width + margin = body width */ + border-collapse: collapse; + margin-top: 40px; +} + +.mode-select-table-spacer { + height: 20px; +} + +.mode-select-table-underline td { + border-bottom: 1px solid #c6c6c6; +} + +.hide-scrollbars { + overflow-y: hidden; +} + +.host-list-container { + -webkit-transition: all 0.5s; + overflow: hidden; +} + +.host-list-table { + margin-__MSG_@@bidi_start_edge__: 30px; + width: 610px; /* width + margin = body width */ + border-spacing: 0; +} + +.host-list-row { + height: 50px; + color: black; +} + +.host-list-row td { + border-bottom: 1px solid transparent; + border-top: 1px solid transparent; +} + +.host-list-row:hover { + background-color: #e7eef2; +} + +.host-list-rename-icon, .host-list-remove-icon { + opacity: 0; +} + +.host-list-row:hover .host-list-rename-icon { + opacity: 0.8; +} + +.host-list-row:hover .host-list-remove-icon { + opacity: 0.3; +} + +.host-list-edit:hover .host-list-rename-icon { + opacity: 1; +} + +.host-list-edit:hover .host-list-remove-icon { + opacity: 0.5; +} + +.host-list-row:hover td { + border-bottom: 1px solid #c6c6c6; + border-top: 1px solid #c6c6c6; +} + +.host-list-row-end { + padding-__MSG_@@bidi_end_edge__: 10px; +} + +.host-list-row-start { + padding-__MSG_@@bidi_start_edge__: 10px; +} + +.host-offline { + color: #a9a9a9; +} + +.host-offline .host-list-main-icon { + opacity: 0.5; +} + +.small-print { + font-size: 13px; + color: #AAA; +} + +.top-primary { + font-size: 14px; + position: absolute; + top: 0.5em; + __MSG_@@bidi_start_edge__: 0.5em; +} + +.top-secondary { + font-size: 14px; + position: absolute; + top: 0.5em; + __MSG_@@bidi_end_edge__: 0.5em; +} + +.waiting { + color: rgb(180, 180, 180); +} + +/* Ids */ +#access-code-countdown-container { + height: 50px; + text-align: center; +} + +#access-code-display { + margin-top: 50px; + color: rgb(0, 0, 0); + font-weight: bold; + font-size: 26px; + text-align: center; +} + +#access-code-entry { + font-weight: bold; + font-size: 18px; + height: 25px; + margin: 0 10px; + padding-__MSG_@@bidi_start_edge__: 5px; + width: 12em; +} + +#access-code-entry-row { + text-align: center; +} + +#ask-pin-dialog { + position: absolute; + top: 50%; + left: 50%; + width: 380px; + height: 180px; + margin-left: -200px; + border: 1px solid black; + background-color: #fff; + padding: 0 20px; +} + +#cancel-button { + float: __MSG_@@bidi_end_edge__; +} + +#client-footer-text, #host-footer-text { + text-align: center; +} + +#current-email { + color: rgba(0, 0, 0, 0.5); +} + +#daemon-control { + margin-top: 50px; +} + +#dialog-screen { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-color: #fff; + opacity: 0.75; +} + +#divider-top { + margin: 10px 0 15px 0; +} + +#divider-bottom { + margin: 25px 0 10px 0; +} + +#email-status { + margin-__MSG_@@bidi_end_edge__: 0.5ex; +} + +#icon { + height: 64px; + width: 64px; +} + +#main { + color: rgb(115, 115, 115); + font-size: 16px; + margin: 100px auto 0 auto; + padding: 10px; + width: 640px; +} + +#host-list-error { + margin-__MSG_@@bidi_start_edge__: 40px; +} + +#session-mode { + position: absolute; + -webkit-box-shadow: 0 0 8px 0 black; + -webkit-user-select: none; +} + +#session-client-plugin { + display: block; +} + +#toggle-scaling { + margin: 1px 0 0 0; + padding: 1px; + min-width: 0; + line-height: 0; +} |