mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
css: Move button styles from the setup module into the framework
This commit is contained in:
parent
760c7e4374
commit
ce1cab53c8
@ -44,10 +44,19 @@ input[type=submit] {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
border: 2px solid #ddd;
|
border: 1px solid;
|
||||||
border-color: @colorPetrol;
|
border-color: @colorPetrol;
|
||||||
background: @colorPetrol;
|
background: @colorPetrol;
|
||||||
outline: 0;
|
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 {
|
input[type=submit]:hover, a.button:hover, input[type=submit]:focus {
|
||||||
@ -87,10 +96,6 @@ button::-moz-focus-inner {
|
|||||||
outline: 0;
|
outline: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
select::-moz-focus-inner {
|
select::-moz-focus-inner {
|
||||||
border: 0;
|
border: 0;
|
||||||
outline: 0;
|
outline: 0;
|
||||||
@ -298,3 +303,34 @@ form ul.hints {
|
|||||||
clear: both;
|
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;
|
||||||
|
}
|
@ -127,29 +127,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
button, .button-like {
|
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 {
|
&.finish, &.login {
|
||||||
min-width: 25em;
|
min-width: 25em;
|
||||||
color: #fffafa;
|
color: #fffafa;
|
||||||
@ -160,11 +137,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
a.button-like {
|
|
||||||
cursor: default;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
form#setup_requirements {
|
form#setup_requirements {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user