grandlyon-sau: use scss vars for widget/button style (#29578)

This commit is contained in:
Frédéric Péters 2019-01-09 08:53:06 +01:00
parent feccb16025
commit 6df08f929a
2 changed files with 10 additions and 7 deletions

View File

@ -202,23 +202,17 @@ div.cell > div {
text-align: left;
}
input, textarea, select, option {
border-radius: $input-border-radius;
background-color: $input-background-color;
max-width: 100%;
vertical-align: sub;
border: 1px solid darken($input-background-color, 10%);
outline: medium none;
}
textarea {
width: 100%;
}
button {
background-color: #CCC;
border-radius: $input-border-radius;
color: $title-color;
margin: 0.5em;
&.previous {
background-color: $input-background-color;
background-color: $widget-background;
}
}
div.submit {

View File

@ -32,6 +32,15 @@ $cell-entry-hover-background: #999999;
$cell-entry-border-color: transparent;
$sidebar-width: 250px;
$menucell-hover-border: 5px solid #999;
$button-background: #CCC;
$button-border-radius: 5px;
$button-color: $title-color;
$widget-background: $body-background;
$widget-border: 1px solid darken($widget-background, 10%);
$widget-border-radius: 5px;
$input-border-radius: 5px;
$input-background-color: $body-background;
$widget-custom-radio-checkbox: true;