Dotclear

Changeset 1767:c99d36e17de6


Ignore:
Timestamp:
09/09/13 21:05:35 (11 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

Je crois que j'ai dompté ce *$£")& de bug sur les boutons.

Location:
admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • admin/index.php

    r1749 r1767  
    403403} 
    404404 
    405 $class = ' '.(($dashboardItems != '') && ($dashboardContents != '') ? 'two-boxes' : 'one-box txt-center'); 
     405$class = ' '.(($dashboardItems != '') && ($dashboardContents != '') ? 'two-boxes' : 'one-box'); 
    406406 
    407407if ($dashboardContents != '' || $dashboardItems != '') { 
  • admin/style/default.css

    r1763 r1767  
    522522                                                                                          BOUTONS 
    523523---------------------------------------------------------------------------- */ 
    524 /* commun */ 
    525 input[type=submit], input[type=reset], input[type=button], input[type=delete], 
    526 input.submit, input.reset, input.button, input.delete, 
    527 a.button, a.button.submit, a.delete, a.reset { 
     524/* Removes inner padding and border in FF3+  - Knacss */ 
     525button::-moz-focus-inner, 
     526input[type=button]::-moz-focus-inner, 
     527input[type=reset]::-moz-focus-inner, 
     528input[type=submit]::-moz-focus-inner { 
     529     border: 0; 
     530     padding: 0; 
     531     } 
     532/* tous les boutons */ 
     533button, 
     534a.button, 
     535input[type=button], 
     536input[type=reset], 
     537input[type=submit] { 
     538     border: 1px solid #ccc; 
     539     font-family: arial, helvetica, sans-serif; 
     540     padding: 3px 8px; 
     541     line-height: normal !important; 
    528542     display: inline-block; 
    529      cursor: pointer; 
     543     vertical-align: top; 
     544     font-size: 12px; /* ie < 9 sucks */ 
     545     font-size: 1.2rem; 
    530546     text-align: center; 
    531547     text-decoration: none; 
    532      padding: 2px 6px 2px; 
    533548     border-radius: 3px; 
    534      font-size: 12px; /* ie < 9 sucks */ 
    535      font-size: 1.2rem; 
    536      line-height: 1.5em; 
    537      } 
    538      a.button, a.button.submit, a.reset { 
    539           padding-bottom: 1px; 
    540           } 
     549     cursor: pointer; 
     550     } 
     551button, 
     552input[type=button], 
     553input[type=reset], 
     554input[type=submit] { 
     555     -webkit-appearance: button; 
     556     } 
    541557 /* validation */ 
    542558input[type=submit], a.button.submit { 
    543559     color: #fff; 
    544      text-shadow: 0 -1px 0 rgba(100, 100, 100, 0.6); 
    545      background:#25A6E1; 
     560     background-color:#25A6E1; 
     561     border-color: #2C8FD1; 
    546562     background:-moz-linear-gradient(top,#25A6E1 0%,#188BC0 100%); 
    547563     background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#25A6E1),color-stop(100%,#188BC0)); 
    548564     background:linear-gradient(top,#25A6E1 0%,#188BC0 100%); 
    549565     filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#25A6E1',endColorstr='#188BC0',GradientType=0); 
    550      border: 1px solid #2C8FD1; 
    551      padding-bottom: 1px; 
     566     text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3); 
    552567     } 
    553568     input[type=submit]:hover, input[type=submit]:focus, 
     
    563578input.delete, input.reset, input.button, 
    564579a.delete, a.reset, a.button { 
    565      border: 1px solid #ccc; 
    566      background: #f5f5f5; 
    567580     color: #000; 
     581     background-color: #f5f5f5; 
    568582     background: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#dfdfdf)); 
    569583     background: -moz-linear-gradient(top,  #f5f5f5,  #dfdfdf); 
     
    576590     input.delete:focus, input.reset:focus, input.button:focus, 
    577591     a.delete:focus, a.reset:focus, a.button:focus { 
     592          background-color:#e9e9e9; 
    578593          background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #e9e9e9), color-stop(1, #f9f9f9) ); 
    579594          background:-moz-linear-gradient( center top, #e9e9e9 5%, #f9f9f9 100% ); 
    580595          filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e9e9e9', endColorstr='#f9f9f9'); 
    581           background-color:#e9e9e9; 
    582596          } 
    583597     a.delete, input[type=delete], input.delete { 
     598          border-color: #ccc; 
    584599          color: #c00; 
    585600          margin-left: 1em; 
    586           padding-bottom: 2px; 
     601          } 
     602     a.delete:first-child, input[type=delete]:first-child, input.delete:first-child { 
     603          margin-left: 0; 
    587604          } 
    588605          a.delete:hover, input[type=delete]:hover, input.delete:hover, 
     
    590607               border-color: #c00; 
    591608               } 
    592           a.button {padding-bottom: 1px} 
    593609     #info-box a.button { 
    594610          padding: 0 .5em; 
     
    16761692     border-radius: .5em; 
    16771693     } 
     1694#my-favs { 
     1695     border-color: #A8DC26; 
     1696     } 
    16781697#my-favs input.position { 
    16791698     margin: 0 0 .4em .2em; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map