icingaweb2/public/css/icinga/forms.less

133 lines
1.9 KiB
Plaintext

div.config-form-buttons {
margin-top: 5px;
}
table.configTable {
border-spacing: 15px;
border-collapse: separate;
}
td.configTable {
border: solid;
border-width: thin;
padding: 10px;
min-width: 300px;
}
div.config-form-group {
float: right;
}
.form-group {
margin-bottom: 1em;
}
label {
display: block;
font-weight: bold;
margin-bottom: 0.3em;
}
input, select {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
background: #ddd;
color: #333;
padding: 0.2em;
border: 2px solid #ddd;
}
select {
/* https://bugzilla.mozilla.org/show_bug.cgi?id=649849 */
-moz-appearance: none;
padding-right: 5px;
text-overflow: '';
-webkit-appearance: none;
cursor: pointer;
}
input[type=submit] {
font-weight: bold;
text-align: center;
color: #eee;
border-color: #777;
background: #777;
outline: 0;
}
input[type=submit]:hover, a.button:hover, input[type=submit]:focus {
background-color: #333;
border-color: #333;
}
input[type=submit]:hover, a.button:hover {
cursor: pointer;
color: white;
}
input:focus, select:focus {
background: white;
outline: 0;
}
input::-moz-placeholder {
color: #333;
}
input::-webkit-input-placeholder {
color: #333;
}
input:-ms-input-placeholder {
color: #333;
}
input::-moz-focus-inner {
border: 0;
outline: 0;
}
select::-moz-focus-inner {
border: 0;
outline: 0;
}
input:disabled, select:disabled {
background-color: #fff;
border-color: white;
}
form.inline {
margin: 0;
padding: 0;
display: inline;
}
button.link-like {
color: @colorLinkDefault;
background: none;
border: none;
padding: 0;
font-size: 1em;
cursor: pointer;
}
button.link-like:hover {
text-decoration: underline;
}
form ul.errors {
list-style-type: none;
margin: 0;
padding: 0;
}
form ul.errors li {
color: @colorCritical;
font-weight: bold;
line-height: 1.5em;
}