styles/art_air_green/theme/layout_global.css
author indvdum (gotoindvdum[at]gmail[dot]com)
Fri, 09 Mar 2012 16:14:29 +0400
changeset 13 118ae93ae3fe
permissions -rw-r--r--
Added Art Air Green style
     1 /*
     2     Main stuff
     3 */
     4 * { margin: 0; padding: 0; }
     5 html {
     6     width: 100%;
     7     height: 100%;
     8 }
     9 body {
    10     margin: 0;
    11     padding: 0;
    12     min-height: 100%;
    13     font-family: Verdana;
    14     line-height: 1.2em;
    15     font-size: 12px;
    16     color: #000;
    17     text-shadow: rgba(255, 255, 255, 0.3) 1px 1px 1px;
    18     position: relative;
    19 }
    20 html, body {
    21     background: #e6e6e6 url({T_THEME_PATH}/images/header_g2.png) top center repeat-y;
    22 }
    23 body.simple { 
    24     width: auto; 
    25     margin: 0;
    26     padding: 8px;
    27 }
    28 
    29 a, a:visited {
    30     color: #32b359;
    31     text-decoration: none;
    32     transition: color 0.25s ease;
    33     -webkit-transition: color 0.25s ease;
    34     -moz-transition: color 0.25s ease;
    35     -o-transition: color 0.25s ease;
    36     -ms-transition: color 0.25s ease;
    37 }
    38 a:hover, a:active { color: #da5d20; }
    39 a:active {
    40     transform: translate(0, 1px);
    41     -moz-transform: translate(0, 1px);
    42     -webkit-transform: translate(0, 1px);
    43     -o-transform: translate(0, 1px);
    44     -ms-transform: translate(0, 1px);
    45 }
    46 .buttons a:active, .profile-icons a:active, div.dropdown-tabs a:active, .nav-links a:active, #page-header a:active {
    47     transform: none;
    48     -moz-transform: none;
    49     -webkit-transform: none;
    50     -o-transform: none;
    51     -ms-transform: none;
    52 }
    53 
    54 img { border-width: 0; }
    55 
    56 /*
    57     Rounded blocks, transitions
    58 */
    59 div.rules, div.post, .panel, .cp-mini, ul.topiclist li {
    60     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;
    61 }
    62 .old-ie div.old-ie-wrap-2, .old-ie .old-ie-wrap-2, .old-ie ul.topiclist li {
    63     padding: 0 !important;
    64     background: #ececec url({T_THEME_PATH}/images/hdr2_t.gif) 0 0 repeat-x;
    65 }
    66 .old-ie .hdr2-1 {
    67     margin: 0;
    68     padding: 0;
    69     background: url({T_THEME_PATH}/images/hdr2_b.gif) bottom left repeat-x;
    70 }
    71 .old-ie .hdr2-2 {
    72     margin: 0;
    73     padding: 0;
    74     background: url({T_THEME_PATH}/images/hdr2_l.gif) top left repeat-y;
    75 }
    76 .old-ie .hdr2-3 {
    77     margin: 0;
    78     padding: 0;
    79     background: url({T_THEME_PATH}/images/hdr2_r.gif) top right repeat-y;
    80 }
    81 .old-ie .hdr2-4 {
    82     margin: 0;
    83     padding: 0;
    84     background: url({T_THEME_PATH}/images/hdr2_tl.gif) 0 0 no-repeat;
    85 }
    86 .old-ie .hdr2-5 {
    87     margin: 0;
    88     padding: 0;
    89     background: url({T_THEME_PATH}/images/hdr2_tr.gif) top right no-repeat;
    90 }
    91 .old-ie .hdr2-6 {
    92     margin: 0;
    93     padding: 0;
    94     background: url({T_THEME_PATH}/images/hdr2_bl.gif) bottom left no-repeat;
    95 }
    96 .old-ie .hdr2-last {
    97     margin: 0;
    98     padding: 5px;
    99     background: url({T_THEME_PATH}/images/hdr2_br.gif) bottom right no-repeat;
   100 }
   101 div.forabg, div.forumbg, div.panel-wrapper {
   102     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;
   103     padding: 6px;
   104 }
   105 .old-ie div.old-ie-wrap-1 {
   106     padding: 0;
   107 }
   108 .old-ie .hdr1-1 {
   109     margin: 0;
   110     padding: 0;
   111 }
   112 .old-ie .hdr1-2 {
   113     margin: 0;
   114     padding: 0;
   115     background: url({T_THEME_PATH}/images/hdr1_tl.gif) top left no-repeat;
   116 }
   117 .old-ie .hdr1-3 {
   118     margin: 0;
   119     padding: 0;
   120     background: url({T_THEME_PATH}/images/hdr1_tr.gif) top right no-repeat;
   121 }
   122 .old-ie .hdr1-4 {
   123     margin: 0;
   124     padding: 0;
   125     background: url({T_THEME_PATH}/images/hdr1_bl.gif) bottom left no-repeat;
   126 }
   127 .old-ie .hdr1-5 {
   128     margin: 0;
   129     padding: 6px;
   130     background: url({T_THEME_PATH}/images/hdr1_br.gif) bottom right no-repeat;
   131 }
   132 
   133 .corners-top, .corners-bottom { display: none; }
   134 
   135 div.nav-links, img, .topic-actions, .profile-icons {
   136     opacity: 0;
   137 }
   138 div.nav-links, img, .topic-actions, .profile-icons, div.rules, div.forabg, div.forumbg, div.post, .panel, .cp-mini {
   139     transition: opacity 1s ease;
   140     -webkit-transition: opacity 1s ease;
   141     -moz-transition: opacity 1s ease;
   142     -o-transition: opacity 1s ease;
   143     -ms-transition: opacity 1s ease;
   144 }
   145 body.transform div.nav-links {
   146     transition-property: border-color, background-color, opacity;
   147     -webkit-transition-property: border-color, background-color, opacity;
   148     -moz-transition-property: border-color, background-color, opacity;
   149     -o-transition-property: border-color, background-color, opacity;
   150     -ms-transition-property: border-color, background-color, opacity;
   151     transition-duration: 0.5s, 0.5s, 1s;
   152     -webkit-transition-duration: 0.5s, 0.5s, 1s;
   153     -moz-transition-duration: 0.5s, 0.5s, 1s;
   154     -o-transition-duration: 0.5s, 0.5s, 1s;
   155     -ms-transition-duration: 0.5s, 0.5s, 1s;
   156 }
   157 body.transform div.nav-links, body.transform img, body.transform .topic-actions, body.transform .profile-icons { opacity: 1; }
   158 
   159 /* 
   160     Arrow links  
   161 */
   162 a.up		{ background: url({T_THEME_PATH}/images/arrow_up.png) no-repeat left center; }
   163 a.down		{ background: url({T_THEME_PATH}/images/arrow_down.png) no-repeat right center; }
   164 a.left		{ background: url({T_THEME_PATH}/images/arrow_left.png) no-repeat 3px 60%; }
   165 a.right		{ background: url({T_THEME_PATH}/images/arrow_right.png)  no-repeat 95% 60%; }
   166 
   167 a.up, a.up:link, a.up:active, a.up:visited {
   168 	padding-left: 10px;
   169 	text-decoration: none;
   170 	border-bottom-width: 0;
   171 }
   172 
   173 a.up:hover {
   174 	background-position: left top;
   175 	background-color: transparent;
   176 }
   177 
   178 a.down, a.down:link, a.down:active, a.down:visited {
   179 	padding-right: 10px;
   180 }
   181 
   182 a.down:hover {
   183 	background-position: right bottom;
   184 	text-decoration: none;
   185 }
   186 
   187 a.left, a.left:active, a.left:visited {
   188 	padding-left: 12px;
   189 }
   190 
   191 a.left:hover {
   192 	text-decoration: none;
   193 	background-position: 0 60%;
   194 }
   195 
   196 a.right, a.right:active, a.right:visited {
   197 	padding-right: 12px;
   198 }
   199 
   200 a.right:hover {
   201 	text-decoration: none;
   202 	background-position: 100% 60%;
   203 }
   204 
   205 .back2top {
   206 	clear: both;
   207 	height: 11px;
   208 	text-align: right;
   209 }
   210 
   211 a.top {
   212 	background: url("{IMG_ICON_BACK_TOP_SRC}") no-repeat top left;
   213 	text-decoration: none;
   214 	width: {IMG_ICON_BACK_TOP_WIDTH}px;
   215 	height: {IMG_ICON_BACK_TOP_HEIGHT}px;
   216 	display: block;
   217 	float: right;
   218 	overflow: hidden;
   219 	letter-spacing: 1000px;
   220 	text-indent: 11px;
   221 }
   222 
   223 a.top2 {
   224 	background: url("{IMG_ICON_BACK_TOP_SRC}") no-repeat 0 center;
   225 	text-decoration: none;
   226 	padding-left: 14px;
   227 	line-height: 1em;
   228 	margin: 4px 0;
   229 	display: inline-block;
   230 }
   231 
   232 a.up, a.down, a.left, a.right, a.top, a.top2 {
   233     transition-property: color, background-position;
   234     -webkit-transition-property: color, background-position;
   235     -moz-transition-property: color, background-position;
   236     -o-transition-property: color, background-position;
   237     -ms-transition-property: color, background-position;
   238     transition-duration: 0.25s;
   239     -webkit-transition-duration: 0.25s;
   240     -moz-transition-duration: 0.25s;
   241     -o-transition-duration: 0.25s;
   242     -ms-transition-duration: 0.25s;
   243     transition-timing-function: ease;
   244     -webkit-transition-timing-function: ease;
   245     -moz-transition-timing-function: ease;
   246     -o-transition-timing-function: ease;
   247     -ms-transition-timing-function: ease;
   248 }
   249 
   250 
   251 /*
   252     Misc stuff
   253 */
   254 .clear { clear: both; }
   255 
   256 .rightside, .right-box { 
   257     text-align: right;
   258 }
   259 
   260 .left-box {
   261     float: left;
   262     text-align: left;
   263     width: auto;
   264 }
   265 
   266 p.rightside, li.rightside, ul.rightside, ul.linklist li.rightside, .right-box { 
   267     float: right; 
   268     margin-left: 5px;
   269     margin-right: 0;
   270 }
   271 
   272 ul.leftside {
   273 	float: left;
   274 	margin-left: 0;
   275 	margin-right: 5px;
   276 	text-align: left;
   277 }
   278 
   279 hr {
   280     background-color: none;
   281     border: solid 1px transparent;
   282     border-top-color: #d0d0d0;
   283     border-bottom-color: #f4f4f4;
   284     width: 95%;
   285     margin: 0 auto;
   286     text-align: center;
   287 }
   288 
   289 hr.dashed {
   290 	border-top-style: dashed;
   291 	border-bottom-style: dashed;
   292 }
   293 
   294 .clearfix, #tabs, #minitabs, fieldset dl, ul.topiclist dl, dl.polls {
   295     min-height: 1px;
   296     overflow: hidden;
   297 }
   298 span.corners-bottom { 
   299     display: block; 
   300     clear: both;
   301 }
   302 
   303 dl.details {
   304 	font-size: 12px;
   305 }
   306 
   307 dl.details dt {
   308 	float: left;
   309 	clear: left;
   310 	width: 30%;
   311 	text-align: right;
   312 	color: #444;
   313 	display: block;
   314 }
   315 
   316 dl.details dd {
   317 	margin-left: 0;
   318 	padding-left: 5px;
   319 	margin-bottom: 5px;
   320 	color: #222;
   321 	float: left;
   322 	width: 65%;
   323 }
   324 
   325 /*
   326     Main blocks without rounded container
   327 */
   328 #page-body > h2, #page-body > form > h2, #page-body > h3, #page-body > form > h3, div#message h2, #confirm h2, #agreement h2 {
   329     font-size: 20px;
   330     font-weight: normal;
   331     text-shadow: rgba(128, 128, 128, 0.1) 2px 2px 0;
   332     margin: 20px 2px 10px;
   333 }
   334 #page-body > h2, #page-body > form > h2, #page-body > h3, #page-body > form > h3, div#message h2, #confirm h2, #agreement h2, 
   335 #page-body h2.title a, #page-body h2.title a:visited { color: #da5d20; }
   336 #page-body h2.title a:hover { color: #da5d20; }
   337 
   338 /*
   339     Forms
   340 */
   341 fieldset {
   342     margin: 0;
   343     padding: 0;
   344     border-width: 0;
   345 }
   346 fieldset.display-options { 
   347     margin: 5px 0;
   348     text-align: center; 
   349 }
   350 
   351 /*
   352     Errors
   353 */
   354 .error {
   355 	color: #da5d20;
   356 	font-weight: bold;
   357 	font-size: 12px;
   358 }
   359 
   360 /*
   361     Old browser
   362 */
   363 #old-browser {
   364     text-align: center;
   365     padding: 4px;
   366     color: #000;
   367     background-color: #f59c70;
   368 }
   369 #old-browser a { color: #000 !important; }