a couple of stylefixes

This commit is contained in:
nixa 2016-05-16 17:26:51 +03:00
parent f107a3726a
commit a8363d02b8
4 changed files with 51 additions and 4 deletions

View file

@ -1,6 +1,7 @@
@import '../../../../theme/sass/conf/conf'; @import '../../../../theme/sass/conf/conf';
#leaflet-map { .leaflet-maps {
width: 100%;
height: calc(100vh - 283px); height: calc(100vh - 283px);
} }

View file

@ -14,6 +14,10 @@
&.scrolled { &.scrolled {
background-color: rgba(black, 0.85) background-color: rgba(black, 0.85)
} }
.dropdown-toggle::after {
display: none;
}
} }
a.al-logo { a.al-logo {

View file

@ -7,6 +7,8 @@ $hover: 24;
.btn { .btn {
border-radius: 5px; border-radius: 5px;
transition: all 0.1s ease; transition: all 0.1s ease;
padding: 0.344rem 1rem;
font-size: 0.9rem;
} }
.btn:hover { .btn:hover {
@ -255,6 +257,26 @@ button.progress-button {
font-size: 16px; font-size: 16px;
} }
.btn-group-xs>.btn, .btn-xs {
padding: 1px 5px;
font-size: 12px;
line-height: 1.5;
}
.btn-group-sm>.btn, .btn-sm {
padding: 5px 10px;
font-size: 12px;
line-height: 1.5;
border-radius: 3px;
}
.btn-group-lg>.btn, .btn-lg {
padding: 10px 16px;
font-size: 18px;
line-height: 1.3333333;
border-radius: 6px;
}
.dropdown button.btn.btn-default.dropdown-toggle { .dropdown button.btn.btn-default.dropdown-toggle {
color: $default-text; color: $default-text;
border: 1px solid $border; border: 1px solid $border;

View file

@ -348,22 +348,42 @@ label.custom-input-danger {
color: $label-text; color: $label-text;
} }
} }
.form-control-feedback {
position: absolute;
top: 0;
right: 0;
z-index: 2;
display: block;
width: 34px;
height: 34px;
line-height: 34px;
text-align: center;
pointer-events: none;
}
.has-success { .has-success {
@include validationState($success-bg, $success); @include validationState($success-bg, $success);
position: relative;
} }
.has-warning { .has-warning {
@include validationState($warning-bg, $warning); @include validationState($warning-bg, $warning);
position: relative;
} }
.has-error { .has-error {
@include validationState($danger-bg, $danger); @include validationState($danger-bg, $danger);
position: relative;
} }
.has-feedback label ~ .form-control-feedback { .has-feedback {
.form-control {
padding-right: 42.5px;
}
label ~ .form-control-feedback {
top: 21px; top: 21px;
font-size: 18px; font-size: 18px;
}
} }
.bootstrap-select { .bootstrap-select {