2014-09-19 03:02:17 -04:00
|
|
|
textarea {
|
|
|
|
resize: vertical;
|
|
|
|
}
|
|
|
|
|
2016-01-21 21:18:03 -05:00
|
|
|
input {
|
2016-01-22 23:48:15 -05:00
|
|
|
border-radius: $border-radius-base;
|
2016-01-21 21:18:03 -05:00
|
|
|
}
|
|
|
|
|
2013-08-29 14:45:19 -04:00
|
|
|
input[type='text'].danger {
|
2016-11-30 08:25:25 -05:00
|
|
|
background: $input-danger-bg !important;
|
2018-08-22 12:40:38 -04:00
|
|
|
border-color: $red-400;
|
2016-11-30 08:25:25 -05:00
|
|
|
text-shadow: 0 1px 1px $white-light;
|
2013-08-29 14:45:19 -04:00
|
|
|
}
|
|
|
|
|
2013-11-12 07:28:12 -05:00
|
|
|
.datetime-controls {
|
|
|
|
select {
|
|
|
|
width: 100px;
|
|
|
|
}
|
|
|
|
}
|
2013-12-30 17:36:31 -05:00
|
|
|
|
|
|
|
.form-actions {
|
2015-12-02 08:48:06 -05:00
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: -$gl-padding;
|
|
|
|
padding: $gl-padding;
|
2016-12-12 17:26:21 -05:00
|
|
|
background-color: $gray-light;
|
2015-03-18 01:25:25 -04:00
|
|
|
border-top: 1px solid $border-color;
|
2015-01-06 00:48:04 -05:00
|
|
|
}
|
|
|
|
|
2014-01-04 12:27:09 -05:00
|
|
|
label {
|
2019-05-29 15:46:53 -04:00
|
|
|
font-weight: $gl-font-weight-bold;
|
|
|
|
|
2014-01-04 12:27:09 -05:00
|
|
|
&.inline-label {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2016-02-29 06:37:27 -05:00
|
|
|
|
2019-05-29 15:46:53 -04:00
|
|
|
&.form-check-label {
|
|
|
|
font-weight: $gl-font-weight-normal;
|
|
|
|
}
|
|
|
|
|
2018-07-19 18:11:31 -04:00
|
|
|
&.label-bold {
|
2017-08-24 10:13:24 -04:00
|
|
|
font-weight: $gl-font-weight-bold;
|
2016-02-29 06:37:27 -05:00
|
|
|
}
|
2013-12-30 17:36:31 -05:00
|
|
|
}
|
2013-12-31 10:08:31 -05:00
|
|
|
|
2019-01-02 14:27:15 -05:00
|
|
|
.label-wrapper {
|
|
|
|
display: block;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2013-12-31 10:08:31 -05:00
|
|
|
.inline-input-group {
|
|
|
|
width: 250px;
|
|
|
|
}
|
2014-01-04 12:27:09 -05:00
|
|
|
|
2014-02-14 05:30:12 -05:00
|
|
|
.custom-form-control {
|
|
|
|
width: 150px;
|
|
|
|
}
|
|
|
|
|
2018-04-09 11:26:28 -04:00
|
|
|
@include media-breakpoint-up(sm) {
|
2014-02-14 05:30:12 -05:00
|
|
|
.custom-form-control {
|
|
|
|
width: 150px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Medium devices (desktops, 992px and up) */
|
2018-04-09 11:26:28 -04:00
|
|
|
@include media-breakpoint-up(md) {
|
2014-02-14 05:30:12 -05:00
|
|
|
.custom-form-control {
|
|
|
|
width: 170px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Large devices (large desktops, 1200px and up) */
|
2018-04-09 11:26:28 -04:00
|
|
|
@include media-breakpoint-up(lg) {
|
2014-02-14 05:30:12 -05:00
|
|
|
.custom-form-control {
|
|
|
|
width: 200px;
|
|
|
|
}
|
|
|
|
}
|
2014-02-22 14:27:23 -05:00
|
|
|
|
2016-11-21 17:11:21 -05:00
|
|
|
.help-form .form-group {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
2016-11-18 17:46:57 -05:00
|
|
|
|
2016-11-21 17:11:21 -05:00
|
|
|
.form-control {
|
|
|
|
height: 29px;
|
|
|
|
background: $white-light;
|
2018-07-24 17:17:49 -04:00
|
|
|
font-family: $monospace-font;
|
2016-11-21 17:11:21 -05:00
|
|
|
}
|
2016-11-18 17:46:57 -05:00
|
|
|
|
2018-04-09 11:26:28 -04:00
|
|
|
@include media-breakpoint-down(xs) {
|
2016-11-21 17:11:21 -05:00
|
|
|
padding: 0 $gl-padding;
|
2016-11-18 17:46:57 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-06-03 06:05:06 -04:00
|
|
|
.fieldset-form fieldset {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
2014-06-18 16:53:19 -04:00
|
|
|
|
|
|
|
.form-control {
|
2016-09-09 08:21:00 -04:00
|
|
|
@include box-shadow(none);
|
2019-02-14 12:26:17 -05:00
|
|
|
border-radius: $border-radius-default;
|
2016-06-06 14:11:49 -04:00
|
|
|
padding: $gl-vert-padding $gl-input-padding;
|
2018-05-23 03:17:24 -04:00
|
|
|
|
|
|
|
&.input-short {
|
|
|
|
width: $input-short-width;
|
|
|
|
|
2018-05-23 16:05:33 -04:00
|
|
|
@include media-breakpoint-up(md) {
|
2018-05-23 03:17:24 -04:00
|
|
|
width: $input-short-md-width;
|
|
|
|
}
|
|
|
|
}
|
2014-06-18 16:53:19 -04:00
|
|
|
}
|
2014-09-11 06:05:38 -04:00
|
|
|
|
2016-04-25 09:55:03 -04:00
|
|
|
.select-control {
|
|
|
|
padding-left: 10px;
|
|
|
|
padding-right: 10px;
|
2017-06-19 09:50:30 -04:00
|
|
|
appearance: none;
|
2019-03-14 16:52:01 -04:00
|
|
|
/* stylelint-disable property-no-vendor-prefix */
|
|
|
|
-webkit-appearance: none;
|
|
|
|
-moz-appearance: none;
|
|
|
|
/* stylelint-enable property-no-vendor-prefix */
|
2017-06-19 09:50:30 -04:00
|
|
|
|
|
|
|
&::-ms-expand {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-04-25 09:55:03 -04:00
|
|
|
}
|
|
|
|
|
2015-12-31 15:08:42 -05:00
|
|
|
.form-control-inline {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
2014-12-24 09:52:40 -05:00
|
|
|
.wiki-content {
|
2014-09-11 06:05:38 -04:00
|
|
|
margin-top: 35px;
|
|
|
|
}
|
2015-10-05 15:18:21 -04:00
|
|
|
|
2019-02-25 14:03:21 -05:00
|
|
|
.form-control::placeholder {
|
2018-08-14 12:44:08 -04:00
|
|
|
color: $gl-text-color-tertiary;
|
2015-10-05 15:18:21 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.input-group {
|
2015-12-02 08:09:50 -05:00
|
|
|
.select2-container {
|
|
|
|
display: table-cell;
|
2018-01-28 12:46:28 -05:00
|
|
|
max-width: 180px;
|
2015-12-02 08:09:50 -05:00
|
|
|
}
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2018-04-12 16:32:55 -04:00
|
|
|
.input-group-prepend,
|
|
|
|
.input-group-append {
|
2016-11-30 08:25:25 -05:00
|
|
|
background-color: $input-group-addon-bg;
|
2015-10-05 15:18:21 -04:00
|
|
|
}
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2018-04-12 16:32:55 -04:00
|
|
|
.input-group-prepend:not(:first-child):not(:last-child),
|
|
|
|
.input-group-append:not(:first-child):not(:last-child) {
|
2015-12-02 08:09:50 -05:00
|
|
|
border-left: 0;
|
|
|
|
border-right: 0;
|
|
|
|
}
|
2015-10-05 15:18:21 -04:00
|
|
|
}
|
2016-09-09 08:21:00 -04:00
|
|
|
|
2018-04-11 14:26:37 -04:00
|
|
|
.form-text.text-muted {
|
2016-09-09 08:21:00 -04:00
|
|
|
margin-bottom: 0;
|
2018-02-01 09:19:27 -05:00
|
|
|
margin-top: #{$grid-size / 2};
|
2019-04-17 03:55:06 -04:00
|
|
|
font-size: $gl-font-size;
|
2016-09-09 08:21:00 -04:00
|
|
|
}
|
|
|
|
|
2019-03-22 15:04:41 -04:00
|
|
|
.gl-field-error,
|
|
|
|
.invalid-feedback {
|
2017-03-23 12:04:25 -04:00
|
|
|
color: $red-500;
|
2019-03-22 15:04:41 -04:00
|
|
|
font-size: $gl-font-size;
|
2016-09-09 08:21:00 -04:00
|
|
|
}
|
|
|
|
|
2016-11-02 06:35:21 -04:00
|
|
|
.gl-show-field-errors {
|
2018-08-01 19:08:22 -04:00
|
|
|
.form-control:not(textarea) {
|
2018-06-19 17:22:31 -04:00
|
|
|
height: 34px;
|
|
|
|
}
|
|
|
|
|
2016-10-21 07:49:09 -04:00
|
|
|
.gl-field-success-outline {
|
2017-03-23 12:04:25 -04:00
|
|
|
border: 1px solid $green-600;
|
2016-10-21 07:49:09 -04:00
|
|
|
|
|
|
|
&:focus {
|
2019-05-03 14:32:29 -04:00
|
|
|
box-shadow: 0 0 0 1px $green-600 inset, 0 1px 1px $gl-field-focus-shadow inset,
|
|
|
|
0 0 4px 0 $green-600;
|
2016-10-21 07:49:09 -04:00
|
|
|
border: 0 none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.gl-field-error-outline {
|
2017-03-23 12:04:25 -04:00
|
|
|
border: 1px solid $red-500;
|
2016-10-21 07:49:09 -04:00
|
|
|
|
|
|
|
&:focus {
|
2019-05-03 14:32:29 -04:00
|
|
|
box-shadow: 0 0 0 1px $red-500 inset, 0 1px 1px $gl-field-focus-shadow inset,
|
|
|
|
0 0 4px 0 $gl-field-focus-shadow-error;
|
2016-10-21 07:49:09 -04:00
|
|
|
border: 0 none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.gl-field-success-message {
|
2017-03-23 12:04:25 -04:00
|
|
|
color: $green-600;
|
2016-10-21 07:49:09 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.gl-field-error-message {
|
2017-03-23 12:04:25 -04:00
|
|
|
color: $red-500;
|
2016-10-21 07:49:09 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.gl-field-hint {
|
|
|
|
color: $gl-text-color;
|
|
|
|
}
|
|
|
|
}
|
2017-03-22 18:34:21 -04:00
|
|
|
|
2018-04-09 11:26:28 -04:00
|
|
|
@include media-breakpoint-down(xs) {
|
2017-03-22 18:34:21 -04:00
|
|
|
.remember-me {
|
|
|
|
.remember-me-checkbox {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-06-29 10:34:26 -04:00
|
|
|
|
2019-05-03 14:39:13 -04:00
|
|
|
.input-icon-wrapper,
|
|
|
|
.select-wrapper {
|
2018-06-29 10:34:26 -04:00
|
|
|
position: relative;
|
2019-05-03 14:39:13 -04:00
|
|
|
}
|
2018-06-29 10:34:26 -04:00
|
|
|
|
2019-05-03 14:39:13 -04:00
|
|
|
.select-wrapper > .fa-chevron-down {
|
|
|
|
position: absolute;
|
|
|
|
font-size: 10px;
|
|
|
|
right: 10px;
|
|
|
|
top: 12px;
|
|
|
|
color: $gray-darkest;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.input-icon-wrapper > .input-icon-right {
|
|
|
|
position: absolute;
|
|
|
|
right: 0.8em;
|
|
|
|
top: 50%;
|
|
|
|
transform: translateY(-50%);
|
|
|
|
color: $gray-600;
|
2018-06-29 10:34:26 -04:00
|
|
|
}
|
2018-07-06 10:36:02 -04:00
|
|
|
|
2018-12-18 09:38:21 -05:00
|
|
|
.input-md {
|
|
|
|
max-width: $input-md-width;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2018-07-06 10:36:02 -04:00
|
|
|
.input-lg {
|
2018-12-18 09:38:21 -05:00
|
|
|
max-width: $input-lg-width;
|
2018-07-06 10:36:02 -04:00
|
|
|
width: 100%;
|
|
|
|
}
|
2019-05-20 14:43:00 -04:00
|
|
|
|
|
|
|
.input-group-text {
|
|
|
|
max-height: $input-height;
|
|
|
|
}
|
2019-05-22 18:50:22 -04:00
|
|
|
|
|
|
|
.gl-form-checkbox {
|
|
|
|
align-items: baseline;
|
2019-06-06 21:51:08 -04:00
|
|
|
margin-right: 1rem;
|
|
|
|
margin-bottom: 0.25rem;
|
|
|
|
|
|
|
|
.form-check-input {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-check-label {
|
|
|
|
padding-left: $gl-padding-8;
|
|
|
|
}
|
2019-05-22 18:50:22 -04:00
|
|
|
|
|
|
|
&.form-check-inline .form-check-input {
|
|
|
|
align-self: flex-start;
|
|
|
|
height: 1.5 * $gl-font-size;
|
|
|
|
}
|
|
|
|
|
2019-06-06 21:51:08 -04:00
|
|
|
.form-check-input:disabled,
|
|
|
|
.form-check-input:disabled ~ .form-check-label {
|
|
|
|
cursor: not-allowed;
|
2019-05-22 18:50:22 -04:00
|
|
|
}
|
|
|
|
}
|