Dotclear


Ignore:
Timestamp:
10/05/13 14:07:40 (12 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

Reprise du travail sur les boutons et leurs alignements. Vous me direz. Au passage, modif esthétique : le fond du bouton de suppression est désormais rouge au survol (et c'est beau).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/style/default.css

    r2280 r2281  
    628628     border-radius: 3px; 
    629629     cursor: pointer; 
     630     position: relative; 
     631    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); 
     632    border-style: solid; 
     633    border-width: 1px; 
    630634     } 
    631635button, 
     
    638642input[type=submit], a.button.submit, input.button.start { 
    639643     color: #fff; 
    640      border: 1px solid #2C8FD1; 
     644     background-color:#25A6E1; 
    641645     background-image:-moz-linear-gradient(top,#25A6E1 0%,#188BC0 100%); 
    642646     background-image:-webkit-gradient(linear,left top,left bottom, from(#25A6E1), to(#188BC0)); 
    643647     background-image:linear-gradient(top,#25A6E1 0%,#188BC0 100%); 
    644      background-color:#25A6E1; 
    645      text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3); 
     648     border-color: #25A6E1; 
     649     text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); 
    646650     } 
    647651     input[type=submit]:hover, input[type=submit]:focus, 
    648652     input.button.start:hover, input.button.start:focus, 
    649653     a.button.submit:hover, a.button.submit:focus { 
     654          background-color:#188BC0; 
    650655          background-image:-moz-linear-gradient(top,#188BC0 0%,#25A6E1 100%); 
    651656          background-image:-webkit-gradient(linear,left top,left bottom, from(#188BC0),to(#25A6E1)); 
    652657          background-image:linear-gradient(top,#188BC0 0%,#25A6E1 100%); 
    653           background-color:#188BC0; 
     658          border-color: #188BC0; 
    654659          } 
    655660/* suppression, reset, "neutres" fond gris */ 
     
    659664a.button.delete, a.button.reset, a.button { 
    660665     color: #000; 
    661      background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#dfdfdf)); 
    662      background-image: -moz-linear-gradient(top,  #f5f5f5,  #dfdfdf); 
    663      background-image:linear-gradient(top,#f5f5f5 0%,#dfdfdf 100%); 
    664      background-color: #eee; 
    665      border: 1px solid #ccc; 
    666      text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); 
     666    background-color: #EAEAEA; 
     667     background-image: -webkit-gradient(linear, left top, left bottom, from(#FAFAFA), to(#EAEAEA)); 
     668     background-image: -moz-linear-gradient(top,  #FAFAFA,  #EAEAEA); 
     669     background-image:linear-gradient(#FAFAFA,#EAEAEA); 
     670    background-repeat: repeat-x; 
     671    border-color: #DDDDDD #DDDDDD #C5C5C5; 
     672    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9); 
    667673     } 
    668674     button:hover, input[type=button]:hover, input.button:hover, 
     
    674680     a.button.delete:hover, a.button.reset:hover, a.button:hover, 
    675681     a.button.delete:focus, a.button.reset:focus, a.button:focus { 
    676           background-image:-webkit-gradient( linear, left top, left bottom, from(#e9e9e9), to(#f9f9f9)); 
    677           background-image:-moz-linear-gradient(top, #e9e9e9, #f9f9f9); 
    678           background-image:linear-gradient(top,#e9e9e9 0%,#f9f9f9 100%); 
    679           background-color:#f3f3f3; 
     682         background-color: #DADADA; 
     683          background-image:-webkit-gradient( linear, left top, left bottom, from(#EAEAEA), to(#DADADA)); 
     684          background-image:-moz-linear-gradient(top, #EAEAEA, #DADADA); 
     685         background-image: linear-gradient(#EAEAEA, #DADADA); 
     686         background-repeat: repeat-x; 
     687         border-color: #CCCCCC #CCCCCC #B5B5B5; 
    680688          } 
    681689     /* suppression */ 
    682690     input[type=submit].delete, input.delete, a.button.delete { 
    683           border-color: #ccc; 
    684           color: #c00; 
    685           margin-left: 1em; 
    686           } 
    687      a.delete:first-child, input.delete:first-child { 
    688           margin-left: 0; 
     691          color: #900; 
    689692          } 
    690693     input[type=submit].delete:hover, input.delete:hover, a.button.delete:hover, 
    691694     input[type=submit].delete:focus, input.delete:focus, a.button.delete:focus { 
    692                border-color: #c00; 
    693                } 
     695         color: #FFFFFF; 
     696         background-color: #B33630; 
     697          background-image:-webkit-gradient( linear, left top, left bottom, from(#DC5F59), to(#B33630)); 
     698          background-image:-moz-linear-gradient(top, #DC5F59, #B33630); 
     699         background-image: linear-gradient(#DC5F59, #B33630); 
     700         background-repeat: repeat-x; 
     701         border-color: #CD504A; 
     702         text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3); 
     703          } 
    694704     #info-box a.button { 
    695705          padding: 0 .5em; 
     
    697707          } 
    698708.button.add { 
     709     color: #000; 
     710     background-color:#bee74b; 
    699711     background-image:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #bee74b), color-stop(1, #9BCA1C) ); 
    700712     background-image:-moz-linear-gradient(center top, #bee74b 5%, #9BCA1C 100%); 
    701      filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#bee74b', endColorstr='#9BCA1C'); 
    702      background-color:#bee74b; 
    703      border:1px solid #B2D742; 
     713     background-image:linear-gradient(center top, #bee74b 5%, #9BCA1C 100%); 
     714     border-color: #B2D742; 
    704715     padding:.33em 1.33em .5em; 
    705      color: #000; 
    706716     text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6); 
    707717     font-weight: normal; 
     
    710720     } 
    711721     .button.add:hover, .button.add:active, .button.add:focus { 
     722          background-color:#9BCA1C; 
    712723          background-image:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #9BCA1C), color-stop(1, #bee74b) ); 
    713724          background-image:-moz-linear-gradient(center top, #9BCA1C 5%, #bee74b 100%); 
    714725          background-image:linear-gradient(center top, #9BCA1C 5%, #bee74b 100%); 
    715           filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#9BCA1C', endColorstr='#bee74b'); 
    716           background-color:#9BCA1C; 
     726          border-color: #9BCA1C; 
    717727          } 
    718728     .button-add:focus { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map