web/data/cubicweb.old.css
changeset 10121 23af005426bf
parent 10120 5c7d69381a5d
child 10122 67c947b4d2c9
equal deleted inserted replaced
10120:5c7d69381a5d 10121:23af005426bf
     1 /*
       
     2  *  :organization: Logilab
       
     3  *  :copyright: 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
       
     4  *  :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
       
     5  */
       
     6 
       
     7 /***************************************/
       
     8 /* xhtml tags                          */
       
     9 /***************************************/
       
    10 * {
       
    11   margin: 0px;
       
    12   padding: 0px;
       
    13 }
       
    14 
       
    15 html, body {
       
    16   background: #e2e2e2;
       
    17 }
       
    18 
       
    19 body {
       
    20   font-size: 69%;
       
    21   font-weight: normal;
       
    22   font-family: Verdana, sans-serif;
       
    23 }
       
    24 
       
    25 h1,
       
    26 .vtitle {
       
    27   font-size: %(h1FontSize)s;
       
    28   margin: 0.2em 0px 0.3em;
       
    29   border-bottom: 1px solid #000;
       
    30 }
       
    31 
       
    32 h2, h3 {
       
    33   margin-top: 0.2em;
       
    34   margin-bottom: 0.3em;
       
    35 }
       
    36 
       
    37 h2 {
       
    38   font-size: %(h2FontSize)s;
       
    39 }
       
    40 
       
    41 h3 {
       
    42   font-size: %(h3FontSize)s;
       
    43 }
       
    44 
       
    45 h4 {
       
    46   font-size: %(h4FontSize)s;
       
    47   margin: 0.2em 0px;
       
    48 }
       
    49 
       
    50 h5 {
       
    51   font-size:110%;
       
    52 }
       
    53 
       
    54 h6{
       
    55   font-size:105%;
       
    56 }
       
    57 
       
    58 /* more specific selectors to override jQueryUI's braindamaged CSS rules */
       
    59 #pageContent .ui-tabs-panel a,
       
    60 #pageContent .ui-tabs-panel a:active,
       
    61 #pageContent .ui-tabs-panel a:visited,
       
    62 #pageContent .ui-tabs-panel a:link,
       
    63 a, a:active, a:visited, a:link {
       
    64   color: %(aColor)s;
       
    65   text-decoration: none;
       
    66 }
       
    67 
       
    68 a:hover{
       
    69   text-decoration: underline;
       
    70 }
       
    71 
       
    72 a img{
       
    73   text-align: center;
       
    74 }
       
    75 
       
    76 img{
       
    77   border: none;
       
    78 }
       
    79 
       
    80 img.prevnext {
       
    81   width: 22px;
       
    82   height: 22px;
       
    83 }
       
    84 
       
    85 img.prevnext_nogo {
       
    86   width: 22px;
       
    87   height: 22px;
       
    88   filter:alpha(opacity=25); /* IE */
       
    89   opacity:.25;
       
    90 }
       
    91 
       
    92 p {
       
    93   margin: 0em 0px 0.2em;
       
    94   padding-top: 2px;
       
    95 }
       
    96 
       
    97 table, td, input, select{
       
    98   font-size: 100%;
       
    99 }
       
   100 
       
   101 table {
       
   102   border-collapse: collapse;
       
   103   border: none;
       
   104 }
       
   105 
       
   106 table th, table td {
       
   107   vertical-align: top;
       
   108 }
       
   109 
       
   110 table td img {
       
   111   vertical-align: middle;
       
   112   margin-right: 10px;
       
   113 }
       
   114 
       
   115 ol {
       
   116   margin: 1px 0px 1px 16px;
       
   117 }
       
   118 
       
   119 ul{
       
   120   margin: 1px 0px 1px 4px;
       
   121   list-style-type: none;
       
   122 }
       
   123 
       
   124 ul > li {
       
   125   margin-top: 2px;
       
   126   padding: 0px 0px 2px 8px;
       
   127   background: url("bullet_orange.png") 0% 6px no-repeat;
       
   128 }
       
   129 
       
   130 dt {
       
   131   font-size:1.17em;
       
   132   font-weight:600;
       
   133 }
       
   134 
       
   135 dd {
       
   136   margin: 0.6em 0 1.5em 2em;
       
   137 }
       
   138 
       
   139 fieldset {
       
   140   border: none;
       
   141 }
       
   142 
       
   143 legend {
       
   144   padding: 0px 2px;
       
   145   font: bold 1em Verdana, sans-serif;
       
   146 }
       
   147 
       
   148 input, textarea {
       
   149   padding: 0.2em;
       
   150   vertical-align: middle;
       
   151   border: 1px solid #ccc;
       
   152 }
       
   153 
       
   154 input:focus {
       
   155   border: 1px inset #ff7700;
       
   156 }
       
   157 
       
   158 label, .label {
       
   159   font-weight: bold;
       
   160 }
       
   161 
       
   162 iframe {
       
   163   border: 0px;
       
   164 }
       
   165 
       
   166 pre {
       
   167   font-family: Courier, "Courier New", Monaco, monospace;
       
   168   font-size: 100%;
       
   169   color: #000;
       
   170   background-color: #f2f2f2;
       
   171   border: 1px solid #ccc;
       
   172   margin: 10px 0;
       
   173   padding-bottom: 12px;
       
   174   padding-left: 5px;
       
   175 }
       
   176 
       
   177 code {
       
   178   font-size: 120%;
       
   179   color: #000;
       
   180   background-color: #f2f2f2;
       
   181   border: 1px solid #ccc;
       
   182 }
       
   183 
       
   184 blockquote {
       
   185   font-family: Courier, "Courier New", serif;
       
   186   font-size: 120%;
       
   187   margin: 5px 0px;
       
   188   padding: 0.8em;
       
   189   background-color: #f2f2f2;
       
   190   border: 1px solid #ccc;
       
   191 }
       
   192 
       
   193 /***************************************/
       
   194 /* generic classes                     */
       
   195 /***************************************/
       
   196 
       
   197 .odd {
       
   198   background-color: #f7f6f1;
       
   199 }
       
   200 
       
   201 .even {
       
   202   background-color: transparent;
       
   203 }
       
   204 
       
   205 .hr {
       
   206   border-bottom: 1px dotted #ccc;
       
   207   margin: 1em 0px;
       
   208 }
       
   209 
       
   210 .left {
       
   211   float: left;
       
   212 }
       
   213 
       
   214 .right {
       
   215   float: right;
       
   216 }
       
   217 
       
   218 .clear {
       
   219   clear: both;
       
   220 }
       
   221 
       
   222 .hidden {
       
   223   display: none;
       
   224   visibility: hidden;
       
   225 }
       
   226 
       
   227 /* copied verbatim from bootstrap 3.0 */
       
   228 .invisible {
       
   229   visibility: hidden;
       
   230 }
       
   231 
       
   232 /* copied verbatim from bootstrap 3.0 */
       
   233 .list-unstyled {
       
   234   padding-left: 0;
       
   235   list-style: none;
       
   236 }
       
   237 
       
   238 .caption {
       
   239   font-weight: bold;
       
   240 }
       
   241 
       
   242 .legend{
       
   243   font-style: italic;
       
   244 }
       
   245 
       
   246 /* rest related image classes generated with align: directive */
       
   247 
       
   248 img.align-right {
       
   249   margin-left: auto;
       
   250   display:block;
       
   251 }
       
   252 
       
   253 img.align-left {
       
   254   margin-right: auto;
       
   255   display:block;
       
   256 }
       
   257 
       
   258 img.align-center{
       
   259   text-align: center;
       
   260   margin-left: auto;
       
   261   margin-right: auto;
       
   262   display:block;
       
   263 }
       
   264 
       
   265 
       
   266 /***************************************/
       
   267 /*   LAYOUT                            */
       
   268 /***************************************/
       
   269 
       
   270 /* header */
       
   271 
       
   272 table#header {
       
   273   background-image: linear-gradient(white, #e2e2e2);
       
   274   width: 100%;
       
   275   border-bottom: 1px solid #bbb;
       
   276   text-shadow: 1px 1px 0 #f5f5f5;
       
   277 }
       
   278 
       
   279 table#header td {
       
   280   vertical-align: middle;
       
   281 }
       
   282 
       
   283 table#header, table#header a {
       
   284   color: #444;
       
   285 }
       
   286 
       
   287 table#header td#headtext {
       
   288   white-space: nowrap;
       
   289   padding: 0 10px;
       
   290   width: 10%;
       
   291 }
       
   292 
       
   293 #logo{
       
   294   width: 150px;
       
   295   height: 42px;
       
   296   background-image: url(logo-cubicweb.svg);
       
   297   background-repeat: no-repeat;
       
   298   background-position: center center;
       
   299   background-size: contain;
       
   300   float: left;
       
   301 }
       
   302 
       
   303 table#header td#header-right {
       
   304   white-space: nowrap;
       
   305   width: 10%;
       
   306 }
       
   307 table#header td#header-center{
       
   308   border-bottom-left-radius: 10px;
       
   309   border-top-left-radius: 10px;
       
   310   padding-left: 1em;
       
   311 }
       
   312 
       
   313 span#appliName {
       
   314   font-weight: bold;
       
   315   white-space: nowrap;
       
   316 }
       
   317 
       
   318 /* FIXME appear with 4px width in IE6 */
       
   319 div#stateheader{
       
   320   min-width: 66%;
       
   321 }
       
   322 
       
   323 /* Popup on login box and userActionBox */
       
   324 
       
   325 .popupWrapper{
       
   326   position:relative;
       
   327 }
       
   328 
       
   329 div.popup {
       
   330   position: absolute;
       
   331   background: #fff;
       
   332   border: 1px solid black;
       
   333   text-align: left;
       
   334   z-index: 400;
       
   335 }
       
   336 
       
   337 div.popup ul li a {
       
   338   text-decoration: none;
       
   339   color: black;
       
   340 }
       
   341 
       
   342 /* main zone */
       
   343 
       
   344 div#page {
       
   345   background: #e2e2e2;
       
   346   position: relative;
       
   347   min-height: 800px;
       
   348 }
       
   349 
       
   350 table#mainLayout{
       
   351  padding: 0px 3px;
       
   352 }
       
   353 
       
   354 table#mainLayout td#contentColumn {
       
   355   padding: 8px 10px 5px;
       
   356 }
       
   357 
       
   358 table#mainLayout td#navColumnLeft,
       
   359 table#mainLayout td#navColumnRight {
       
   360   width: 16em;
       
   361 }
       
   362 
       
   363 #contentheader {
       
   364   margin: 0px;
       
   365   padding: 0.2em 0.5em 0.5em 0.5em;
       
   366 }
       
   367 
       
   368 #contentheader a {
       
   369   color: #000;
       
   370 }
       
   371 
       
   372 div#pageContent {
       
   373   clear: both;
       
   374   padding: 10px 1em 2em;
       
   375   background: #ffffff;
       
   376   border: 1px solid #ccc;
       
   377 }
       
   378 
       
   379 /* rql bar */
       
   380 
       
   381 div#rqlinput {
       
   382   border: 1px solid #cfceb7;
       
   383   margin-bottom: 8px;
       
   384   padding: 1px;
       
   385   background: #cfceb7;
       
   386   width: 100%;
       
   387 }
       
   388 
       
   389 input#rql {
       
   390   width: 99%;
       
   391 }
       
   392 
       
   393 input.rqlsubmit{
       
   394   display: block;
       
   395   width: 20px;
       
   396   height: 20px;
       
   397   background: %(buttonBgColor)s url("go.png") 50% 50% no-repeat;
       
   398   vertical-align: bottom;
       
   399 }
       
   400 /* old boxes, deprecated */
       
   401 
       
   402 div.boxFrame {
       
   403   width: 100%;
       
   404 }
       
   405 
       
   406 div.boxTitle {
       
   407   padding-top: 0px;
       
   408   padding-bottom: 0.2em;
       
   409   font: bold 100% Georgia;
       
   410   color: #fff;
       
   411   background: #ff9900 url("search.png") left bottom repeat-x;
       
   412 }
       
   413 
       
   414 div.boxTitle span,
       
   415 div.sideBoxTitle span {
       
   416   padding: 0px 5px;
       
   417   white-space: nowrap;
       
   418 }
       
   419 
       
   420 div.sideBoxTitle span {
       
   421   color: #222211;
       
   422 }
       
   423 
       
   424 .boxFrame a {
       
   425   color: #000;
       
   426 }
       
   427 
       
   428 div.boxContent {
       
   429   padding: 3px 0px;
       
   430   background: #fff;
       
   431   border-top: none;
       
   432 }
       
   433 
       
   434 div.shadow{
       
   435   height: 14px;
       
   436 }
       
   437 
       
   438 div.sideBoxTitle {
       
   439   background: #cfceb7;
       
   440   display: block;
       
   441   font: bold 100% Georgia;
       
   442   border-top-left-radius: 6px;
       
   443   border-top-right-radius: 6px;
       
   444 }
       
   445 
       
   446 div.sideBox {
       
   447   padding: 0 0 0.2em;
       
   448   margin-bottom: 0.5em;
       
   449 }
       
   450 
       
   451 ul.sideBox li {
       
   452  list-style: none;
       
   453  background: none;
       
   454  padding: 0px 0px 1px 1px;
       
   455  }
       
   456 
       
   457 div.sideBoxBody {
       
   458   padding: 0.2em 5px;
       
   459   background: #eeedd9;
       
   460   border-bottom-left-radius: 6px;
       
   461   border-bottom-right-radius: 6px;
       
   462 }
       
   463 
       
   464 div.sideBoxBody a {
       
   465   color:#555544;
       
   466 }
       
   467 
       
   468 div.sideBoxBody a:hover {
       
   469   text-decoration: underline;
       
   470 }
       
   471 
       
   472 div.sideBox table td {
       
   473   padding-right: 1em;
       
   474 }
       
   475 
       
   476 /* boxes */
       
   477 
       
   478 div.navboxes {
       
   479   padding-top: 0.5em;
       
   480 }
       
   481 
       
   482 div.boxTitle {
       
   483   overflow: hidden;
       
   484   font-weight: bold;
       
   485   border-top-left-radius: 6px;
       
   486   border-top-right-radius: 6px;
       
   487 }
       
   488 
       
   489 div.boxTitle span {
       
   490   padding: 0px 0.5em;
       
   491   white-space: nowrap;
       
   492 }
       
   493 
       
   494 div.boxBody {
       
   495   padding: 3px 3px;
       
   496   border-top: none;
       
   497   background-color: %(leftrightBoxBodyBgColor)s;
       
   498 }
       
   499 
       
   500 div.boxBody a {
       
   501   color: %(leftrightBoxBodyColor)s;
       
   502 }
       
   503 
       
   504 div.boxBody a:hover {
       
   505   text-decoration: none;
       
   506   cursor: pointer;
       
   507   background-color: %(leftrightBoxBodyHoverBgColor)s;
       
   508 }
       
   509 
       
   510 hr.boxSeparator {
       
   511   margin-top: 0.5em;
       
   512   margin-bottom: 0.5em;
       
   513 }
       
   514 
       
   515 /* boxes contextual customization */
       
   516 
       
   517 .contextFreeBox div.boxTitle {
       
   518   background: %(contextFreeBoxTitleBg)s;
       
   519   color: %(contextFreeBoxTitleColor)s;
       
   520 }
       
   521 
       
   522 .contextualBox div.boxTitle {
       
   523   background: %(contextualBoxTitleBg)s;
       
   524   color: %(contextualBoxTitleColor)s;
       
   525 }
       
   526 
       
   527 .primaryRight div.boxTitle {
       
   528   background: %(incontextBoxTitleBg)s;
       
   529   color: %(incontextBoxTitleColor)s;
       
   530 }
       
   531 
       
   532 .primaryRight div.boxBody {
       
   533   padding: 0.2em 5px;
       
   534   background: %(incontextBoxBodyBgColor)s;
       
   535 }
       
   536 
       
   537 .primaryRight div.boxBody a {
       
   538   color: %(incontextBoxBodyColor)s;
       
   539 }
       
   540 
       
   541 .primaryRight div.boxBody a:hover {
       
   542   background-color: %(incontextBoxBodyHoverBgColor)s;
       
   543 }
       
   544 
       
   545 .primaryRight div.boxFooter {
       
   546   margin-bottom: 1em;
       
   547 }
       
   548 
       
   549 #navColumnLeft div.boxFooter, #navColumnRight div.boxFooter{
       
   550   height: 14px;
       
   551 }
       
   552 
       
   553 .navboxes {
       
   554   padding: 2px;
       
   555 }
       
   556 
       
   557 .boxBody, .boxTitle, #pageContent, #appMsg {
       
   558     box-shadow: 1px 1px 3px Gray;
       
   559 }
       
   560 
       
   561 /* boxes lists and menus */
       
   562 
       
   563 ul.boxListing {
       
   564   margin: 0;
       
   565   padding: 0;
       
   566 }
       
   567 
       
   568 ul.boxListing ul {
       
   569   padding: 1px 3px;
       
   570 }
       
   571 
       
   572 ul.boxListing a {
       
   573   color: %(defaultColor)s;
       
   574   padding: 1px 3px;
       
   575   display: block; /* necessary to get links across all width available (see on mouse over) */
       
   576 }
       
   577 
       
   578 ul.boxListing a.action {
       
   579   padding: 0;
       
   580   display: inline;
       
   581 }
       
   582 
       
   583 ul.boxListing a.action + a{
       
   584   display: inline;
       
   585 }
       
   586 
       
   587 ul.boxListing li {
       
   588   margin: 0px;
       
   589   padding: 0px;
       
   590   background-image: none;
       
   591 }
       
   592 
       
   593 ul.boxListing ul li {
       
   594   margin: 0px;
       
   595   padding-left: 1em;
       
   596 }
       
   597 
       
   598 ul.boxListing ul li a {
       
   599   padding-left: 10px;
       
   600   background-image: url("bullet_orange.png");
       
   601   background-repeat: no-repeat;
       
   602   background-position: 0 6px;
       
   603 }
       
   604 
       
   605 ul.boxListing .selected {
       
   606   color: %(aColor)s;
       
   607   font-weight: bold;
       
   608 }
       
   609 
       
   610 ul.boxListing a.boxMenu:hover {
       
   611   border-top: medium none;
       
   612   background: %(leftrightBoxBodyHoverBgColor)s;
       
   613 }
       
   614 
       
   615 a.boxMenu,
       
   616 ul.boxListing a.boxMenu {
       
   617   display: block;
       
   618   padding: 1px 3px;
       
   619   background: transparent %(bulletDownImg)s;
       
   620 }
       
   621 
       
   622 ul.boxListing a.boxMenu:hover {
       
   623   border-top: medium none;
       
   624   background: %(leftrightBoxBodyHoverBgColor)s %(bulletDownImg)s;
       
   625 }
       
   626 
       
   627 a.boxMenu:hover {
       
   628   cursor: pointer;
       
   629 }
       
   630 
       
   631 a.popupMenu {
       
   632   background: transparent url("puce_down_black.png") 2% 6px no-repeat;
       
   633   padding-left: 2em;
       
   634 }
       
   635 
       
   636 
       
   637 /* custom boxes */
       
   638 
       
   639 .search_box div.boxBody {
       
   640   padding: 4px 4px 3px;
       
   641   background: #f0eff0 url("gradient-grey-up.png") left top repeat-x;
       
   642 }
       
   643 
       
   644 .bookmarks_box ul.boxListing div {
       
   645   padding-bottom: 0.3em;
       
   646 }
       
   647 
       
   648 .download_box div.boxTitle {
       
   649   background : #8fbc8f !important;
       
   650 }
       
   651 
       
   652 .download_box div.boxBody {
       
   653   background : #eefed9;
       
   654   vertical-align: center;
       
   655 }
       
   656 
       
   657 /* user actions menu */
       
   658 a.logout, a.logout:visited, a.logout:hover{
       
   659   color: #fff;
       
   660   text-decoration: none;
       
   661 }
       
   662 
       
   663 div#userActionsBox {
       
   664   width: 14em;
       
   665   text-align: right;
       
   666   display: inline-block;
       
   667   padding-right: 10px;
       
   668 }
       
   669 
       
   670 div#userActionsBox a.popupMenu {
       
   671   color: black;
       
   672   text-decoration: underline;
       
   673   padding-right: 2em;
       
   674 }
       
   675 
       
   676 /**************/
       
   677 /* navigation */
       
   678 /**************/
       
   679 div#etyperestriction {
       
   680   margin-bottom: 1ex;
       
   681   border-bottom: 1px solid #ccc;
       
   682 }
       
   683 
       
   684 div.pagination{
       
   685   margin: 0.5em 0;
       
   686 }
       
   687 
       
   688 span.slice a:visited,
       
   689 span.slice a:hover{
       
   690   color: #555544;
       
   691 }
       
   692 
       
   693 span.selectedSlice a:visited,
       
   694 span.selectedSlice a {
       
   695   background-color: #EBE8D9;
       
   696 }
       
   697 
       
   698 /* FIXME should be moved to cubes/folder */
       
   699 div.navigation a {
       
   700   text-align: center;
       
   701   text-decoration: none;
       
   702 }
       
   703 
       
   704 div.prevnext {
       
   705   width: 100%;
       
   706   margin-bottom: 1em;
       
   707 }
       
   708 
       
   709 div.prevnext a {
       
   710   color: #000;
       
   711 }
       
   712 
       
   713 /***************************************/
       
   714 /* entity views                        */
       
   715 /***************************************/
       
   716 
       
   717 .mainInfo  {
       
   718   margin-right: 1em;
       
   719   padding: 0.2em;
       
   720 }
       
   721 
       
   722 
       
   723 div.mainRelated {
       
   724   border: none;
       
   725   margin-right: 1em;
       
   726   padding: 0.5em 0.2em 0.2em;
       
   727 }
       
   728 
       
   729 div.primaryRight{
       
   730  }
       
   731 
       
   732 div.metadata {
       
   733   font-size: 90%;
       
   734   margin: 5px 0px 3px;
       
   735   color: #666;
       
   736   font-style: italic;
       
   737   text-align: right;
       
   738 }
       
   739 
       
   740 div.section {
       
   741   margin-top: 0.5em;
       
   742   width:100%;
       
   743 }
       
   744 
       
   745 div.section a:hover {
       
   746   text-decoration: none;
       
   747 }
       
   748 
       
   749 /* basic entity view */
       
   750 
       
   751 tr.entityfield th {
       
   752   text-align: left;
       
   753   padding-right: 0.5em;
       
   754 }
       
   755 
       
   756 div.field {
       
   757   display: inline;
       
   758 }
       
   759 
       
   760 div.ctxtoolbar {
       
   761   float: right;
       
   762   padding-left: 24px;
       
   763   position: relative;
       
   764 }
       
   765 div.toolbarButton {
       
   766   display: inline;
       
   767 }
       
   768 
       
   769 /***************************************/
       
   770 /* messages                            */
       
   771 /***************************************/
       
   772 
       
   773 .warning,
       
   774 .message,
       
   775 .errorMessage ,
       
   776 .searchMessage{
       
   777   padding: 0.3em 0.3em 0.3em 1em;
       
   778   font-weight: bold;
       
   779 }
       
   780 
       
   781 .loginMessage {
       
   782   margin: 4px 0px;
       
   783   font-weight: bold;
       
   784   color: #ff7700;
       
   785 }
       
   786 
       
   787 div#appMsg, div.appMsg{
       
   788   border: 1px solid #cfceb7;
       
   789   margin-bottom: 8px;
       
   790   padding: 3px;
       
   791   background: #f8f8ee;
       
   792 }
       
   793 
       
   794 .message {
       
   795   margin: 0px;
       
   796   background: #f8f8ee url("information.png") 5px center no-repeat;
       
   797   padding-left: 15px;
       
   798 }
       
   799 
       
   800 .errorMessage {
       
   801   margin: 10px 0px;
       
   802   padding-left: 25px;
       
   803   background: #f7f6f1 url("critical.png") 2px center no-repeat;
       
   804   color: #ed0d0d;
       
   805   border: 1px solid #cfceb7;
       
   806 }
       
   807 
       
   808 .searchMessage {
       
   809   margin-top: 0.5em;
       
   810   border-top: 1px solid #cfceb7;
       
   811   background: #eeedd9 url("information.png") 0% 50% no-repeat; /*dcdbc7*/
       
   812 }
       
   813 
       
   814 .stateMessage {
       
   815   border: 1px solid #ccc;
       
   816   background: #f8f8ee url("information.png") 10px 50% no-repeat;
       
   817   padding:4px 0px 4px 20px;
       
   818   border-width: 1px 0px 1px 0px;
       
   819 }
       
   820 
       
   821 /* warning messages like "There are too many results ..." */
       
   822 .warning {
       
   823   padding-left: 25px;
       
   824   background: #f2f2f2 url("critical.png") 3px 50% no-repeat;
       
   825 }
       
   826 
       
   827 /* label shown in the top-right hand corner during form validation */
       
   828 div#progress {
       
   829   position: fixed;
       
   830   right: 5px;
       
   831   top: 0px;
       
   832   background: #222211;
       
   833   color: white;
       
   834   font-weight: bold;
       
   835   display: none;
       
   836 }
       
   837 
       
   838 /***************************************/
       
   839 /* listing table                       */
       
   840 /***************************************/
       
   841 
       
   842 table.listing {
       
   843  padding: 10px 0em;
       
   844  color: #000;
       
   845  width: 100%;
       
   846  border-right: 1px solid #dfdfdf;
       
   847 }
       
   848 
       
   849 
       
   850 table.listing thead th.over {
       
   851   background-color: #746B6B;
       
   852   cursor: pointer;
       
   853 }
       
   854 
       
   855 table.listing tr th {
       
   856   border: 1px solid #dfdfdf;
       
   857   border-right:none;
       
   858   font-size: 8pt;
       
   859   padding: 4px;
       
   860 }
       
   861 
       
   862 table.listing tr .header {
       
   863   border-right: 1px solid #dfdfdf;
       
   864   cursor: pointer;
       
   865 }
       
   866 
       
   867 table.listing td {
       
   868   color: #3D3D3D;
       
   869   padding: 4px;
       
   870   background-color: #FFF;
       
   871   vertical-align: top;
       
   872 }
       
   873 
       
   874 table.listing th,
       
   875 table.listing td {
       
   876   padding: 3px 0px 3px 5px;
       
   877   border: 1px solid #dfdfdf;
       
   878   border-right: none;
       
   879 }
       
   880 
       
   881 table.listing th {
       
   882   font-weight: bold;
       
   883   background: %(listingHeaderBgColor)s;
       
   884 }
       
   885 
       
   886 table.listing td a,
       
   887 table.listing td a:visited {
       
   888   color: #666;
       
   889 }
       
   890 
       
   891 table.listing a:hover,
       
   892 table.listing tr.highlighted td a {
       
   893   color:#000;
       
   894 }
       
   895 
       
   896 table.listing td.top {
       
   897   border: 1px solid white;
       
   898   border-bottom: none;
       
   899   text-align: right ! important;
       
   900   /* insane IE row bug workaround */
       
   901   position: relative;
       
   902   left: -1px;
       
   903   top: -1px;
       
   904 }
       
   905 
       
   906 table.htableForm label, table.oneRowTableForm label {
       
   907   vertical-align: middle;
       
   908 }
       
   909 table.htableForm td {
       
   910   padding-left: 1em;
       
   911   padding-top: 0.5em;
       
   912 }
       
   913 table.htableForm th {
       
   914   padding-left: 1em;
       
   915 }
       
   916 table.htableForm .validateButton {
       
   917   margin-right: 0.2em;
       
   918   margin-bottom: 0.2em;
       
   919 }
       
   920 
       
   921 table.oneRowTableForm td {
       
   922   padding-left: 0.5em;
       
   923 }
       
   924 table.oneRowTableForm th {
       
   925   padding-left: 1em;
       
   926 }
       
   927 table.oneRowTableForm .validateButton {
       
   928   margin: 0 0 0 1em ;
       
   929 }
       
   930 
       
   931 table.ajaxEditRelationTable{
       
   932   margin-bottom: 0.5em;
       
   933 }
       
   934 table.ajaxEditRelationTable td.entity{
       
   935   padding-left: 0.5em;
       
   936 }
       
   937 
       
   938 /***************************************/
       
   939 /* error view (views/management.py)    */
       
   940 /***************************************/
       
   941 
       
   942 div.pycontext { /* html traceback */
       
   943   font-family: Verdana, sans-serif;
       
   944   font-size: 80%;
       
   945   padding: 1em;
       
   946   margin: 10px 0px 5px 20px;
       
   947   background-color: #dee7ec;
       
   948 }
       
   949 
       
   950 div.pycontext span.name {
       
   951   color: #ff0000;
       
   952 }
       
   953 
       
   954 
       
   955 /***************************************/
       
   956 /* addcombobox                         */
       
   957 /***************************************/
       
   958 
       
   959 input#newopt{
       
   960  width:120px ;
       
   961  display:block;
       
   962  float:left;
       
   963  }
       
   964 
       
   965 div#newvalue{
       
   966  margin-top:2px;
       
   967  }
       
   968 
       
   969 #add_newopt{
       
   970  background: #fffff8 url("go.png") 50% 50% no-repeat;
       
   971  width: 20px;
       
   972  line-height: 20px;
       
   973  display:block;
       
   974  float:left;
       
   975 }
       
   976 
       
   977 /***************************************/
       
   978 /* buttons                             */
       
   979 /***************************************/
       
   980 
       
   981 input.button{
       
   982   margin: 1em 1em 0px 0px;
       
   983   border: 1px solid #edecd2;
       
   984   border-color:#edecd2 #cfceb7 #cfceb7  #edecd2;
       
   985   background: #fffff8 url("button.png") bottom left repeat-x;
       
   986 }
       
   987 
       
   988 /* FileItemInnerView  jquery.treeview.css */
       
   989 .folder {
       
   990   /* disable odd/even under folder class */
       
   991   background-color: transparent;
       
   992 }
       
   993 
       
   994 a.addButton {
       
   995   margin-left: 0.5em;
       
   996   padding-left: 16px;
       
   997   background: transparent url("add_button.png") 0% 50% no-repeat;
       
   998 }
       
   999 
       
  1000 /***************************************/
       
  1001 /* footer                              */
       
  1002 /***************************************/
       
  1003 
       
  1004 div#footer {
       
  1005   text-align: center;
       
  1006 }
       
  1007 div#footer a {
       
  1008   color: #000;
       
  1009   text-decoration: none;
       
  1010 }
       
  1011 
       
  1012 
       
  1013 /****************************************/
       
  1014 /* FIXME must by managed by cubes       */
       
  1015 /****************************************/
       
  1016 .needsvalidation {
       
  1017   font-style: italic;
       
  1018   color: gray;
       
  1019 }
       
  1020 
       
  1021 
       
  1022 /***************************************/
       
  1023 /* FIXME : Deprecated ? entity view ?  */
       
  1024 /***************************************/
       
  1025 .title {
       
  1026   text-align: left;
       
  1027   font-size:  large;
       
  1028   font-weight: bold;
       
  1029 }
       
  1030 
       
  1031 .validateButton {
       
  1032   margin: 1em 1em 0px 0px;
       
  1033   border: 1px solid #edecd2;
       
  1034   border-color:#edecd2 #cfceb7 #cfceb7  #edecd2;
       
  1035   background: #fffff8 url("button.png") bottom left repeat-x;
       
  1036 }
       
  1037 
       
  1038 /********************************/
       
  1039 /* placement of alt. view icons */
       
  1040 /********************************/
       
  1041 
       
  1042 .otherView {
       
  1043   float: right;
       
  1044 }
       
  1045 
       
  1046 
       
  1047 /******************************/
       
  1048 /* reledit                    */
       
  1049 /******************************/
       
  1050 
       
  1051 .releditField {
       
  1052     display: inline;
       
  1053 }
       
  1054 
       
  1055 .releditForm {
       
  1056  display:none;
       
  1057 }
       
  1058 
       
  1059 /********************************/
       
  1060 /* overwite other css here      */
       
  1061 /********************************/
       
  1062 
       
  1063 .ui-menu li.ui-menu-item {
       
  1064   /* remove background image (orange bullet) for autocomplete suggestions */
       
  1065   background-image: none;
       
  1066 }
       
  1067 
       
  1068 div.ui-tabs.ui-widget-content {
       
  1069   background:none;
       
  1070   border:none;
       
  1071   color:inherit;
       
  1072 }
       
  1073 
       
  1074 div.ui-tabs ul.ui-tabs-nav {
       
  1075   padding-left: 0.5em;
       
  1076 }
       
  1077 
       
  1078 div.ui-tabs ul.ui-tabs-nav a {
       
  1079   color:#27537A;
       
  1080   padding: 0.3em 0.6em;
       
  1081   outline:0;
       
  1082 }
       
  1083 
       
  1084 div.ui-tabs ul.ui-tabs-nav li.ui-tabs-selected a {
       
  1085   color:black;
       
  1086 }
       
  1087 
       
  1088 div.ui-tabs ul.ui-tabs-nav li.ui-state-hover, div.ui-tabs ul.ui-tabs-nav li.ui-state-focus {
       
  1089   background:white;
       
  1090 }
       
  1091 
       
  1092 div.ui-tabs .ui-widget-header {
       
  1093   background:none;
       
  1094   border:none;
       
  1095 }
       
  1096 
       
  1097 div.ui-tabs .ui-widget-header li {
       
  1098   border-color:#333333;
       
  1099 }
       
  1100 
       
  1101 div.ui-tabs .ui-tabs-panel {
       
  1102   border-top:1px solid #97A5B0;
       
  1103   padding-left:0.5em;
       
  1104   color:inherit;
       
  1105 }
       
  1106 
       
  1107 /* cubicweb.views.undohistory uses :
       
  1108  *   - span.undo around undo link
       
  1109  *   - ul.undo-transactions to list transaction
       
  1110  *   - ol.undo-actions to list actions in a transaction
       
  1111  */
       
  1112 
       
  1113 span.undo {
       
  1114   border: 1pt;
       
  1115 }
       
  1116 
       
  1117 ol.undo-actions > li {
       
  1118   margin-left: 2em;
       
  1119   margin-top: 2px;
       
  1120   padding: 0px 0px 2px 0px;
       
  1121   background-image: none;
       
  1122 }
       
  1123