Mercurial > ~darius > hgwebdir.cgi > iwws
view static/themes/apple/theme.css @ 10:15fed86d9fac
Fix example to be correct.
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Fri, 03 Feb 2012 23:47:25 +1030 |
parents | 2d9ee2b3ae82 |
children |
line wrap: on
line source
body { background: rgb(0,0,0); } #jqt > * { background: rgb(197,204,211) url(img/pinstripes.png); } #jqt h1, #jqt h2 { font: bold 18px "Helvetica Neue", Helvetica; text-shadow: rgba(255,255,255,.2) 0 1px 1px; color: rgb(76, 86, 108); margin: 10px 20px 6px; } /* @group Toolbar */ #jqt .toolbar { -webkit-box-sizing: border-box; border-bottom: 1px solid #2d3642; padding: 10px; height: 45px; background: url(img/toolbar.png) #6d84a2 repeat-x; position: relative; } #jqt .black-translucent .toolbar { margin-top: 20px; } #jqt .toolbar > h1 { position: absolute; overflow: hidden; left: 50%; top: 10px; line-height: 1em; margin: 1px 0 0 -75px; height: 40px; font-size: 20px; width: 150px; font-weight: bold; text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0; text-align: center; text-overflow: ellipsis; white-space: nowrap; color: #fff; } #jqt.landscape .toolbar > h1 { margin-left: -125px; width: 250px; } #jqt .button, #jqt .back, #jqt .cancel, #jqt .add { position: absolute; overflow: hidden; top: 8px; right: 6px; margin: 0; border-width: 0 5px; padding: 0 3px; width: auto; height: 30px; line-height: 30px; font-family: inherit; font-size: 12px; font-weight: bold; color: #fff; text-shadow: rgba(0, 0, 0, 0.5) 0px -1px 0; text-overflow: ellipsis; text-decoration: none; white-space: nowrap; background: none; -webkit-border-image: url(img/toolButton.png) 0 5 0 5; } #jqt .button.active, #jqt .cancel.active, #jqt .add.active { -webkit-border-image: url(img/toolButton.png) 0 5 0 5; } #jqt .blueButton { -webkit-border-image: url(img/activeButton.png) 0 5 0 5; border-width: 0 5px; } #jqt .back { left: 6px; right: auto; padding: 0; max-width: 55px; border-width: 0 8px 0 14px; -webkit-border-image: url(img/backButton.png) 0 8 0 14; } #jqt .back.active { -webkit-border-image: url(img/backButton.png) 0 8 0 14; } #jqt .leftButton, #jqt .cancel { left: 6px; right: auto; } #jqt .add { font-size: 24px; line-height: 24px; font-weight: bold; } #jqt .whiteButton, #jqt .grayButton, #jqt .redButton, #jqt .blueButton, #jqt .greenButton { display: block; border-width: 0 12px; padding: 10px; text-align: center; font-size: 20px; font-weight: bold; text-decoration: inherit; color: inherit; } #jqt .whiteButton.active, #jqt .grayButton.active, #jqt .redButton.active, #jqt .blueButton.active, #jqt .greenButton.active, #jqt .whiteButton:active, #jqt .grayButton:active, #jqt .redButton:active, #jqt .blueButton:active, #jqt .greenButton:active { -webkit-border-image: url(img/activeButton.png) 0 12 0 12; } #jqt .whiteButton { -webkit-border-image: url(img/whiteButton.png) 0 12 0 12; text-shadow: rgba(255, 255, 255, 0.7) 0 1px 0; } #jqt .grayButton { -webkit-border-image: url(img/grayButton.png) 0 12 0 12; color: #FFFFFF; } #jqt .redButton { -webkit-border-image: url(img/redButton.png) 0 12 0 12; color: #FFFFFF; } #jqt .greenButton { -webkit-border-image: url(img/greenButton.png) 0 12 0 12; color: #FFFFFF; } /* @end */ /* @group Lists */ #jqt h1 + ul, #jqt h2 + ul, #jqt h3 + ul, #jqt h4 + ul, #jqt h5 + ul, #jqt h6 + ul { margin-top: 0; } #jqt ul { color: black; background: #fff; border: 1px solid #B4B4B4; font: bold 17px "Helvetica Neue", Helvetica; padding: 0; margin: 15px 10px 17px 10px; -webkit-border-radius: 8px; } #jqt ul li { color: #666; border-top: 1px solid #B4B4B4; list-style-type: none; padding: 10px 10px 10px 10px; } /* when you have a first LI item on any list */ #jqt li:first-child, #jqt li:first-child a { border-top: 0; -webkit-border-top-left-radius: 8px; -webkit-border-top-right-radius: 8px; } #jqt li:last-child, #jqt li:last-child a { -webkit-border-bottom-left-radius: 8px; -webkit-border-bottom-right-radius: 8px; } /* universal arrows */ #jqt ul li.arrow { background-image: url(img/chevron.png); background-position: right center; background-repeat: no-repeat; } #jqt ul li.arrow a { padding: 12px 22px 12px 10px; } #jqt ul.plastic li.arrow, #jqt ul.metal li.arrow { background-image: url(img/chevron.png); background-position: right center; background-repeat: no-repeat; } /* universal links on list */ #jqt ul li a, #jqt li.img a + a { color: #000; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; display: block; padding: 12px 10px 12px 10px; margin: -10px; -webkit-tap-highlight-color: rgba(0,0,0,0); } #jqt ul li a.active { background-color: #194fdb; color: #fff; } #jqt ul li.arrow a.active { background-image: url(img/listArrowSel.png); background-position: right center; background-repeat: no-repeat; } #jqt ul li a.button { background-color: #194fdb; color: #fff; } #jqt ul li.img a + a { margin: -10px 10px -20px -5px; font-size: 17px; font-weight: bold; } #jqt ul li.img a + a + a { font-size: 14px; font-weight: normal; margin-left: -10px; margin-bottom: -10px; margin-top: 0; } #jqt ul li.img a + small + a { margin-left: -5px; } #jqt ul li.img a + small + a + a { margin-left: -10px; margin-top: -20px; margin-bottom: -10px; font-size: 14px; font-weight: normal; } #jqt ul li.img a + small + a + a + a { margin-left: 0px !important; margin-bottom: 0; } #jqt ul li a + a { color: #000; font: 14px "Helvetica Neue", Helvetica; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; display: block; margin: 0; padding: 0; } #jqt ul li a + a + a, #jqt ul li.img a + a + a + a, #jqt ul li.img a + small + a + a + a { color: #666; font: 13px "Helvetica Neue", Helvetica; margin: 0; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; display: block; padding: 0; } /* @end */ /* @group Forms */ #jqt ul.form li { padding: 7px 10px; } #jqt ul.form li.error { border: 2px solid red; } #jqt ul.form li.error + li.error { border-top: 0; } #jqt ul.form li:hover { background: #fff; } #jqt ul li input[type="text"], #jqt ul li input[type="password"], #jqt ul li input[type="tel"], #jqt ul li input[type="number"], #jqt ul li input[type="search"], #jqt ul li input[type="email"], #jqt ul li input[type="url"], #jqt ul li textarea, #jqt ul li select { color: #777; background: transparent url('data:image/gif;base64,R0lGODlhAQABAIABAP///wAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=='); border: 0; font: normal 17px "Helvetica Neue", Helvetica; padding: 0; display: inline-block; margin-left: 0px; width: 100%; -webkit-appearance: textarea; } #jqt ul li textarea { height: 120px; padding: 0; text-indent: -2px; } #jqt ul li select { text-indent: 0px; background: transparent url(img/chevron.png) no-repeat 103% 3px; -webkit-appearance: textfield; margin-left: -6px; width: 104%; } #jqt ul li input[type="checkbox"], #jqt ul li input[type="radio"] { margin: 0; color: rgb(50,79,133); padding: 10px 10px; } #jqt ul li input[type="checkbox"]:after, #jqt ul li input[type="radio"]:after { content: attr(title); font: 17px "Helvetica Neue", Helvetica; display: block; width: 246px; margin: -12px 0 0 17px; } /* @end */ /* @group Edge to edge */ #jqt ul.edgetoedge, #jqt ul.edgetoedge * { -webkit-border-radius: 0 !important; } #jqt ul.edgetoedge li.sep { background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(139, 159, 171, 1)), to(rgba(181, 193, 201, 1.0))); border-bottom: 1px solid #b5c1c9; border-top: 1px solid #b5c1c9; color: #fff; font-size: 16px; margin: 1px 0 0 0; padding: 2px 10px; text-shadow: #636a6f 0 1px 0; } #jqt ul.edgetoedge h4 { color: #fff; background: rgb(154,159,170) url(img/listGroup.png) top left repeat-x; border-top: 1px solid rgb(165,177,186); text-shadow: #666 0 1px 0; margin: 0; padding: 2px 10px; } #jqt .edgetoedge, #jqt .metal { margin: 0; padding: 0; background-color: rgb(255,255,255); } #jqt ul.edgetoedge, #jqt ul.metal, #jqt ul.plastic { -webkit-border-radius: 0; margin: 0; border-left: 0; border-right: 0; border-top: 0; } #jqt ul.metal { border-top: 0; border-bottom: 0; background: rgb(180,180,180); } #jqt ul.edgetoedge li:first-child, #jqt ul.edgetoedge li:first-child a, #jqt ul.edgetoedge li:last-child, #jqt ul.edgetoedge li:last-child a, #jqt ul.metal li:first-child a, #jqt ul.metal li:last-child a { -webkit-border-radius: 0; } #jqt ul.edgetoedge li small { font-size: 16px; line-height: 28px; } #jqt ul.edgetoedge li, #jqt .metal li { -webkit-border-radius: 0; } #jqt ul.edgetoedge li em { font-weight: normal; font-style: normal; } #jqt ul.edgetoedge h4 + ul { border-top: 1px solid rgb(152,158,164); border-bottom: 1px solid rgb(113,125,133); } /* @end */ /* @group Mini Label */ #jqt ul li small { color: #369; font: 17px "Helvetica Neue", Helvetica; text-align: right; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; display: block; width: 23%; float: right; padding: 3px 0px; } #jqt ul li.arrow small { padding: 0 15px; } #jqt ul li small.counter { font-size: 17px !important; line-height: 13px !important; font-weight: bold; background: rgb(154,159,170); color: #fff; -webkit-border-radius: 11px; padding: 4px 10px 5px 10px; display: inline !important; width: auto; margin-top: -22px; } #jqt ul li.arrow small.counter { margin-right: 15px; } /* @end */ /* @group Plastic */ #jqt #plastic ul li.arrow, #jqt #metal ul li.arrow { background-image: url(img/chevron.png); background-position: right center; background-repeat: no-repeat; } #jqt ul.edgetoedge, #jqt ul.metal, #jqt ul.plastic { -webkit-border-radius: 0; margin: 0; border-left: 0; border-right: 0; border-top: 0; } #jqt ul.metal li { border-top: 1px solid rgb(238,238,238); border-bottom: 1px solid rgb(156,158,165); font-size: 26px; text-shadow: #fff 0 1px 0; } #jqt ul.metal li a { line-height: 26px; margin: 0; padding: 13px 0; } #jqt ul.metal li a:hover { color: rgb(0,0,0); } #jqt ul.metal li:hover small { color: inherit; } #jqt ul.metal li a em { display: block; font-size: 14px; font-style: normal; color: #444; width: 50%; line-height: 14px; } #jqt ul.metal li small { float: right; position: relative; margin-top: 10px; font-weight: bold; } #jqt ul.metal li.arrow a small { padding-right: 0; line-height: 17px; } #jqt ul.metal li.arrow { background: url(img/chevron.png) right center no-repeat; } #jqt .plastic { margin: 0; padding: 0; background: rgb(173,173,173); } #jqt ul.plastic { -webkit-border-radius: 0; margin: 0; border-left: 0; border-right: 0; border-top: 0; background-color: rgb(173,173,173); } #jqt ul.plastic li { -webkit-border-radius: 0; border-top: 1px solid rgb(191,191,191); border-bottom: 1px solid rgb(157,157,157); } #jqt ul.plastic li:nth-child(odd) { background-color: rgb(152,152,152); border-top: 1px solid rgb(181,181,181); border-bottom: 1px solid rgb(138,138,138); } #jqt ul.plastic + p { font-size: 11px; color: #2f3237; text-shadow: none; padding: 10px 10px; } #jqt ul.plastic + p strong { font-size: 14px; line-height: 18px; text-shadow: #fff 0 1px 0; } #jqt ul.plastic li a { text-shadow: rgb(211,211,211) 0 1px 0; } #jqt ul.plastic li:nth-child(odd) a { text-shadow: rgb(191,191,191) 0 1px 0; } #jqt ul.plastic li small { color: #3C3C3C; text-shadow: rgb(211,211,211) 0 1px 0; font-size: 13px; font-weight: bold; text-transform: uppercase; line-height: 24px; } #jqt #plastic ul.minibanner, #jqt #plastic ul.bigbanner { margin: 10px; border: 0; height: 81px; clear: both; } #jqt #plastic ul.bigbanner { height: 140px !important; } #jqt #plastic ul.minibanner li { border: 1px solid rgb(138,138,138); background-color: rgb(152,152,152); width: 145px; height: 81px; float: left; -webkit-border-radius: 5px; padding: 0; } #jqt #plastic ul.bigbanner li { border: 1px solid rgb(138,138,138); background-color: rgb(152,152,152); width: 296px; height: 140px; float: left; -webkit-border-radius: 5px; padding: 0; margin-bottom: 4px; } #jqt #plastic ul.minibanner li:first-child { margin-right: 6px; } #jqt #plastic ul.minibanner li a { color: transparent; text-shadow: none; display: block; width: 145px; height: 81px; } #jqt #plastic ul.bigbanner li a { color: transparent; text-shadow: none; display: block; width: 296px; height: 145px; } /* @end */ /* @group Individual */ #jqt ul.individual { border: 0; background: none; clear: both; overflow: hidden; } #jqt ul.individual li { color: rgb(183,190,205); background: white; border: 1px solid rgb(180,180,180); font-size: 14px; text-align: center; -webkit-border-radius: 8px; -webkit-box-sizing: border-box; width: 48%; float: left; display: block; padding: 11px 10px 14px 10px; } #jqt ul.individual li + li { float: right; } #jqt ul.individual li a { color: rgb(50,79,133); line-height: 16px; margin: -11px -10px -14px -10px; padding: 11px 10px 14px 10px; -webkit-border-radius: 8px; } #jqt ul.individual li a:hover { color: #fff; background: #36c; } /* @end */ /* @group Toggle */ #jqt .toggle { width: 94px; position: relative; height: 27px; display: block; overflow: hidden; float: right; } #jqt .toggle input[type="checkbox"]:checked { left: 0px; } #jqt .toggle input[type="checkbox"] { -webkit-tap-highlight-color: rgba(0,0,0,0); margin: 0; -webkit-border-radius: 5px; background: #fff url(img/on_off.png) 0 0 no-repeat; height: 27px; overflow: hidden; width: 149px; border: 0; -webkit-appearance: textarea; background-color: transparent; -webkit-transition: left .15s; position: absolute; top: 0; left: -55px; } /* @end */ #jqt .info { background: #dce1eb; font-size: 12px; line-height: 16px; text-align: center; text-shadow: rgba(255,255,255,.8) 0 1px 0; color: rgb(76, 86, 108); padding: 15px; border-top: 1px solid rgba(76, 86, 108, .3); font-weight: bold; } input[type='submit'] { -webkit-border-radius: 4px; background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(238,238,238,1)), to(rgba(156,158,160,1))); border: 1px outset #aaa; display: block; font-size: inherit; font-weight: inherit; padding: 10px; }