icingaweb2/public/css/icinga/forms.less

133 lines
1.9 KiB
Plaintext
Raw Normal View History

2014-02-18 19:39:54 +01:00
div.config-form-buttons {
margin-top: 5px;
}
table.configTable {
2014-03-05 15:28:10 +01:00
border-spacing: 15px;
border-collapse: separate;
}
td.configTable {
border: solid;
border-width: thin;
padding: 10px;
min-width: 300px;
}
2014-03-05 15:28:10 +01:00
div.config-form-group {
float: right;
}
2014-02-18 19:39:54 +01:00
.form-group {
margin-bottom: 1em;
}
label {
display: block;
2014-02-18 19:39:54 +01:00
font-weight: bold;
margin-bottom: 0.3em;
}
input, select {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
2014-03-09 01:56:34 +01:00
background: #ddd;
color: #333;
padding: 0.2em;
2014-03-09 01:56:34 +01:00
border: 2px solid #ddd;
2014-02-18 19:39:54 +01:00
}
select {
/* https://bugzilla.mozilla.org/show_bug.cgi?id=649849 */
-moz-appearance: none;
padding-right: 5px;
text-overflow: '';
-webkit-appearance: none;
cursor: pointer;
}
2014-02-18 19:39:54 +01:00
input[type=submit] {
font-weight: bold;
text-align: center;
color: #eee;
2014-03-09 01:56:34 +01:00
border-color: #777;
background: #777;
outline: 0;
}
2014-02-18 19:39:54 +01:00
2014-03-09 01:56:34 +01:00
input[type=submit]:hover, a.button:hover, input[type=submit]:focus {
background-color: #333;
border-color: #333;
2014-03-09 01:56:34 +01:00
}
input[type=submit]:hover, a.button:hover {
cursor: pointer;
color: white;
}
input:focus, select:focus {
background: white;
outline: 0;
}
2014-02-18 19:39:54 +01:00
2014-03-09 01:56:34 +01:00
input::-moz-placeholder {
color: #333;
}
input::-webkit-input-placeholder {
color: #333;
}
input:-ms-input-placeholder {
color: #333;
}
2014-02-18 19:39:54 +01:00
input::-moz-focus-inner {
border: 0;
2014-03-09 01:56:34 +01:00
outline: 0;
}
2014-02-18 19:39:54 +01:00
select::-moz-focus-inner {
border: 0;
outline: 0;
2014-02-18 19:39:54 +01:00
}
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;
2014-02-18 19:39:54 +01:00
}
form ul.errors li {
color: @colorCritical;
font-weight: bold;
line-height: 1.5em;
2014-02-18 19:39:54 +01:00
}