css: Move button styles from the setup module into the framework

This commit is contained in:
Johannes Meyer 2015-07-24 10:11:31 +02:00
parent 760c7e4374
commit ce1cab53c8
2 changed files with 41 additions and 33 deletions

View File

@ -44,10 +44,19 @@ input[type=submit] {
font-weight: bold;
text-align: center;
color: #fff;
border: 2px solid #ddd;
border: 1px solid;
border-color: @colorPetrol;
background: @colorPetrol;
outline: 0;
&[disabled] {
background-color: #666;
border-color: black;
}
&:hover[disabled], &:active[disabled], &:focus[disabled] {
background-color: #666;
}
}
input[type=submit]:hover, a.button:hover, input[type=submit]:focus {
@ -87,10 +96,6 @@ button::-moz-focus-inner {
outline: 0;
}
button {
cursor: pointer;
}
select::-moz-focus-inner {
border: 0;
outline: 0;
@ -298,3 +303,34 @@ form ul.hints {
clear: both;
}
}
button, .button-like {
font-size: 0.9em;
font-weight: bold;
outline: 0;
color: #fff;
padding: 0.2em;
border: 1px solid;
border-color: @colorPetrol;
background: @colorPetrol;
&[disabled] {
background-color: #666;
border-color: black;
}
&:hover, &:focus, &:active {
background-color: #333;
border-color: #333;
cursor: pointer;
&[disabled] {
background-color: #666;
}
}
}
a.button-like {
cursor: default;
text-decoration: none;
}

View File

@ -127,29 +127,6 @@
}
button, .button-like {
font-size: 0.9em;
font-weight: bold;
outline: 0;
color: #fff;
border: 2px solid;
border-color: @colorPetrol;
background: @colorPetrol;
&[disabled="1"] {
background-color: #aaa;
border: 1px solid black;
}
&:hover, &:focus, &:active {
background-color: #666;
border-color: #666;
cursor: pointer;
&[disabled="1"] {
background-color: #aaa;
}
}
&.finish, &.login {
min-width: 25em;
color: #fffafa;
@ -160,11 +137,6 @@
}
}
}
a.button-like {
cursor: default;
text-decoration: none;
}
}
form#setup_requirements {