2016-12-20 20:26:44 +01:00
|
|
|
//
|
|
|
|
// Forms
|
|
|
|
// --------------------------------------------------
|
|
|
|
.radio,
|
|
|
|
.checkbox {
|
|
|
|
margin-top: 5px !important;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2019-12-18 16:26:13 +01:00
|
|
|
div.required > label:after {
|
|
|
|
content: " *";
|
|
|
|
color: @info;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.required.has-error > label:after {
|
|
|
|
content: " *";
|
|
|
|
color: @danger;
|
|
|
|
}
|
|
|
|
|
2016-12-20 20:26:44 +01:00
|
|
|
.radio label,
|
|
|
|
.checkbox label {
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-control {
|
2017-01-24 12:29:33 +01:00
|
|
|
border: 2px solid @background-color-page;
|
2016-12-20 20:26:44 +01:00
|
|
|
box-shadow: none;
|
2017-03-13 00:41:00 +01:00
|
|
|
min-height: 35px;
|
2019-10-02 19:22:22 +02:00
|
|
|
|
2016-12-20 20:26:44 +01:00
|
|
|
&:focus {
|
|
|
|
border: 2px solid @info;
|
|
|
|
outline: 0;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-control.form-search {
|
|
|
|
border-radius: 30px;
|
|
|
|
padding-left: 34px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-group-search {
|
|
|
|
position: relative;
|
2023-05-08 17:03:00 +02:00
|
|
|
|
2023-03-21 16:24:42 +04:00
|
|
|
&:before {
|
|
|
|
font: 14px FontAwesome;
|
|
|
|
content: "\f002";
|
|
|
|
color: #ededed;
|
|
|
|
position: absolute;
|
|
|
|
top: 10px;
|
|
|
|
left: 13px;
|
|
|
|
}
|
2019-10-02 19:22:22 +02:00
|
|
|
|
2016-12-20 20:26:44 +01:00
|
|
|
.form-button-search {
|
|
|
|
position: absolute;
|
|
|
|
top: 4px;
|
|
|
|
right: 4px;
|
|
|
|
border-radius: 30px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
resize: none;
|
|
|
|
height: 1.5em;
|
|
|
|
}
|
|
|
|
|
2017-06-07 17:16:01 +02:00
|
|
|
select.form-control:not([multiple]) {
|
2016-12-20 20:26:44 +01:00
|
|
|
appearance: none;
|
|
|
|
background-image: url("../img/select_arrow.png") !important;
|
|
|
|
background-repeat: no-repeat;
|
2021-10-19 16:57:47 +03:00
|
|
|
background-position: right 16px;
|
2016-12-20 20:26:44 +01:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
label {
|
|
|
|
font-weight: normal;
|
2021-02-23 16:41:34 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
div.PendingRegistrations {
|
|
|
|
thead > tr > th > label, tbody > tr > td > label {
|
|
|
|
margin-bottom: 0;
|
|
|
|
height: 17px;
|
|
|
|
}
|
2016-12-20 20:26:44 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
label.control-label {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Placeholder text
|
2020-10-15 12:13:05 +02:00
|
|
|
|
|
|
|
::placeholder {
|
|
|
|
color: @text-color-soft3 !important;
|
|
|
|
}
|
|
|
|
|
2020-06-26 15:19:41 +02:00
|
|
|
/* hide native password reveal icons */
|
|
|
|
input::-ms-clear, input::-ms-reveal {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2016-12-20 20:26:44 +01:00
|
|
|
// Placeholder text for empty content
|
|
|
|
.placeholder {
|
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
// HTML5 Placeholder jQuery Plugin
|
|
|
|
input.placeholder,
|
|
|
|
textarea.placeholder {
|
|
|
|
padding: 0 0 0 10px;
|
|
|
|
color: #999;
|
|
|
|
}
|
|
|
|
|
|
|
|
.help-block-error {
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
2023-07-06 23:50:42 +03:00
|
|
|
.help-block:not(.help-block-error) {
|
|
|
|
color: @text-color-soft;
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
2023-07-12 20:07:57 +04:00
|
|
|
.panel-body > .help-block {
|
|
|
|
padding-right: 20px;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
2023-07-06 23:50:42 +03:00
|
|
|
|
|
|
|
.hint-block {
|
2017-01-24 12:29:33 +01:00
|
|
|
color: @text-color-soft2 !important;
|
2016-12-20 20:26:44 +01:00
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
2023-07-06 23:50:42 +03:00
|
|
|
.hint-block:hover {
|
2017-01-24 12:29:33 +01:00
|
|
|
color: @text-color-secondary !important;
|
2017-01-09 07:52:19 +01:00
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
2016-12-20 20:26:44 +01:00
|
|
|
.input-group-addon {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
2017-07-20 17:59:01 +02:00
|
|
|
a.input-field-addon {
|
2019-10-02 19:22:22 +02:00
|
|
|
font-size: 12px;
|
|
|
|
float: right;
|
|
|
|
margin-top: -10px;
|
2017-07-20 17:59:01 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
a.input-field-addon-sm {
|
2019-10-02 19:22:22 +02:00
|
|
|
font-size: 11px;
|
|
|
|
float: right;
|
|
|
|
margin-top: -10px;
|
2017-07-20 17:59:01 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.timeZoneInputContainer {
|
2019-10-02 19:22:22 +02:00
|
|
|
padding-top: 10px;
|
2017-07-20 17:59:01 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.timeZoneInputContainer ~ .help-block {
|
2023-06-12 14:56:00 +03:00
|
|
|
margin: 0;
|
2017-07-20 17:59:01 +02:00
|
|
|
}
|
|
|
|
|
2016-12-20 20:26:44 +01:00
|
|
|
// Flatelements
|
2022-11-10 17:28:55 +04:00
|
|
|
.radio input[type=radio],
|
|
|
|
.radio-inline input[type=radio],
|
|
|
|
.checkbox input[type=checkbox],
|
|
|
|
.checkbox-inline input[type=checkbox] {
|
|
|
|
position: relative;
|
|
|
|
margin-left: 0;
|
2016-12-20 20:26:44 +01:00
|
|
|
}
|
|
|
|
|
2022-11-10 17:28:55 +04:00
|
|
|
input[type=checkbox], input[type=radio] {
|
|
|
|
-webkit-appearance: none;
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
min-height: auto;
|
|
|
|
padding: 7px;
|
|
|
|
margin: -4px 2px 0 0;
|
|
|
|
vertical-align: middle;
|
|
|
|
background: white;
|
|
|
|
border: 2px solid #ccc;
|
|
|
|
border-radius: 3px;
|
2023-05-08 17:03:00 +02:00
|
|
|
|
2022-11-10 17:28:55 +04:00
|
|
|
&:disabled {
|
|
|
|
background: @background3 !important;
|
|
|
|
border: 2px solid @background3 !important;
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
2016-12-20 20:26:44 +01:00
|
|
|
}
|
|
|
|
|
2022-11-10 17:28:55 +04:00
|
|
|
input[type=checkbox] {
|
|
|
|
&:focus {
|
|
|
|
border: 2px solid @text-color-highlight !important;
|
|
|
|
outline: none;
|
|
|
|
}
|
2023-05-08 17:03:00 +02:00
|
|
|
|
2022-11-10 17:28:55 +04:00
|
|
|
&:checked {
|
|
|
|
border: 2px solid @info;
|
|
|
|
background: @info;
|
|
|
|
color: white;
|
2023-05-08 17:03:00 +02:00
|
|
|
|
2022-11-10 17:28:55 +04:00
|
|
|
&::after {
|
|
|
|
content: '\2714';
|
|
|
|
font-size: 14px;
|
|
|
|
position: absolute;
|
|
|
|
top: -3px;
|
|
|
|
left: 1px;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
}
|
2017-01-09 07:52:19 +01:00
|
|
|
}
|
|
|
|
|
2022-11-10 17:28:55 +04:00
|
|
|
input[type=radio] {
|
|
|
|
border-radius: 50%;
|
2023-05-08 17:03:00 +02:00
|
|
|
|
2022-11-10 17:28:55 +04:00
|
|
|
&:checked {
|
|
|
|
border: 2px solid @background3;
|
|
|
|
color: #99a1a7;
|
2023-05-08 17:03:00 +02:00
|
|
|
|
2022-11-10 17:28:55 +04:00
|
|
|
&::after {
|
|
|
|
content: ' ';
|
|
|
|
width: 8px;
|
|
|
|
height: 8px;
|
|
|
|
border-radius: 50%;
|
|
|
|
position: absolute;
|
|
|
|
top: 3px;
|
|
|
|
background: @info;
|
|
|
|
text-shadow: none;
|
|
|
|
left: 3px;
|
|
|
|
font-size: 32px;
|
|
|
|
}
|
|
|
|
}
|
2016-12-20 20:26:44 +01:00
|
|
|
}
|
|
|
|
|
2021-03-22 18:47:55 +01:00
|
|
|
div.form-group {
|
|
|
|
div.checkbox {
|
|
|
|
.help-block {
|
|
|
|
margin-left: 33px;
|
|
|
|
}
|
|
|
|
|
|
|
|
// avoid spacing between checkbox and hint
|
|
|
|
.help-block.help-block-error:empty {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2016-12-20 20:26:44 +01:00
|
|
|
//
|
|
|
|
// Errror handling
|
|
|
|
//
|
|
|
|
.errorMessage {
|
|
|
|
color: @danger;
|
|
|
|
padding: 10px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Errror handling
|
|
|
|
.error {
|
|
|
|
border-color: @danger !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-error .help-block,
|
|
|
|
.has-error .control-label,
|
|
|
|
.has-error .radio,
|
|
|
|
.has-error .checkbox,
|
|
|
|
.has-error .radio-inline,
|
|
|
|
.has-error .checkbox-inline {
|
|
|
|
color: @danger !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-error .form-control,
|
|
|
|
.has-error .form-control:focus {
|
|
|
|
border-color: @danger;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-success .help-block,
|
|
|
|
.has-success .control-label,
|
|
|
|
.has-success .radio,
|
|
|
|
.has-success .checkbox,
|
|
|
|
.has-success .radio-inline,
|
|
|
|
.has-success .checkbox-inline {
|
|
|
|
color: @success;
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-success .form-control,
|
|
|
|
.has-success .form-control:focus {
|
|
|
|
border-color: @success;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-warning .help-block,
|
|
|
|
.has-warning .control-label,
|
|
|
|
.has-warning .radio,
|
|
|
|
.has-warning .checkbox,
|
|
|
|
.has-warning .radio-inline,
|
|
|
|
.has-warning .checkbox-inline {
|
|
|
|
color: @warning;
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-warning .form-control,
|
|
|
|
.has-warning .form-control:focus {
|
|
|
|
border-color: @warning;
|
|
|
|
box-shadow: none;
|
2017-01-09 07:52:19 +01:00
|
|
|
}
|
2017-09-21 16:52:35 +02:00
|
|
|
|
|
|
|
.bootstrap-timepicker-widget .form-control {
|
2019-10-02 19:22:22 +02:00
|
|
|
padding: 0;
|
2017-09-21 16:52:35 +02:00
|
|
|
}
|
2021-01-25 15:19:14 +01:00
|
|
|
|
|
|
|
.form-collapsible-fields {
|
|
|
|
margin-bottom: 12px;
|
|
|
|
border-left: 3px solid @primary;
|
|
|
|
background-color: #F4F4F4;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-collapsible-fields-label {
|
2023-06-12 14:56:00 +03:00
|
|
|
margin-bottom: 0;
|
2021-01-25 15:19:14 +01:00
|
|
|
padding: 12px;
|
2023-05-08 17:03:00 +02:00
|
|
|
|
2022-12-01 16:56:57 +04:00
|
|
|
label {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2021-01-25 15:19:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.form-collapsible-fields fieldset {
|
|
|
|
padding-top: 15px;
|
|
|
|
padding-left: 12px;
|
|
|
|
padding-right: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-collapsible-fields.opened {
|
|
|
|
fieldset {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.iconClose {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.iconOpen {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-collapsible-fields.closed {
|
|
|
|
fieldset, .iconClose {
|
|
|
|
display: none;
|
|
|
|
}
|
2021-03-22 18:47:55 +01:00
|
|
|
|
2021-01-25 15:19:14 +01:00
|
|
|
.iconOpen {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
}
|
2023-05-08 17:03:00 +02:00
|
|
|
|
2023-06-12 14:56:00 +03:00
|
|
|
// editor
|
2023-05-08 17:03:00 +02:00
|
|
|
.content_create,
|
|
|
|
.content_edit {
|
|
|
|
.content-create-input-group {
|
|
|
|
display: flex;
|
|
|
|
align-items: flex-end;
|
2023-06-12 14:56:00 +03:00
|
|
|
flex-direction: column;
|
2023-05-08 17:03:00 +02:00
|
|
|
|
|
|
|
> .form-group {
|
|
|
|
flex-grow: 1;
|
2023-06-12 14:56:00 +03:00
|
|
|
width: 100%;
|
2023-05-08 17:03:00 +02:00
|
|
|
|
|
|
|
[data-ui-markdown] {
|
|
|
|
word-break: break-word !important;
|
|
|
|
|
|
|
|
pre code {
|
|
|
|
display: block;
|
|
|
|
width: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-group, .help-block {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-06-12 14:56:00 +03:00
|
|
|
// fileupload button
|
2023-05-08 17:03:00 +02:00
|
|
|
.upload-buttons {
|
|
|
|
white-space: nowrap;
|
2023-06-12 14:56:00 +03:00
|
|
|
padding-top: 6px;
|
2023-05-08 17:03:00 +02:00
|
|
|
|
|
|
|
.btn:not(.dropdown-toggle) {
|
|
|
|
margin-left: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn.fileinput-button, .fileinput-button + .dropdown-toggle {
|
|
|
|
background-color: fade(@link, 60%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn.dropdown-toggle {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-error + .upload-buttons {
|
|
|
|
padding-bottom: 22px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fileinput-button:active {
|
|
|
|
box-shadow: none !important;
|
|
|
|
}
|
|
|
|
}
|