client-share-web/dev/share/share.css

1039 строки
18 KiB
CSS

/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Raindrop.
*
* The Initial Developer of the Original Code is
* Mozilla Messaging, Inc..
* Portions created by the Initial Developer are Copyright (C) 2009
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* */
* {
margin: 0;
padding: 0;
outline: none;
border: none;
border-collapse: collapse;
position: relative;
font-family: inherit;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
vertical-align: top;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
list-style-type: none;
}
noscript {
display: block;
text-align: center;
padding: 20px;
font-size: larger;
}
body {
font-size: 11px;
font-family: "Lucida Grande", Verdana, sans-serif;
max-height: 113px;
overflow: hidden;
background-color: #fff;
background-position: bottom center;
background-repeat: no-repeat;
background-color: #fff;
}
body.loading {
background-color: #ddd;
-moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
background-image: -moz-linear-gradient(center top , #EEEEEE 0%, #DDDDDD 100%);
}
body.status {
height: 37px;
max-height: 37px;
}
/* Turn off some things if not in dev */
html.staging body li.debugTab,
html.prod body li.debugTab {
display: none;
}
a {
text-decoration: none;
outline: none;
color: #00A0FF;
}
.hidden,
ul.nav li.hidden {
display: none;
}
.invisible,
body #tabs.invisible {
visibility: hidden;
}
#tabs {
min-height: 113px;
padding: 0 10px;
overflow: hidden;
border-bottom: 1px solid #777;
background-color: #ddd;
background-image: -moz-linear-gradient(center top , #EEEEEE 0%, #DDDDDD 100%);
}
button::-moz-focus-inner {
border: 0;
}
button {
padding: 2px 15px;
background-image: -moz-linear-gradient(center top , #FAFAFA 0%, #DDDDDD 100%);
border-width: 1px;
border-style: solid;
border-color: #888;
-moz-border-radius: 2px;
margin-left: 5px;
cursor: pointer;
-moz-box-shadow: 0 1px 0 #fff;
}
button:active {
background-image: -moz-linear-gradient(center top , #EEEEEE 0%, #CCCCCC 100%);
-moz-box-shadow:0 0 1px #666666 inset, 0 1px 0 #FFFFFF;
}
/* === TABS === */
ul.nav {
display: block;
width: 100%;
/* min-height for when all tabs are hidden on first config. */
min-height: 32px;
}
ul.nav li {
width: auto;
display: inline-block;
float: left;
list-style-type: none;
margin: 3px 0;
font-size: 11px;
line-height: 24px;
background-image: -moz-linear-gradient(center top , #fafafa 0%, #ddd 100%);
border-width: 1px;
border-style: solid;
border-color: #888;
-moz-box-shadow: 0 1px 0 #fff;
position: relative;
}
ul.nav li.ui-state-focus {
-moz-box-shadow: 0 0 0 3px rgba(0, 162, 255, 0.25);
z-index: 1000;
position: relative;
}
ul.nav li:nth-child(n+2) {
border-left: none;
-moz-border-radius: 0;
}
ul.nav li.first {
-moz-border-radius-topleft: 2px;
-moz-border-radius-bottomleft: 2px;
border-left: 1px solid #888888;
}
ul.nav li.last {
-moz-border-radius-topright: 2px;
-moz-border-radius-bottomright: 2px;
}
ul.nav li.first.last {
border-left: 1px solid #888;
}
ul.nav li a.icon {
font-weight: bold;
color: #333;
text-shadow: 1px 1px 0 rgba(255,255,255,0.25);
height: 24px;
background-repeat: no-repeat;
background-position: left center;
display: block;
background-image: url("i/sprite.png");
background-repeat: no-repeat;
padding: 0 17px 0 17px;
text-indent: -1000px;
position: relative;
}
ul.nav li a.icon:hover:before {
content: "\25B2";
position: absolute;
left: 12px;
top: 14px;
color: rgba(0,0,0,0.75);
display: block;
text-indent: 0;
text-shadow: none;
z-index: 100000;
}
ul.nav li a.icon:hover:after {
content: attr(name);
position: absolute;
left: 0;
top: 30px;
color: #fafafa;
padding: 0 10px;
display: block;
text-indent: 0;
background-color: rgba(0,0,0,0.75);
text-shadow: none;
text-align: center;
white-space: nowrap;
overflow: visible;
z-index: 100000;
}
ul.nav li a.icon.settings {
background-position: center 4px;
}
ul.nav li a.icon.twitter {
background-position: center -31px;
}
ul.nav li a.icon.facebook {
background-position: center -65px;
}
ul.nav li a.icon.gmail {
background-position: center -98px;
}
ul.nav li a.icon.yahoo {
background-position: center -128px;
}
ul.nav li a.icon.googleapps {
background-position: center -161px;
}
ul.nav li a.icon.linkedin {
background-image: url("i/LinkedIn_Logo16px.png");
background-position: center;
}
ul.nav li a.icon.debug {
background-image: url("i/bug_b.png");
background-position: center;
}
ul.nav .rightActions {
position: absolute;
top: 8px;
right: 0;
height: 16px;
line-height: 16px;
}
ul.nav .rightActions a {
padding: 0 5px;
border-right: 1px dotted #888;
}
ul.nav .rightActions a:hover {
text-decoration: underline;
}
ul.nav .rightActions a.new {
color: #ff5959;
font-weight: bold;
}
ul.nav .rightActions span.close {
width: 16px;
height: 16px;
display: inline-block;
margin-left: 3px;
cursor: pointer;
background-image: url("i/sprite.png");
background-position: left -237px;
background-repeat: no-repeat;
}
ul.nav .rightActions span.close:hover {
background-image: url("i/sprite.png");
background-position: left -201px;
background-repeat: no-repeat;
}
/* === TAB TOOLTIP === */
#tabToolTip {
position: absolute;
background-color: rgba(0,0,0,0.8);
color: #fff;
top: 2px;
left: 52px;
width: 70px;
text-align: center;
z-index: 100;
display: none;
line-height: 20px;
}
#tabToolTip span.arrow {
border-color:transparent rgba(0,0,0,0.8) transparent transparent;
border-style: solid;
border-width: 10px;
height: 0;
left: -20px;
position: absolute;
top: 0;
width: 0;
}
/* === USER INFO TAB THING === */
ul.nav .user-info {
border-left: 1px dotted #888888;
display: inline-block;
font-size: 11px;
line-height: 21px;
margin: 4px 10px;
padding: 0 10px;
}
ul.nav .user-info .status {
display: none;
-moz-border-radius: 100px;
width: 8px;
height: 8px;
vertical-align: middle;
background-image: -moz-radial-gradient(center, circle cover, #44aaff 0% , #2288ff 50%, #0066dd 90%, #444 100%);
}
ul.nav .user-info .status.inactive {
background-image: -moz-radial-gradient(center, circle cover, #ddd 0%, #999 50%, #777 90%, #444 100%);
}
ul.nav .user-info .username {
font-size: 11px;
vertical-align: middle;
font-weight: bold;
}
ul.nav .user-info img.avatar {
-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
border: 1px solid #FFFFFF;
height: 23px;
margin-right: 5px;
width: 23px;
}
/* === SETTINGS TAB === */
ul.nav li.settings,
ul.nav li.settings.ui-tabs-selected {
text-align: center;
-moz-border-radius: 2px;
}
ul.nav li.settings {
border: 1px solid #888;
}
ul.nav .navSpacer {
border-left: 1px dotted #888888;
display: inline-block;
min-height: 24px;
float: left;
margin: 4px 10px;
}
/* === TAB SELECTED === */
ul.nav li.ui-tabs-selected {
-moz-box-shadow:0 0 5px #444 inset, 0 1px 0 #FFFFFF;
background-image:-moz-linear-gradient(center top , #bbb 0%, #aaa 100%);
border-color: #666;
}
ul.nav li.ui-tabs-selected a.debug {
background-image: url("i/bug_b.png");
}
/* === TAB PANELS === */
.messageForm {
min-height: 71px;
padding: 5px 0;
width: 100%;
}
.ui-tabs .ui-tabs-hide {
display: none;
}
.ui-tabs-panel .user {
display: none;
}
.thumb {
-moz-border-radius: 2px 2px 2px 2px;
-moz-box-shadow: 0 1px 0 #fff;
background-image: -moz-linear-gradient(center top , #EEEEEE 0%, #DDDDDD 100%);
border: 1px solid #BBBBBB;
height: 71px;
margin: 0 5px 0 0;
padding: 4px;
}
.thumb .image {
background-color: #FFFFFF;
border: 1px solid #AAAAAA;
display: inline-block;
height: 61px;
width: 90px;
text-align: center;
}
.thumb .image .thumb {
-moz-border-radius: 0px;
background-image: none;
border: none;
height: auto;
margin: 0;
padding: 0;
max-width: 90px;
}
div.image,
div.meta {
display: inline-block;
overflow: hidden;
}
.meta {
padding: 0 3px;
width: 150px;
line-height: 14px;
}
.meta .title {
font-size: 11px;
font-weight: bold;
white-space: nowrap;
}
.meta .description {
color: #444;
white-space: normal;
font-size: 9px;
overflow: hidden;
}
.meta .url,
.meta .surl {
font-size: 9px;
text-decoration: none;
display: block;
white-space: nowrap;
color: #00A0FF;
}
.addressing {
margin: 0 5px 0 0;
width: 253px;
}
button.share {
-moz-border-radius: 0 2px 2px 0;
border-left: medium none;
margin-left: 0;
}
button.share:focus {
-moz-box-shadow: 0 0 0 3px rgba(0, 162, 255, 0.25);
}
/* Disable user resizing of text area since it covers the twitter count. */
textarea {
resize: none;
}
textarea, input[type="text"] {
border-width: 1px;
border-style: solid;
border-color: #888;
font-family: "Lucida Grande", Verdana, sans-serif;
font-size: 12px;
line-height: 18px;
padding: 3px;
margin: 0;
width: 100%;
-moz-border-radius: 2px;
-moz-box-shadow:0 3px 3px -3px rgba(0, 0, 0, 0.25) inset, 0 1px 0 #fff;
}
textarea:focus, input[type="text"]:focus {
-moz-box-shadow: 0 0 0 3px rgba(0, 162, 255, 0.25) inset, 0 1px 0 #fff;
}
textarea.message {
-moz-border-radius: 2px 0 0 2px;
font-size: 14px;
min-height: 71px;
}
input[type="text"] {
height: 33px;
width: 100%;
margin-bottom: 5px;
}
input[type="text"]:last-child {
margin-bottom: 0;
}
input[type="text"].placeholder,
input[type="password"].placeholder,
textarea.placeholder {
color: #888;
}
/* === TWITTER PANEL === */
.message .counter {
position: absolute;
bottom: 3px;
right: 5px;
color: #888;
font-weight: bold;
}
.TextCountOver {
color: red !important;
}
/* === AUTOCOMPLETE === */
ul.ui-autocomplete {
background-color: #fff;
min-width: 253px;
width: 253px;
border: 1px solid #aaa;
border-top: none;
-moz-box-shadow: 0 2px 2px rgba(0,0,0,0.5);
}
ul.ui-autocomplete li.ui-menu-item a {
padding: 5px;
width: 100%;
overflow-x: hidden;
white-space: nowrap;
cursor: pointer;
display: block;
}
ul.ui-autocomplete li.ui-menu-item a.ui-state-hover {
background-color: #00A0FF;
background-image: -moz-linear-gradient(top, #00a0ff 0%, #0D93E0 100%);
color: white;
font-weight: bold;
}
/* === SETTINGS PANEL === */
#settings .aboutLink {
display: block;
}
#settings .account {
display: inline-block;
width: 100%;
line-height: 22px;
color: #54B851;
font-weight: bold;
}
#settings .account img {
width: 22px;
height: 22px;
}
#settings .account .name,
#settings .account .accountDomain {
}
#settings ul {
min-width: 660px;
}
#settings ul li {
display: inline-block;
float: left;
width: 140px;
min-height: 71px;
}
#settings ul li {
padding: 0 10px 0;
border-width: 0 1px;
border-left-style: dotted;
border-color: #888;
}
#settings ul li:nth-child(1) {
padding: 0 10px 0 0;
border: none;
}
#settings ul li:nth-child(4) {
padding: 0 0 0 10px;
}
#settings ul li button {
margin: 0;
width: 100%;
padding: 5px 0;
}
#settings ul li h1 {
margin: 0 0 10px 0;
}
#settings ul li h1 span.accountIcon {
width: 16px;
height: 16px;
display: inline-block;
}
#settings ul li h1 .twitterIcon {
background-image: url("i/sprite.png");
background-position: left -36px;
background-repeat: no-repeat;
}
#settings ul li h1 .facebookIcon {
background-image: url("i/sprite.png");
background-position: left -70px;
background-repeat: no-repeat;
}
#settings ul li h1 .gmailIcon {
background-image: url("i/sprite.png");
background-position: left -103px;
background-repeat: no-repeat;
}
#settings ul li h1 .yahooIcon {
background-image: url("i/sprite.png");
background-position: left -132px;
background-repeat: no-repeat;
}
#settings ul li h1 .googleappsIcon {
background-image: url("i/sprite.png");
background-position: left -165px;
background-repeat: no-repeat;
}
#settings ul li h1 .linkedinIcon {
background-image: url("i/LinkedIn_Logo16px.png");
background-position: left -192px;
background-repeat: no-repeat;
}
h1 {
font-weight: bold;
margin: 0 0 5px 0;
color: #0a0a0a;
padding: 5px 0 0 0;
/* border-top: 1px dotted #888; */
}
h1 a {
font-weight: normal;
}
h1 img {
margin-top: -1px;
}
#settings .settings {
width: 253px;
margin: 0 0 0 10px;
padding: 0 0 0 10px;
border-left: 1px dotted #888;
color: #444;
}
#settings .success {
width: 100%;
line-height: 24px;
color: #54B851;
font-weight: bold;
}
#settings span.check {
width: 22px;
background-color: #54B851;
color: #fff;
-moz-border-radius: 12px;
display: inline-block;
font-size: 12px;
font-weight: normal;
text-align: center;
}
#settings .config {
color: #444444;
margin: 0 0 0 10px;
padding: 0 0 0 10px;
border-left: 1px dotted #888;
width: 220px;
}
#settings .config ul {
width: auto;
min-width: 0;
}
#settings .config ul li {
display: block;
border: none;
width: auto;
min-height: 0;
height: auto;
float: none;
padding: 4px 0;
}
#settings .config ul li input[type="checkbox"] {
margin: 0 5px 0 0;
}
#settings .remove {
font-weight: normal;
line-height: 7px;
padding-left: 26px;
display: block;
}
#settings .remove a:hover {
color: red;
}
/* === STATUS MESSAGES === */
#clickBlock {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image:-moz-linear-gradient(center top , #EEEEEE 0%, #DDDDDD 100%);
}
div.status {
position: absolute;
width: 100%;
height: 113px;
line-height: 113px;
top: 0;
left: 0;
color: #0a0a0a;
font-size: 14px;
text-align: center;
}
#statusCaptcha {
line-height: normal;
}
div.captcha-wrap {
/* we need this to take up the full height of the status bar */
height: 113px;
}
div.captcha-wrap img {
width: 200px;
height: 55px;
margin: 0 10px;
}
div.captcha-wrap .text,
div.captcha-wrap .subtext {
font-size: smaller;
color: #444;
text-align: left;
}
div.captcha-wrap .subtext {
color: #666;
}
div.captcha-wrap .controls {
width: 100%;
}
div.captcha-wrap button {
height: 30px;
border-width: 1px 1px 1px 0;
border-style: solid;
border-color: #888;
cursor: pointer;
padding: 0 10px;
margin: 0;
-moz-border-radius: 0 2px 2px 0;
-webkit-border-radius: 0 2px 2px 0;
border-radius: 0 2px 2px 0;
background-image: -moz-linear-gradient(center top , #fafafa 0%, #ddd 100%);
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fafafa), color-stop(100%, #ddd));
}
div.captcha-wrap button:active {
-moz-box-shadow: 0 0 1px #666666 inset;
-webkit-box-shadow: 0 0 1px #666666 inset;
box-shadow: 0 0 1px #666666 inset;
background-image: -moz-linear-gradient(center top , #eee 0%, #ccc 100%);
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #eee), color-stop(100%, #ccc));
}
div.captcha-wrap input {
border-width: 1px;
border-style: solid;
border-color: #888;
font-family: "Lucida Grande", Verdana, sans-serif;
font-size: 12px;
line-height: 18px;
padding: 3px;
margin: 0;
-moz-border-radius: 2px 0 0 2px;
-moz-box-shadow:0 3px 3px -3px rgba(0, 0, 0, 0.25) inset, 0 1px 0 #fff;
}
#captchaSuround {
max-height: 80px;
}
#captchaImage {
border: 1px solid #888;
}
#captchaSound {
border: 1px solid #888;
width: 10px;
height: 10px;
}
div.status img {
vertical-align: middle;
}
#statusSharing {
background-color: transparent;
}
#statusShared {
background-color: rgba(0,255,0,0.4);
}
#statusShared a {
color: #0a0a0a;
text-decoration: underline;
}
.shareDomain {
display: inline-block;
max-width: 200px;
font-weight: bold;
}
div.status.error,
div.status.warning {
background-color: rgba(255,0,0,0.5);
color: #fff;
}
div.status.intermediate.error {
background-color: rgba(255,115,0,0.75);
}
div.status.intermediate.error .statusButton {
border-color: #AB4D00;
}
div.status.noConfig {
text-shadow: 1px 1px 0 rgba(255,255,255,0.75);
line-height: 18px;
}
div.status.noConfig img {
display: block;
margin: 20px auto 5px;
}
.statusButton {
font-size: 11px;
vertical-align: baseline;
font-weight: normal;
-moz-box-shadow: none;
border-color: maroon;
}
.statusButton:active {
-moz-box-shadow: 0 0 1px #666666 inset, 0 1px 0 rgba(255,255,255,0.25);
}
#statusErrorMessage {
display: inline-block;
}
/* START hbox/vbox normalization from http://alex.dojotoolkit.org/2009/08/css-3-progress/ */
/* hbox and vbox classes */
.hbox {
display: -webkit-box;
-webkit-box-orient: horizontal;
-webkit-box-align: stretch;
display: -moz-box;
-moz-box-orient: horizontal;
-moz-box-align: stretch;
display: box;
box-orient: horizontal;
box-align: stretch;
}
.hbox > * {
-webkit-box-flex: 0;
-moz-box-flex: 0;
box-flex: 0;
display: block;
}
.vbox {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-box-align: stretch;
display: -moz-box;
-moz-box-orient: vertical;
-moz-box-align: stretch;
display: box;
box-orient: vertical;
box-align: stretch;
}
.vbox > * {
-webkit-box-flex: 0;
-moz-box-flex: 0;
box-flex: 0;
display: block;
}
.spacer {
-webkit-box-flex: 1;
-moz-box-flex: 1;
box-flex: 1;
}
.reverse {
-webkit-box-direction: reverse;
-moz-box-direction: reverse;
box-direction: reverse;
}
.boxFlex0 {
-webkit-box-flex: 0;
-moz-box-flex: 0;
box-flex: 0;
}
.boxFlex1, .boxFlex {
-webkit-box-flex: 1;
-moz-box-flex: 1;
box-flex: 1;
}
.boxFlex2 {
-webkit-box-flex: 2;
-moz-box-flex: 2;
box-flex: 2;
}
.boxGroup1 {
-webkit-box-flex-group: 1;
-moz-box-flex-group: 1;
box-flex-group: 1;
}
.boxGroup2 {
-webkit-box-flex-group: 2;
-moz-box-flex-group: 2;
box-flex-group: 2;
}
.start {
-webkit-box-pack: start;
-moz-box-pack: start;
box-pack: start;
}
.end {
-webkit-box-pack: end;
-moz-box-pack: end;
box-pack: end;
}
.center {
-webkit-box-pack: center;
-moz-box-pack: center;
box-pack: center;
}
/* END hbox/vbox normalization from http://alex.dojotoolkit.org/2009/08/css-3-progress/ */
/* clearfix */
.clearfix:after {
content: ".";
display: block;
clear: both;
visibility: hidden;
line-height: 0;
height: 0;
}
html[xmlns] .clearfix {
display: block;
}
* html .clearfix {
height: 1%;
}