Fixes weird rotation of triangle on selects loading.

This commit is contained in:
Mateus Machado Luna 2018-08-06 11:37:15 -03:00
parent 28f7b1cab5
commit ce4148855b
3 changed files with 6 additions and 34 deletions

View File

@ -774,16 +774,6 @@
this.isFilterModalActive = false; this.isFilterModalActive = false;
} }
}, },
onSwipeFiltersMenuRight() {
let screenWidth = window.screen.width;
if (!this.isFilterModalActive && screenWidth <= 768)
this.isFilterModalActive = true;
},
onSwipeFiltersMenuLeft() {
if (this.isFilterModalActive)
this.isFilterModalActive = false;
},
onOpenImportersModal() { onOpenImportersModal() {
this.$modal.open({ this.$modal.open({
parent: this, parent: this,

View File

@ -21,7 +21,7 @@
background-color: white !important; background-color: white !important;
} }
} }
&:not(.is-multiple)::after { &:not(.is-loading)::after {
content: "\F35D" !important; content: "\F35D" !important;
font: normal normal normal 24px/1 "Material Design Icons" !important; font: normal normal normal 24px/1 "Material Design Icons" !important;
border: none !important; border: none !important;
@ -32,4 +32,7 @@
display: flex !important; display: flex !important;
align-items: initial; align-items: initial;
} }
&.is-loading.is-small::after {
font-size: 0.875rem;
}
} }

View File

@ -179,27 +179,6 @@
padding: 0.75rem 1px 0.75rem 0 !important; padding: 0.75rem 1px 0.75rem 0 !important;
} }
.select {
padding-top: 0px !important;
select {
font-size: 14px;
border-radius: 1px !important;
font-weight: normal;
height: 30px !important;
padding: 2px 25px 2px 15px !important;
margin-top: 0px !important;
margin-bottom: 0px !important;
}
&:not(.is-multiple)::after {
content: "\F35D" !important;
font: normal normal normal 24px/1 "Material Design Icons" !important;
transform: none;
margin-top: -0.6em;
right: 0.95em;
color: $turquoise3;
}
}
.collapse { .collapse {
.label { .label {
display: inline-flex; display: inline-flex;
@ -213,7 +192,7 @@
width: 100%; width: 100%;
} }
.input, .textarea, .taginput-container { .taginput-container {
font-size: 14px; font-size: 14px;
border-radius: 1px !important; border-radius: 1px !important;
box-shadow: none !important; box-shadow: none !important;