app/soc/content/css/soc-081108.css
changeset 449 a4dc4c9e7356
parent 426 114fe0f840c8
child 450 365c2cc68bd7
equal deleted inserted replaced
448:075360be6743 449:a4dc4c9e7356
       
     1 /*
       
     2 Copyright 2008 the Melange authors.
       
     3 
       
     4 Licensed under the Apache License, Version 2.0 (the "License");
       
     5 you may not use this file except in compliance with the License.
       
     6 You may obtain a copy of the License at
       
     7 
       
     8   http://www.apache.org/licenses/LICENSE-2.0
       
     9 
       
    10 Unless required by applicable law or agreed to in writing, software
       
    11 distributed under the License is distributed on an "AS IS" BASIS,
       
    12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
       
    13 See the License for the specific language governing permissions and
       
    14 limitations under the License.
       
    15  */
       
    16  
       
    17 /* 
       
    18  * STANDARD HTML TAGS 
       
    19  */ 
       
    20 
       
    21 body {
       
    22   background-color: white;
       
    23   color: black;
       
    24 
       
    25   font-family: Arial, sans-serif;
       
    26   font-size: medium;
       
    27 
       
    28   margin: 8px;
       
    29   margin-top: 3px;
       
    30 }
       
    31 
       
    32 img {
       
    33   border: 0;
       
    34 }
       
    35 
       
    36 form {
       
    37   margin: 0;
       
    38   padding: 0;
       
    39 }
       
    40 
       
    41 li {
       
    42   margin-bottom: 0.25em;
       
    43 }
       
    44 
       
    45 /* HEADERS */
       
    46 h1 {
       
    47   font-size: x-large;
       
    48   margin-top: 0px;
       
    49 }
       
    50 
       
    51 h2 {
       
    52   font-size: large;
       
    53 }
       
    54 
       
    55 h3 {
       
    56   font-size: medium;
       
    57 }
       
    58 
       
    59 h4 {
       
    60   font-size: small;
       
    61 }
       
    62 
       
    63 /* PRE-FORMATTED TEXT */
       
    64 pre, code {
       
    65   color: #007000;
       
    66   font-family: "bogus font here", monospace;
       
    67   font-size: 100%;
       
    68 }
       
    69 
       
    70 pre {
       
    71   border: 1px solid silver;
       
    72   background-color: #f5f5f5;
       
    73   padding: 0.5em;
       
    74   overflow: auto;
       
    75   margin: 2em;
       
    76 }
       
    77 
       
    78 pre ins {
       
    79   color: #cc0000;
       
    80   font-weight: bold;
       
    81   text-decoration: none;
       
    82 }
       
    83 
       
    84 /* LINKS AND ANCHORS */ 
       
    85 a:link {
       
    86   color: #0000cc;
       
    87 }
       
    88 
       
    89 a:active {
       
    90   color: #cc0000;
       
    91 }
       
    92 
       
    93 a:visited {
       
    94   color: #551a8b;
       
    95 }
       
    96 
       
    97 a.selected, .selected a, .selected {
       
    98   color: black;
       
    99   font-weight: bold;
       
   100   text-decoration: none;
       
   101 }
       
   102 
       
   103 a.novisit {
       
   104   color: #2a55a3;
       
   105 }
       
   106 
       
   107 a.noul, a.noulv {
       
   108   color: #4182fa; /* #93b7fa; */
       
   109   text-decoration: none;
       
   110 }
       
   111 
       
   112 a:hover.noul {
       
   113   text-decoration: underline;
       
   114 }
       
   115 
       
   116 a:visited.noul {
       
   117   color: #a32a91; /* #2a55a3; */
       
   118 }
       
   119 
       
   120 
       
   121 /* Styles used by Django Forms */
       
   122 ul.errorlist {
       
   123   color: #FF0000;
       
   124   font-size: small;
       
   125 }
       
   126 
       
   127 
       
   128 /* TABLES */
       
   129 table {
       
   130   border-collapse: collapse;
       
   131 }
       
   132 
       
   133 th, td {
       
   134   /*padding: 0;*/
       
   135   padding:2px 5px;
       
   136   vertical-align: top;
       
   137   text-align: left;
       
   138 }
       
   139 
       
   140 /* FORM TABLE FIELDS */ 
       
   141 td.formfieldrequired {
       
   142   font-style: italic;
       
   143   font-size: small;
       
   144 }
       
   145 
       
   146 td.formfieldhelptext {
       
   147   font-style: italic;
       
   148   font-size: small;
       
   149 }
       
   150 
       
   151 td.formfielderror {
       
   152   color: #FF0000;
       
   153   font-size: small;
       
   154 }
       
   155 
       
   156 td.formfieldheading {
       
   157   font-weight: bold;
       
   158   font-size: small;
       
   159 }
       
   160 
       
   161 td.formfieldlabel {
       
   162   font-weight: bold;
       
   163   font-size: small;
       
   164 }
       
   165 
       
   166 td.formfielderrorlabel {
       
   167   font-weight: bold;
       
   168   color: #FF0000;
       
   169   font-size: small;
       
   170 }
       
   171 
       
   172 /* TABLE QUEUES (used with .list) */
       
   173 table#queues {
       
   174   border-collapse: collapse;
       
   175   width: 100%;
       
   176 }
       
   177 
       
   178 table#queues tr {
       
   179   border-bottom: thin solid lightgray;
       
   180 }
       
   181 
       
   182 table#queues td {
       
   183   padding: 2px;
       
   184 }  
       
   185 
       
   186 /* 
       
   187  * PAGE ELEMENTS 
       
   188  */
       
   189 
       
   190 #title {
       
   191   border-top: 1px solid #3366cc;
       
   192   background-color: #e5ecf9;
       
   193   font-size: large;
       
   194   font-weight: bold;
       
   195   margin: 0;
       
   196   padding: 0;
       
   197   padding-top: 1px;
       
   198   padding-bottom: 1px;
       
   199   margin-top: 5px;
       
   200   margin-left: 200px;
       
   201   padding-left: 3px;
       
   202 }
       
   203 
       
   204 #notice {
       
   205   margin-left: 200px;
       
   206   padding: 3px;
       
   207 }
       
   208 
       
   209 #logo {
       
   210   padding-right: 18px;
       
   211   position: absolute;
       
   212   left: 0;
       
   213   top: -5px;
       
   214 }
       
   215 
       
   216 #login {
       
   217   text-align: right;
       
   218 }
       
   219 
       
   220 #badge {
       
   221   clear: both;
       
   222   margin-top: 3.5em;
       
   223   margin-bottom: 1em;
       
   224   height: 53px;
       
   225   font-style: italic;
       
   226 }
       
   227 
       
   228 #body {
       
   229   border-left: 1px dotted silver;
       
   230   margin-left: 200px;
       
   231   margin-right: 25px;
       
   232   padding-left: 18px;
       
   233   padding-bottom: 25px;
       
   234 }
       
   235 
       
   236 #body .buttons {
       
   237   margin-right: 4px;
       
   238   margin-top: 20px;
       
   239 }
       
   240   
       
   241 #body a.button, input[type^="submit"], input[type^="button"] {
       
   242   margin: 0;
       
   243   padding: 2px 5px 2px 5px;
       
   244   font-family: Arial, Sans-serif;
       
   245   font-size: 12px;
       
   246   text-decoration: none;
       
   247   color: #222;
       
   248   cursor: default;
       
   249   background: #ddd url("/soc/content/images/button-background.gif") repeat-x 0 0;
       
   250   border: 1px solid #aaa;
       
   251 }
       
   252 
       
   253 #body a.button:hover, input[type^="submit"]:hover, input[type^="button"]:hover {
       
   254   border-color: #9cf #69e #69e #7af;
       
   255 }
       
   256 
       
   257 #header {
       
   258   height: 50px;
       
   259   margin-bottom: 11px;
       
   260   position: relative;
       
   261 }
       
   262 
       
   263 #footer {
       
   264   clear: both;
       
   265   text-align: center;
       
   266   margin-top: 3.5em;
       
   267   margin-bottom: 1em;
       
   268   background-image: url("http://www.google.com/images/art.gif");
       
   269   height: 53px;
       
   270   background-repeat: no-repeat;
       
   271   background-position: left center;
       
   272 }
       
   273 
       
   274 #footer .text {
       
   275   padding-top: 20px;
       
   276 }
       
   277 
       
   278 #lastmodified {
       
   279   text-align: right;
       
   280   font-size: small;
       
   281 }
       
   282 
       
   283 #createdon {
       
   284   text-align: right;
       
   285   font-size: small;
       
   286 }
       
   287 
       
   288 #createdby {
       
   289   text-align: right;
       
   290   font-size: small;
       
   291 }
       
   292 
       
   293 /* SIDEBAR MENU */
       
   294 #side {
       
   295   width: 200px;
       
   296   margin-bottom: 3em;
       
   297   float: left;
       
   298   font-size: small;
       
   299 }
       
   300 
       
   301 #menu ul {
       
   302   margin: 0;
       
   303   padding: 0;
       
   304   list-style-type: none;
       
   305   margin-bottom: 1em;
       
   306   font-size: 95%;
       
   307 }
       
   308 
       
   309 #menu ul ul {
       
   310   margin-left: 10px;
       
   311   margin-bottom: 0;
       
   312 }
       
   313 
       
   314 #menu li {
       
   315   margin-top: 4px;
       
   316   list-style-type: none;
       
   317   list-style-image: none;
       
   318 }
       
   319 
       
   320 #menu img {
       
   321   margin-right: 4px;
       
   322 }
       
   323 
       
   324 #menu li.leaf {
       
   325   padding-left: 14px;
       
   326 }
       
   327 
       
   328 #menu h4 {
       
   329   margin: 0;
       
   330   padding: 0;
       
   331   margin-bottom: 1em;
       
   332 }
       
   333 
       
   334  
       
   335 /* SEARCH FIELD */ 
       
   336 #search {
       
   337   margin-top: 2em;
       
   338 }
       
   339 
       
   340 #search .header {
       
   341   font-weight: bold;
       
   342   font-size: 90%;
       
   343   margin-bottom: 1px;
       
   344 }
       
   345 
       
   346 #search .button {
       
   347   margin-top: 1px;
       
   348 }
       
   349 
       
   350 #search .input input {
       
   351   width: 125px;
       
   352 }
       
   353 
       
   354 /* BLOG FEEDS */
       
   355 .blog {
       
   356   border: 10px solid #e5ecf9;
       
   357   border-top: 1px solid #3366cc;
       
   358 }
       
   359 
       
   360 .blog h2 {
       
   361   margin-top: 0.1em;
       
   362   background-color: #e5ecf9;
       
   363 }
       
   364 
       
   365 .blog h2 a {
       
   366   text-decoration: none;
       
   367   color: black;
       
   368 }
       
   369 
       
   370 .blog h2 a:visited {
       
   371   text-decoration: none;
       
   372   color: black;
       
   373 }
       
   374 
       
   375 
       
   376 .blog .entry {
       
   377   margin-bottom: 1em;
       
   378 }
       
   379 
       
   380 .blog .title {
       
   381    font-size: medium;
       
   382 }
       
   383 
       
   384 .blog .author {
       
   385   color: gray;
       
   386   margin-bottom: 0.5em;
       
   387 }
       
   388 
       
   389 .blog .snippet {
       
   390   background-color: white;
       
   391 }
       
   392 
       
   393 /* LIST */
       
   394 .list {
       
   395   background-color: #E5ECF9;
       
   396   border: 1px solid  #93b7fa;
       
   397   border-bottom: 2px solid #93b7fa;
       
   398   padding: 3px;
       
   399   -moz-border-radius: 5px 5px 0px 0px;
       
   400 }
       
   401 
       
   402 .list .pagination {
       
   403   text-align: right;
       
   404   padding: 3px;
       
   405 }
       
   406 
       
   407 .list table{
       
   408   background-color: white;
       
   409 }
       
   410   
       
   411 .list table th {
       
   412   background-color: #eeeeec;
       
   413   border-right: 1px solid lightgray;
       
   414   border-top: 1px solid lightgray;
       
   415 }
       
   416 
       
   417 .list table tr.on {
       
   418   background-color: #ff9;
       
   419 }
       
   420 
       
   421 .list table tr.off {
       
   422   background-color: #fff;
       
   423 }
       
   424 
       
   425 .list table td.last {
       
   426   border-right: 1px solid lightgray;
       
   427 }
       
   428 
       
   429 .list table .first {
       
   430   border-left: 1px solid lightgray;
       
   431 }
       
   432 
       
   433 /* 
       
   434  * CUSTOM CLASSES 
       
   435  */
       
   436 
       
   437 .todo {
       
   438   color: #cc0000;
       
   439   font-size: 80%;
       
   440 }
       
   441 
       
   442 .newmark {
       
   443   color: red;
       
   444   font-size: 80%;
       
   445   vertical-align: top;
       
   446 }
       
   447 
       
   448 .error {
       
   449   color: red;
       
   450 }
       
   451 
       
   452 .notice { 
       
   453   background:#fad163; 
       
   454   font-size: small;
       
   455   font-weight: bold;
       
   456 }
       
   457 
       
   458 .rounded_ul { background: url(/soc/content/images/ul.gif) no-repeat top left; }
       
   459 .rounded_ur { background: url(/soc/content/images/ur.gif) no-repeat top right; }
       
   460 .rounded_ll { background: url(/soc/content/images/ll.gif) no-repeat bottom left; }
       
   461 .rounded_lr { background: url(/soc/content/images/lr.gif) no-repeat bottom right; }
       
   462 
       
   463 /* Disabled text. */
       
   464 .disabled {
       
   465   color: gray;
       
   466 }
       
   467 
       
   468