cubicweb/web/data/cubicweb.login.css
changeset 11057 0b59724cb3f2
parent 6429 72669e7950c1
equal deleted inserted replaced
11052:058bb3dc685f 11057:0b59724cb3f2
       
     1 /* styles for the login popup and login form
       
     2  *
       
     3  *  :organization: Logilab
       
     4  *  :copyright: 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
       
     5  *  :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
       
     6  */
       
     7 
       
     8 div.popupLoginBox {
       
     9   position: absolute;
       
    10   z-index: 400;
       
    11   right: 0px;
       
    12   width: 26em;
       
    13   padding: 0px 1px 1px;
       
    14   background: %(listingBorderColor)s;
       
    15 }
       
    16 
       
    17 div.popupLoginBox label{
       
    18   font-weight: bold;
       
    19 }
       
    20 
       
    21 div.popupLoginBox div.loginContent {
       
    22   background: #e6e4ce;
       
    23   padding: 5px 3px 4px;
       
    24 }
       
    25 
       
    26 div#loginBox {
       
    27   position : absolute;
       
    28   top: 15%;
       
    29   left : 50%;
       
    30   margin-left: -14em;
       
    31   width: 28em;
       
    32   background: #fff;
       
    33   border: 2px solid %(incontextBoxBodyBgColor)s;
       
    34   padding-bottom: 0.5em;
       
    35   text-align: center;
       
    36 }
       
    37 
       
    38 div#loginBox h1 {
       
    39   color: %(aColor)s;
       
    40   font-size: 140%;
       
    41 }
       
    42 
       
    43 div.loginTitle {
       
    44   color: #fff;
       
    45   font-weight: bold;
       
    46   font-size: 140%;
       
    47   text-align: center;
       
    48   padding: 3px 0px;
       
    49   background: %(headerBgColor)s url("banner.png") repeat-x top left;
       
    50 }
       
    51 
       
    52 div#loginBox div.loginContent form {
       
    53   padding-top: 1em;
       
    54   width: 90%;
       
    55   margin: auto;
       
    56 }
       
    57 
       
    58 
       
    59 .popupLoginBox table td {
       
    60   padding: 0px 3px;
       
    61   white-space: nowrap;
       
    62 }
       
    63 
       
    64 .loginContent table {
       
    65   padding: 0px 0.5em;
       
    66   margin: auto;
       
    67 }
       
    68 
       
    69 #loginBox table td {
       
    70   padding: 0px 3px 0.6em;
       
    71   white-space: nowrap;
       
    72 }
       
    73 
       
    74 #loginBox .loginButton {
       
    75   margin-top: 0.6em;
       
    76  }
       
    77 
       
    78 .loginContent input.data {
       
    79   width: 12em;
       
    80 }
       
    81 
       
    82 /* This is seriously debatable
       
    83    These buttons render much more clearly as standard/default buttons
       
    84  */
       
    85 .loginButton {
       
    86   border: 1px solid #edecd2;
       
    87   border-color: #edecd2 %(incontextBoxBodyBgColor)s %(incontextBoxBodyBgColor)s  #edecd2;
       
    88   margin: 2px 0px 0px;
       
    89   background: #f0eff0 url("gradient-grey-up.png") left top repeat-x;
       
    90 }
       
    91 
       
    92 .loginContent .formButtonBar {
       
    93   float: right;
       
    94 }