diff -r 898199d067e7 -r 118ae93ae3fe styles/art_air_green/theme/layout_global.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/styles/art_air_green/theme/layout_global.css Fri Mar 09 16:14:29 2012 +0400 @@ -0,0 +1,369 @@ +/* + Main stuff +*/ +* { margin: 0; padding: 0; } +html { + width: 100%; + height: 100%; +} +body { + margin: 0; + padding: 0; + min-height: 100%; + font-family: Verdana; + line-height: 1.2em; + font-size: 12px; + color: #000; + text-shadow: rgba(255, 255, 255, 0.3) 1px 1px 1px; + position: relative; +} +html, body { + background: #e6e6e6 url({T_THEME_PATH}/images/header_g2.png) top center repeat-y; +} +body.simple { + width: auto; + margin: 0; + padding: 8px; +} + +a, a:visited { + color: #32b359; + text-decoration: none; + transition: color 0.25s ease; + -webkit-transition: color 0.25s ease; + -moz-transition: color 0.25s ease; + -o-transition: color 0.25s ease; + -ms-transition: color 0.25s ease; +} +a:hover, a:active { color: #da5d20; } +a:active { + transform: translate(0, 1px); + -moz-transform: translate(0, 1px); + -webkit-transform: translate(0, 1px); + -o-transform: translate(0, 1px); + -ms-transform: translate(0, 1px); +} +.buttons a:active, .profile-icons a:active, div.dropdown-tabs a:active, .nav-links a:active, #page-header a:active { + transform: none; + -moz-transform: none; + -webkit-transform: none; + -o-transform: none; + -ms-transform: none; +} + +img { border-width: 0; } + +/* + Rounded blocks, transitions +*/ +div.rules, div.post, .panel, .cp-mini, ul.topiclist li { + background: url({T_THEME_PATH}/images/hdr2_br.gif) bottom right no-repeat, url({T_THEME_PATH}/images/hdr2_bl.gif) bottom left no-repeat, url({T_THEME_PATH}/images/hdr2_tr.gif) top right no-repeat, url({T_THEME_PATH}/images/hdr2_tl.gif) 0 0 no-repeat, url({T_THEME_PATH}/images/hdr2_r.gif) top right repeat-y, url({T_THEME_PATH}/images/hdr2_l.gif) top left repeat-y, url({T_THEME_PATH}/images/hdr2_b.gif) bottom left repeat-x, #ececec url({T_THEME_PATH}/images/hdr2_t.gif) 0 0 repeat-x; +} +.old-ie div.old-ie-wrap-2, .old-ie .old-ie-wrap-2, .old-ie ul.topiclist li { + padding: 0 !important; + background: #ececec url({T_THEME_PATH}/images/hdr2_t.gif) 0 0 repeat-x; +} +.old-ie .hdr2-1 { + margin: 0; + padding: 0; + background: url({T_THEME_PATH}/images/hdr2_b.gif) bottom left repeat-x; +} +.old-ie .hdr2-2 { + margin: 0; + padding: 0; + background: url({T_THEME_PATH}/images/hdr2_l.gif) top left repeat-y; +} +.old-ie .hdr2-3 { + margin: 0; + padding: 0; + background: url({T_THEME_PATH}/images/hdr2_r.gif) top right repeat-y; +} +.old-ie .hdr2-4 { + margin: 0; + padding: 0; + background: url({T_THEME_PATH}/images/hdr2_tl.gif) 0 0 no-repeat; +} +.old-ie .hdr2-5 { + margin: 0; + padding: 0; + background: url({T_THEME_PATH}/images/hdr2_tr.gif) top right no-repeat; +} +.old-ie .hdr2-6 { + margin: 0; + padding: 0; + background: url({T_THEME_PATH}/images/hdr2_bl.gif) bottom left no-repeat; +} +.old-ie .hdr2-last { + margin: 0; + padding: 5px; + background: url({T_THEME_PATH}/images/hdr2_br.gif) bottom right no-repeat; +} +div.forabg, div.forumbg, div.panel-wrapper { + background: url({T_THEME_PATH}/images/hdr1_br.gif) bottom right no-repeat, url({T_THEME_PATH}/images/hdr1_bl.gif) bottom left no-repeat, url({T_THEME_PATH}/images/hdr1_tr.gif) top right no-repeat, url({T_THEME_PATH}/images/hdr1_tl.gif) top left no-repeat; + padding: 6px; +} +.old-ie div.old-ie-wrap-1 { + padding: 0; +} +.old-ie .hdr1-1 { + margin: 0; + padding: 0; +} +.old-ie .hdr1-2 { + margin: 0; + padding: 0; + background: url({T_THEME_PATH}/images/hdr1_tl.gif) top left no-repeat; +} +.old-ie .hdr1-3 { + margin: 0; + padding: 0; + background: url({T_THEME_PATH}/images/hdr1_tr.gif) top right no-repeat; +} +.old-ie .hdr1-4 { + margin: 0; + padding: 0; + background: url({T_THEME_PATH}/images/hdr1_bl.gif) bottom left no-repeat; +} +.old-ie .hdr1-5 { + margin: 0; + padding: 6px; + background: url({T_THEME_PATH}/images/hdr1_br.gif) bottom right no-repeat; +} + +.corners-top, .corners-bottom { display: none; } + +div.nav-links, img, .topic-actions, .profile-icons { + opacity: 0; +} +div.nav-links, img, .topic-actions, .profile-icons, div.rules, div.forabg, div.forumbg, div.post, .panel, .cp-mini { + transition: opacity 1s ease; + -webkit-transition: opacity 1s ease; + -moz-transition: opacity 1s ease; + -o-transition: opacity 1s ease; + -ms-transition: opacity 1s ease; +} +body.transform div.nav-links { + transition-property: border-color, background-color, opacity; + -webkit-transition-property: border-color, background-color, opacity; + -moz-transition-property: border-color, background-color, opacity; + -o-transition-property: border-color, background-color, opacity; + -ms-transition-property: border-color, background-color, opacity; + transition-duration: 0.5s, 0.5s, 1s; + -webkit-transition-duration: 0.5s, 0.5s, 1s; + -moz-transition-duration: 0.5s, 0.5s, 1s; + -o-transition-duration: 0.5s, 0.5s, 1s; + -ms-transition-duration: 0.5s, 0.5s, 1s; +} +body.transform div.nav-links, body.transform img, body.transform .topic-actions, body.transform .profile-icons { opacity: 1; } + +/* + Arrow links +*/ +a.up { background: url({T_THEME_PATH}/images/arrow_up.png) no-repeat left center; } +a.down { background: url({T_THEME_PATH}/images/arrow_down.png) no-repeat right center; } +a.left { background: url({T_THEME_PATH}/images/arrow_left.png) no-repeat 3px 60%; } +a.right { background: url({T_THEME_PATH}/images/arrow_right.png) no-repeat 95% 60%; } + +a.up, a.up:link, a.up:active, a.up:visited { + padding-left: 10px; + text-decoration: none; + border-bottom-width: 0; +} + +a.up:hover { + background-position: left top; + background-color: transparent; +} + +a.down, a.down:link, a.down:active, a.down:visited { + padding-right: 10px; +} + +a.down:hover { + background-position: right bottom; + text-decoration: none; +} + +a.left, a.left:active, a.left:visited { + padding-left: 12px; +} + +a.left:hover { + text-decoration: none; + background-position: 0 60%; +} + +a.right, a.right:active, a.right:visited { + padding-right: 12px; +} + +a.right:hover { + text-decoration: none; + background-position: 100% 60%; +} + +.back2top { + clear: both; + height: 11px; + text-align: right; +} + +a.top { + background: url("{IMG_ICON_BACK_TOP_SRC}") no-repeat top left; + text-decoration: none; + width: {IMG_ICON_BACK_TOP_WIDTH}px; + height: {IMG_ICON_BACK_TOP_HEIGHT}px; + display: block; + float: right; + overflow: hidden; + letter-spacing: 1000px; + text-indent: 11px; +} + +a.top2 { + background: url("{IMG_ICON_BACK_TOP_SRC}") no-repeat 0 center; + text-decoration: none; + padding-left: 14px; + line-height: 1em; + margin: 4px 0; + display: inline-block; +} + +a.up, a.down, a.left, a.right, a.top, a.top2 { + transition-property: color, background-position; + -webkit-transition-property: color, background-position; + -moz-transition-property: color, background-position; + -o-transition-property: color, background-position; + -ms-transition-property: color, background-position; + transition-duration: 0.25s; + -webkit-transition-duration: 0.25s; + -moz-transition-duration: 0.25s; + -o-transition-duration: 0.25s; + -ms-transition-duration: 0.25s; + transition-timing-function: ease; + -webkit-transition-timing-function: ease; + -moz-transition-timing-function: ease; + -o-transition-timing-function: ease; + -ms-transition-timing-function: ease; +} + + +/* + Misc stuff +*/ +.clear { clear: both; } + +.rightside, .right-box { + text-align: right; +} + +.left-box { + float: left; + text-align: left; + width: auto; +} + +p.rightside, li.rightside, ul.rightside, ul.linklist li.rightside, .right-box { + float: right; + margin-left: 5px; + margin-right: 0; +} + +ul.leftside { + float: left; + margin-left: 0; + margin-right: 5px; + text-align: left; +} + +hr { + background-color: none; + border: solid 1px transparent; + border-top-color: #d0d0d0; + border-bottom-color: #f4f4f4; + width: 95%; + margin: 0 auto; + text-align: center; +} + +hr.dashed { + border-top-style: dashed; + border-bottom-style: dashed; +} + +.clearfix, #tabs, #minitabs, fieldset dl, ul.topiclist dl, dl.polls { + min-height: 1px; + overflow: hidden; +} +span.corners-bottom { + display: block; + clear: both; +} + +dl.details { + font-size: 12px; +} + +dl.details dt { + float: left; + clear: left; + width: 30%; + text-align: right; + color: #444; + display: block; +} + +dl.details dd { + margin-left: 0; + padding-left: 5px; + margin-bottom: 5px; + color: #222; + float: left; + width: 65%; +} + +/* + Main blocks without rounded container +*/ +#page-body > h2, #page-body > form > h2, #page-body > h3, #page-body > form > h3, div#message h2, #confirm h2, #agreement h2 { + font-size: 20px; + font-weight: normal; + text-shadow: rgba(128, 128, 128, 0.1) 2px 2px 0; + margin: 20px 2px 10px; +} +#page-body > h2, #page-body > form > h2, #page-body > h3, #page-body > form > h3, div#message h2, #confirm h2, #agreement h2, +#page-body h2.title a, #page-body h2.title a:visited { color: #da5d20; } +#page-body h2.title a:hover { color: #da5d20; } + +/* + Forms +*/ +fieldset { + margin: 0; + padding: 0; + border-width: 0; +} +fieldset.display-options { + margin: 5px 0; + text-align: center; +} + +/* + Errors +*/ +.error { + color: #da5d20; + font-weight: bold; + font-size: 12px; +} + +/* + Old browser +*/ +#old-browser { + text-align: center; + padding: 4px; + color: #000; + background-color: #f59c70; +} +#old-browser a { color: #000 !important; } \ No newline at end of file