Dotclear

Changeset 3767:24b9ef042f0a for admin


Ignore:
Timestamp:
06/29/18 14:21:03 (7 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Various CSS fixes

Location:
admin/style
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • admin/style/default.css

    r3765 r3767  
    851851 
    852852code { 
     853  color: #323232; 
    853854  background: #fefacd; } 
    854855 
     
    979980  width: 99%; } 
    980981 
    981 input.invalid, textarea.invalid, select.invalid, input:not([type=file]):invalid:not(:focus) { 
    982   color: #ae323b; 
    983   box-shadow: 0 0 0 3px rgba(174, 50, 59, 0.3); } 
    984  
    985 input.invalid, textarea.invalid, input:not([type=file]):invalid:not(:focus) { 
    986   border: 1px solid #ae323b; 
    987   background: #ffbaba; } 
    988  
    989982input[type=text], 
    990983input[type=password], 
     
    10191012  border-color: #dbdbdb; } 
    10201013 
     1014input:invalid:not(:required), textarea:invalid:not(:required), select:invalid:not(:required), input:not([type=file]):invalid:not(:focus):not(:required) { 
     1015  color: #000; 
     1016  box-shadow: 0 0 0 3px rgba(174, 50, 59, 0.3); } 
     1017 
     1018input:invalid:not(:required), textarea:invalid:not(:required), input:not([type=file]):invalid:not(:focus):not(:required) { 
     1019  border: 1px solid #ae323b; 
     1020  background: #ffbaba; } 
     1021 
    10211022input:focus, textarea:focus { 
    10221023  border-color: #bee74b; } 
     
    11361137 
    11371138@keyframes kf-missing { 
    1138   0% { 
    1139     background-color: inherit; } 
    11401139  50% { 
    1141     background-color: #ffbaba; } 
    1142   100% { 
    1143     background-color: inherit; } } 
     1140    background-color: #ffbaba; } } 
    11441141.focus { 
    11451142  background-color: inherit; 
     
    11481145 
    11491146@keyframes kf-focus { 
    1150   0% { 
    1151     background-color: inherit; } 
    11521147  50% { 
    1153     background-color: #bee74b; } 
    1154   100% { 
    1155     background-color: inherit; } } 
     1148    background-color: #bee74b; } } 
    11561149.no-more-info { 
    11571150  display: none; } 
     
    17561749      transition: unset; } 
    17571750  .part-tabs li.part-tabs-active a { 
     1751    color: #d33800; 
    17581752    background: #fff; 
    17591753    font-weight: bold; 
  • admin/style/scss/partials/_content.scss

    r3765 r3767  
    3535          } 
    3636          &.part-tabs-active a { 
     37      color: $tabs-active-color; 
    3738               background: $tabs-active-background; 
    3839               font-weight: bold; 
  • admin/style/scss/partials/_forms.scss

    r3763 r3767  
    7272  width: 99%; 
    7373} 
    74 input.invalid, textarea.invalid, select.invalid, input:not([type=file]):invalid:not(:focus) { 
    75   color: $invalid-input-color; 
    76   box-shadow: 0 0 0 3px $invalid-input-shadow; 
    77 } 
    78 input.invalid, textarea.invalid, input:not([type=file]):invalid:not(:focus) { 
    79   border: 1px solid $invalid-input-border; 
    80   background: $invalid-input-background; 
    81 } 
    8274input[type=text], 
    8375input[type=password], 
     
    112104  border-color: $input-border; 
    113105} 
     106// Special for invalid but not required fields 
     107input:invalid:not(:required), textarea:invalid:not(:required), select:invalid:not(:required), input:not([type=file]):invalid:not(:focus):not(:required) { 
     108  color: $invalid-input-color; 
     109  box-shadow: 0 0 0 3px $invalid-input-shadow; 
     110} 
     111input:invalid:not(:required), textarea:invalid:not(:required), input:not([type=file]):invalid:not(:focus):not(:required) { 
     112  border: 1px solid $invalid-input-border; 
     113  background: $invalid-input-background; 
     114} 
     115// 
    114116input:focus, textarea:focus { 
    115117  border-color: $input-focus; 
     
    239241} 
    240242@keyframes kf-missing { 
    241   0% { 
    242     background-color: inherit; 
    243   } 
    244243  50% { 
    245244    background-color: $error-background; 
    246   } 
    247   100% { 
    248     background-color: inherit; 
    249245  } 
    250246} 
     
    255251} 
    256252@keyframes kf-focus { 
    257   0% { 
    258     background-color: inherit; 
    259   } 
    260253  50% { 
    261254    background-color: $input-focus; 
    262   } 
    263   100% { 
    264     background-color: inherit; 
    265255  } 
    266256} 
  • admin/style/scss/partials/_markup.scss

    r3764 r3767  
    143143 
    144144code { 
     145  color: $code-color; 
    145146     background: $code-background; 
    146147} 
  • admin/style/scss/themes/_light.scss

    r3764 r3767  
    143143$hr-color:                        shade($gray-very-light, 10%);       // #dbdbdb 
    144144 
     145$code-color:                      $body-color; 
    145146$code-background:                 $code;                              // #fefacd 
    146147 
     
    158159$legend-background:               $white;                             // #ffffff 
    159160 
    160 $invalid-input-color:             $error-alt;                         // #ae323b 
     161$invalid-input-color:             $black;                             // #000000 
    161162$invalid-input-border:            $error-alt;                         // #ae323b 
    162163$invalid-input-background:        $error;                             // #ffbaba 
     
    168169$input-shadow:                    $gray-very-light;                   // #f3f3f3 
    169170$input-focus:                     $link-outline;                      // #bee74b 
    170  
    171 $required-color:                  $error-alt;                         // #ae323b 
    172171 
    173172$form-note-color:                 $gray-dark;                         // #676e78 
Note: See TracChangeset for help on using the changeset viewer.

Sites map