addons-server/media/css/zamboni/mobile.css

983 строки
21 KiB
CSS

/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
/* end meyer reset */
/* don't want any more transitions? this is the kill-switch!*/
/*
*, *:after {
-moz-transition: none !important;
}
*/
/** Clearfix */
.listview li a:after,
header:after,
section:after,
.menu:after {
content: ".";
display: block;
clear: both;
height: 0;
visibility: hidden;
}
/************************************/
/* TYPOGRAPHY */
/************************************/
h1, h2, h3,
.copy, .paginator,
.moz-menu {
font-family: Georgia, serif;
}
#content h2 {
font-style: italic;
margin: 0 14px 14px;
font-size: 1.2em;
}
a:link {
font-family: Georgia, serif;
color: #447bc4;
text-decoration: none;
}
/************************************/
/* GRADIENTS */
/************************************/
/* 'Mozilla' */
.moz-menu .tab {
background: #33589f;
background: -webkit-gradient(
linear,
left bottom,
left top,
from(rgb(42,65,135)),
to(rgb(59,105,177))
);
background: -moz-linear-gradient(
center bottom,
rgb(42,65,135) 0%,
rgb(59,105,177) 100%
);
background: linear-gradient(
center bottom,
rgb(42,65,135) 0%,
rgb(59,105,177) 100%
);
}
footer:before,
.tabs {
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAABCAYAAAASC7TOAAAAEElEQVQIHWP8//8/Aw7wHwBR6AP+G53o6QAAAABJRU5ErkJggg=='),
-moz-linear-gradient(#fff, #dcedfd);
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAABCAYAAAASC7TOAAAAEElEQVQIHWP8//8/Aw7wHwBR6AP+G53o6QAAAABJRU5ErkJggg=='),
-webkit-gradient(linear, left top, left bottom, from(#fff), to(#dcedfd));
}
html {
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAABCAYAAAASC7TOAAAAEElEQVQIHWP8//8/Aw7wHwBR6AP+G53o6QAAAABJRU5ErkJggg=='),
-moz-linear-gradient(#dcedfd 0, #fff 120px);
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAABCAYAAAASC7TOAAAAEElEQVQIHWP8//8/Aw7wHwBR6AP+G53o6QAAAABJRU5ErkJggg=='),
-webkit-gradient(linear, left top, left 120, from(#dcedfd), to(#fff));
}
/************************************/
/* FANCY ARROW */
/************************************/
#sort-menu .label span:after,
.moz-menu .tab a:after,
.menu a.expando:after {
content: "\00a0";
display: block;
position: absolute;
right: 8px;
width: 0;
height: 0;
-moz-transition: .3s -moz-transform ease;
-webkit-transition: .3s -webkit-transform ease;
-moz-transform-origin: 50% 25%;
-webkit-transform-origin: 50% 25%;
top: 16px;
border: 5px solid transparent;
border-top-color: black;
pointer-events: none;
}
/************************************/
/* GENERAL */
/************************************/
.htruncate {
white-space: nowrap;
overflow: hidden;
}
table {
width: 100%;
font-family: Helvetica, "Droid Sans", sans-serif;
}
table th {
text-align: right;
padding: 0 8px 8px 0;
font-weight: bold;
color: #666;
}
#content {
width: 100%;
overflow: hidden;
position: relative;
}
#content > details,
#content > p,
#content > .copy,
#content > .menu {
margin: 0 14px;
}
.copy {
line-height: 1.2em;
}
.paginator {
display: -moz-box;
display: -webkit-box;
text-align: center;
color: #ccc;
font-size: 1.1em;
width: 100%;
height: 40px;
}
.paginator .page {
color: #666;
margin: 0 2%;
-moz-box-flex: 1;
-webkit-box-flex: 1;
}
.paginator a {
padding: 14px;
}
.paginator .next a:after {
content: ' \00bb';
}
.paginator .prev a:before {
content: ' \00ab';
}
/************************************/
/* HEADER */
/************************************/
#home-header,
.mini-header {
margin: 0 14px;
}
.moz-menu {
-moz-transition: .5s top ease;
-webkit-transition: .5s top ease;
position: relative;
top: 0;
z-index: 100;
}
.moz-menu .tab {
border-radius: 0 0 6px 6px;
-moz-border-radius: 0 0 6px 6px;
-webkit-border-radius: 0 0 6px 6px;
box-shadow: 0 -3px rgba(0,0,0,.2) inset;
-moz-box-shadow: 0 -3px rgba(0,0,0,.2) inset;
-webkit-box-shadow: 0 -3px rgba(0,0,0,.2) inset;
}
.moz-menu .tab a {
background: url(../../img/zamboni/global/wordmark.png) no-repeat 8px 6px;
display: block;
height: 30px;
line-height: 22px;
text-align: right;
color: white;
font-style: italic;
padding: 8px 25px;
}
.mini-header .moz-menu .tab {
width: 104px;
float: right;
position: relative;
}
.mini-header .moz-menu .tab a {
text-indent: -9999px;
text-align: left;
}
.moz-menu .menu-items li {
border-bottom: 1px solid #294976;
border-top: 1px solid #537ab4;
background-image: -moz-linear-gradient(#3a67af, #385eaa);
background-image: -webkit-gradient(linear, left top, left bottom, from(#3a67af), to(#385eaa));
height: 50px;
width: 100%;
padding: 0 14px;
}
.moz-menu .menu-items a {
font-family: "Trebuchet MS", "Droid Sans", sans-serif;
color: white;
font-size: 17px;
text-transform: uppercase;
font-weight: bold;
display: block;
height: 26px;
line-height: 26px;
padding: 12px 0;
}
.moz-menu .menu-items {
position: absolute;
width: 100%;
left: -14px;
bottom: 46px;
}
.mini-header .moz-menu .menu-items {
bottom: 0;
}
.moz-menu .tab a:after {
top: 18px;
border: 6px solid transparent;
border-top-color: white;
}
.moz-menu.expand .tab a:after {
-moz-transform: rotate(180deg);
-webkit-transform: rotate(180deg);
}
.moz-menu.expand {
top: 312px;
}
header hgroup {
margin-top: 8px;
position: relative;
padding-left: 80px;
}
header #home {
clear: both;
color: #447BC4;
float: left;
padding: 14px 0;
line-height: 14px;
}
.mini-header .site-title {
padding-right: 120px;
}
.mini-header .site-title a {
font-size: 22px;
line-height: 22px;
}
#home-header hgroup {
min-height: 75px;
margin-bottom: 8px;
}
.mini-header hgroup {
margin-top: 0;
padding: 2px 0 0;
}
#home-header h1 {
padding-top: 4px;
}
#home-header h2 {
margin: 4px 0;
color: #666;
}
#home-header .site-title img {
position: absolute;
left: 0;
top: 0;
}
.site-title a {
text-decoration: none;
color: black;
font-family: Georgia, serif;
text-transform: uppercase;
font-size: 36px;
line-height: 32px;
}
.site-title span {
display: block;
}
.mini-header .site-title img {
float: left;
height: 50px;
margin-right: 6px;
}
#home-header #search {
margin: 0;
}
/************************************/
/* LISTVIEWS */
/************************************/
.listview,
.infobox {
margin: 14px 14px 0;
border-radius: 6px;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
border: 1px solid #ddd;
background-color: #f4f4f4;
background-image: -moz-linear-gradient(#fff, rgba(255,255,255,0) 12px);
-moz-box-shadow: 0 -3px rgba(0,0,0,.1) inset;
-webkit-box-shadow: 0 -3px rgba(0,0,0,.1) inset;
margin-bottom: 1em;
display: block;
}
.infobox {
padding: 14px;
}
.listview li {
border-top: 1px solid #ccc;
font-size: 1em;
}
.listview li:first-child {
border: 0;
}
.listview li > a,
a.listview {
padding: 14px 10px;
color: #444;
font-family: Georgia, serif;
font-size: 1.1em;
display: block;
overflow: hidden;
text-decoration: none;
position: relative;
}
.listview .item > a,
.listview div.item {
padding: 10px;
font-size: 1em;
}
.listview li > a:before,
a.listview:before {
content: " ";
display: block;
width: 10px;
height: 16px;
position: absolute;
right: 10px;
top: 50%;
margin-top: -8px;
background: url(../../img/zamboni/mobile/arrow.svg) no-repeat center center;
}
.icon {
float: left;
margin-right: 8px;
}
.item {
line-height: 1.3em;
}
.item h3 {
font-size: 1.1em;
}
.item .desc {
white-space: nowrap;
}
.item details {
overflow: hidden;
margin-right: 12px;
}
/************************************/
/* SEARCH */
/************************************/
#search {
margin-bottom: 14px;
display: -moz-box;
display: -webkit-box;
width: 100%;
}
#search input[type=search] {
background: url(../../img/zamboni/mobile/search.svg) no-repeat 10px center;
-webkit-box-flex: 1;
-moz-box-flex: 1;
height: 41px;
padding-left: 40px;
border: 1px solid #ddd;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
margin: -1px 8px 0 0;
font-size: 18px;
}
#search button[type=submit] {
margin: 0;
height: 45px;
width: 56px;
background-image: -moz-linear-gradient(#83c53c, #4f9c19);
background-image: -webkit-gradient(linear, left top, left bottom, from(#83c53c), to(#4f9c19));
border: 0;
-webkit-box-shadow: 0 -3px rgba(0,0,0,.1) inset;
-moz-box-shadow: 0 -3px rgba(0,0,0,.1) inset;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
}
/************************************/
/* SORT MENU */
/************************************/
#sort-menu {
-moz-box-align: center;
}
#sort-menu ul {
height: 0;
position: relative;
top: -1px;
overflow: hidden;
-moz-transition: .5s height ease;
-webkit-transition: .5s height ease;
border: 0px solid transparent;
border-width: 1px 0;
}
#sort-menu.expand ul {
border-color: #a9badb;
height: 254px;
}
#sort-menu li {
border-top: 1px solid #dde4ef;
}
#sort-menu li a {
display: block;
height: 26px;
line-height: 26px;
padding: 12px 14px;
}
#sort-menu li:first-child {
border-top: 0;
}
#sort-menu .label {
color: #888;
padding-left: 14px;
}
#sort-menu .label span {
position: relative;
display: inline-block;
z-index: 10;
background: transparent;
color: #447bc4;
text-align: center;
white-space: nowrap;
border: 1px solid transparent;
border-width: 1px 1px 0 1px;
border-radius: 6px 6px 0 0;
-moz-border-radius: 6px 6px 0 0;
-webkit-border-radius: 6px 6px 0 0;
margin-left: 4px;
padding: 11px 22px 11px 6px;
-moz-transition: .3s background ease;
}
#sort-menu.expand .label span {
background: white;
border-color: #a9badb;
border-bottom: 1px solid white;
box-shadow: 0 -1px 1px #dde4ef;
}
/* menu arrow */
#sort-menu .label span:after {
top: 16px;
border: 5px solid transparent;
border-top-color: #447BC4;
}
#sort-menu.expand .label span:after {
-moz-transform: rotate(180deg);
-webkit-transform: rotate(180deg);
}
/************************************/
/* TABS */
/************************************/
.tabs {
border-bottom: 1px solid #a2bbdc;
height: 41px;
font: 16px Georgia, serif;
padding: 14px 14px 0;
box-shadow: 0 -1px 1px rgba(0,0,0,.1) inset;
}
.tabs ul {
display: -webkit-box;
display: -moz-box;
margin: 0px;
width: 100%;
z-index: 1;
}
.tabs ul li {
-moz-box-flex: 1;
-webkit-box-flex: 1;
border: 0;
-webkit-transition: .3s background ease;
-moz-transition: .3s background ease;
}
.tabs a:-moz-focusring {
outline: 0;
border: 0;
}
.tabs ul li a {
display: block;
white-space: nowrap;
text-align: center;
color: #447bc4;
padding: 11px 8px 11px 6px;
}
.tabs ul li.selected {
background: white;
box-shadow: 0 -1px 1px rgba(0,0,0,.1);
border: 1px solid #a2bbdc;
border-width: 1px 1px 0 1px;
border-radius: 6px 6px 0 0;
-moz-border-radius: 6px 6px 0 0;
-webkit-border-radius: 6px 6px 0 0;
}
.tabs ul li.selected a {
color: #444;
padding: 11px 8px 11px 6px ;
}
.tab-pane {
display: none;
}
.tab-pane.selected {
display: block;
}
.slider {
white-space:nowrap;
position: relative;
left: 0;
-moz-transition: .3s left ease;
-webkit-transition: .3s left ease;
}
.slider-mask {
width: 100%;
overflow: hidden;
}
.slider .tab-pane {
vertical-align: top;
width: 100%;
display: inline-block;
}
/************************************/
/* DETAILS PAGE */
/************************************/
td .versions li a {
display: block;
padding: 4px 0;
}
.author,
.author a {
font-family: "Droid Sans", sans-serif;
color: #888;
font-size: 12px;
line-height: 12px;
}
/************************************/
/* VERSIONS */
/************************************/
.version h3 {
font-size: 20px;
color: black;
}
.version time {
display: block;
font-family: "Droid Sans", sans-serif;
margin: 10px 0;
}
.version blockquote {
color: #666;
font-family: Georgia, serif;
overflow: hidden;
}
.version .meta {
font-style: italic;
color: #666;
}
.version .meta h4 {
margin-top: 12px;
font-family: "Droid Sans", sans-serif;
font-weight: bold;
color: #666;
}
/************************************/
/* NOTIFICATIONS */
/************************************/
.message {
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
border-radius: 6px;
margin: 14px;
padding: 14px;
}
.message h3 {
font-family: "Droid Sans", Helvetica, sans-serif;
font-weight: bold;
margin-bottom: 14px;
}
.message.warning {
background: #fff0a6;
}
/************************************/
/* BUTTONS */
/************************************/
.installer {
margin: 10px 0 4px;
padding-top: 8px;
}
.infobox .installer {
border-top: 2px solid #fff;
box-shadow: 0 -1px #ccc;
}
.button {
-moz-transition: -moz-box-shadow 0.3s ease 0s;
background-image: -moz-linear-gradient(#669BE1, #5784BF) repeat scroll 0 0 transparent;
background-image: -webkit-gradient(
linear,
left top,
left bottom,
from(#669BE1),
to(#5784BF)
);
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
border-radius: 6px;
box-shadow: 0 3px rgba(0, 0, 0, 0.1), 0 -4px rgba(0, 0, 0, 0.1) inset;
-moz-box-shadow: 0 3px rgba(0, 0, 0, 0.1), 0 -4px rgba(0, 0, 0, 0.1) inset;
-webkit-box-shadow: 0 3px rgba(0, 0, 0, 0.1), 0 -4px rgba(0, 0, 0, 0.1) inset;
color: #FFFFFF;
display: inline-block;
font-family: "Droid Sans", "Trebuchet MS", sans-serif;
font-size: 20px;
font-weight: bold;
line-height: 1;
padding: 12px 16px 14px;
position: relative;
text-align: center;
display: block;
font-weight: bold;
text-decoration: none;
}
.button:active,
.button.selected {
top: 2px;
-moz-box-shadow: 0 1px rgba(0, 0, 0, 0.1),
0 -4px rgba(0, 0, 0, 0.1) inset,
0 0 100px rgba(255, 255, 255, 0.2) inset;
}
.button.small {
font-size: 13px;
font-weight: normal;
padding: 6px 12px;
padding-bottom: 9px;
-moz-box-shadow: 0 2px rgba(0, 0, 0, 0.1),
0 -3px rgba(0, 0, 0, 0.1) inset;
}
.button.small:hover,
.button.small:focus,
.button.small:active,
.button.small.selected {
-moz-box-shadow: 0 2px rgba(0, 0, 0, 0.1),
0 -3px rgba(0, 0, 0, 0.1) inset,
0 0 100px rgba(255, 255, 255, 0.2) inset;
}
.button.small:active,
.button.small.selected {
top: 2px;
-moz-box-shadow: 0 0px rgba(0, 0, 0, 0.1),
0 -3px rgba(0, 0, 0, 0.1) inset,
0 0 100px rgba(255, 255, 255, 0.2) inset;
}
.button.install {
background-color: #84C63C;
background-image: -moz-linear-gradient(#84C63C, #489615);
background-image: -webkit-gradient(
linear,
left top,
left bottom,
from(#84C63C),
to(#489615)
);
color: #fff;
padding-left: 40px;
}
.button.install:before {
content: " ";
display: block;
width: 24px;
height: 24px;
position: absolute;
left: 14px;
top: 10px;
background: url(../../img/zamboni/mobile/install.svg) no-repeat center center;
}
.button.install.disabled {
background: -moz-linear-gradient(#d1d4d7, #c1c5ca);
color: #fff;
-moz-box-shadow: 0 3px rgba(0, 0, 0, 0.05),
0 -4px rgba(0, 0, 0, 0.05) inset;
top: 0;
}
/************************************/
/* REVIEWS */
/************************************/
.stars {
text-indent:-5000px;
background-image: url(../../img/amo2009/icons/stars.png);
background-position: 0 50%;
background-repeat: no-repeat;
margin-right: 0.5em;
width: 63px;
display: block;
}
.stars-4 {
background-position: -13px 50%;
}
.stars-3 {
background-position: -26px 50%;
}
.stars-2 {
background-position: -39px 50%;
}
.stars-1 {
background-position: -52px 50%;
}
.stars-0 {
background-position: -65px 50%;
}
/************************************/
/* CAROUSEL */
/************************************/
.carousel .control {
display: block;
position: absolute;
top: 0;
opacity: .9;
width: 45px;
height: 95%;
line-height: 100px;
font-size: 48px;
text-align: center;
color: #447BC4;
text-shadow: 0 0 5px #fff;
-moz-transition: .2s color ease;
-webkit-transition: .2s color ease;
}
.carousel .control.disabled {
color: #ccc;
}
.carousel .control.prev {
background: -moz-linear-gradient(left, #fff 20%, rgba(255,255,255,0));
left: 0;
}
.carousel .control.next {
background-image: -moz-linear-gradient(left, rgba(255,255,255,0), #fff 80%);
right: 0;
}
.carousel {
position: relative;
padding: 14px 40px;
overflow: hidden;
background-image: -moz-linear-gradient(#fff 95%, #dcedfd);
background-color: #fff;
border-bottom: 2px solid #dcedfd;
margin-bottom: 20px;
}
.carousel ul {
height: 78px;
white-space: nowrap;
position: relative;
left: 0;
-moz-transition: .5s left ease;
-webkit-transition: .5s left ease;
}
.carousel li {
display: inline-block;
width: 50%;
text-align: center;
}
.carousel li img {
border: 1px solid #afbed0;
max-height: 75px;
max-width: 100px;
border-radius: 6px;
-moz-box-shadow: 0 0 4px rgba(0,0,0,.2);
-webkit-box-shadow: 0 0 4px rgba(0,0,0,.2);
}
/************************************/
/* EXPANDO */
/************************************/
a.expando:-moz-focusring {
border: 0;
outline: none;
}
a.expando {
color: #447BC4;
}
.menu a.expando {
position: relative;
display: block;
padding: 10px 20px;
float: right;
color: #447BC4;
}
.menu a.expando:after {
border-top-color: #447BC4;
top: 15px;
}
.menu a.expando.expand:after {
-moz-transform: rotate(180deg);
-webkit-transform: rotate(180deg);
}
.expando-managed {
overflow: hidden;
height: 0;
-moz-transition: .5s height ease;
-webkit-transition: .5s height ease;
}
/************************************/
/* FOOTER */
/************************************/
footer:before {
content: " ";
display: block;
position: absolute;
top: -30px;
left: 0;
width: 100%;
height: 30px;
box-shadow: 0 -2px rgba(0,0,0,.1) inset;
}
footer {
font-family: "Droid Sans", sans-serif;
font-size: 1em;
color: white;
margin-top: 30px;
padding: 14px;
position: relative;
min-height: 200px;
box-shadow: 0 2px rgba(0,0,0,.1) inset;
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAABCAYAAAASC7TOAAAAFElEQVQIHWO0DZ3xnwELYOXgYwAAOHwCRjqu6SgAAAAASUVORK5CYII=');
}
footer select {
margin-top: 4px;
display: block;
border-radius: 6px;
width: 100%;
height: 30px;
}
#footer-links, #footer-links a {
color: #5f92ce;
text-align:center;
font-size: 14px;
padding: 4px;
}
footer a.desktop-link {
background: #5f92ce;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
color: #fff;
display: block;
font-family: "Trebuchet MS", "Droid Sans", sans-serif;
font-size: 150%;
font-weight: bold;
line-height: 200%;
margin: 1em 0;
text-align: center;
text-transform: uppercase;
}