mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-28 12:24:23 +00:00
Fix select rtl
This commit is contained in:
parent
71ca950476
commit
79389cbf11
@ -4577,13 +4577,13 @@ fieldset[disabled] .radio {
|
|||||||
|
|
||||||
.select:not(.is-multiple):not(.is-loading)::after {
|
.select:not(.is-multiple):not(.is-loading)::after {
|
||||||
border-color: #3273dc;
|
border-color: #3273dc;
|
||||||
right: 1.125em;
|
left: 1.125em;
|
||||||
z-index: 4;
|
z-index: 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
.select.is-rounded select {
|
.select.is-rounded select {
|
||||||
border-radius: 290486px;
|
border-radius: 290486px;
|
||||||
padding-left: 1em;
|
padding-right: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.select select {
|
.select select {
|
||||||
@ -4604,7 +4604,7 @@ fieldset[disabled] .select select:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.select select:not([multiple]) {
|
.select select:not([multiple]) {
|
||||||
padding-right: 2.5em;
|
padding-left: 2.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.select select[multiple] {
|
.select select[multiple] {
|
||||||
@ -4808,7 +4808,7 @@ fieldset[disabled] .select select:hover {
|
|||||||
.select.is-loading::after {
|
.select.is-loading::after {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0.625em;
|
left: 0.625em;
|
||||||
top: 0.625em;
|
top: 0.625em;
|
||||||
transform: none;
|
transform: none;
|
||||||
}
|
}
|
||||||
@ -7109,7 +7109,7 @@ body.has-navbar-fixed-bottom {
|
|||||||
height: 3.25rem;
|
height: 3.25rem;
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 3.25rem;
|
width: 3.25rem;
|
||||||
margin-left: auto;
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-burger span {
|
.navbar-burger span {
|
||||||
@ -7386,11 +7386,11 @@ a.navbar-item:focus, a.navbar-item:focus-within, a.navbar-item:hover, a.navbar-i
|
|||||||
}
|
}
|
||||||
.navbar-start {
|
.navbar-start {
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
margin-right: auto;
|
margin-left: auto;
|
||||||
}
|
}
|
||||||
.navbar-end {
|
.navbar-end {
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
margin-left: auto;
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
.navbar-dropdown {
|
.navbar-dropdown {
|
||||||
background-color: white;
|
background-color: white;
|
||||||
@ -7442,11 +7442,11 @@ a.navbar-item:focus, a.navbar-item:focus-within, a.navbar-item:hover, a.navbar-i
|
|||||||
}
|
}
|
||||||
.navbar > .container .navbar-brand,
|
.navbar > .container .navbar-brand,
|
||||||
.container > .navbar .navbar-brand {
|
.container > .navbar .navbar-brand {
|
||||||
margin-left: -.75rem;
|
margin-right: -0.75rem;
|
||||||
}
|
}
|
||||||
.navbar > .container .navbar-menu,
|
.navbar > .container .navbar-menu,
|
||||||
.container > .navbar .navbar-menu {
|
.container > .navbar .navbar-menu {
|
||||||
margin-right: -.75rem;
|
margin-left: -0.75rem;
|
||||||
}
|
}
|
||||||
.navbar.is-fixed-bottom-desktop, .navbar.is-fixed-top-desktop {
|
.navbar.is-fixed-bottom-desktop, .navbar.is-fixed-top-desktop {
|
||||||
left: 0;
|
left: 0;
|
||||||
|
File diff suppressed because one or more lines are too long
2
css/bulma-rtl.min.css
vendored
2
css/bulma-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
4
css/bulma.css
vendored
4
css/bulma.css
vendored
@ -7442,11 +7442,11 @@ a.navbar-item:focus, a.navbar-item:focus-within, a.navbar-item:hover, a.navbar-i
|
|||||||
}
|
}
|
||||||
.navbar > .container .navbar-brand,
|
.navbar > .container .navbar-brand,
|
||||||
.container > .navbar .navbar-brand {
|
.container > .navbar .navbar-brand {
|
||||||
margin-left: -.75rem;
|
margin-left: -0.75rem;
|
||||||
}
|
}
|
||||||
.navbar > .container .navbar-menu,
|
.navbar > .container .navbar-menu,
|
||||||
.container > .navbar .navbar-menu {
|
.container > .navbar .navbar-menu {
|
||||||
margin-right: -.75rem;
|
margin-right: -0.75rem;
|
||||||
}
|
}
|
||||||
.navbar.is-fixed-bottom-desktop, .navbar.is-fixed-top-desktop {
|
.navbar.is-fixed-bottom-desktop, .navbar.is-fixed-top-desktop {
|
||||||
left: 0;
|
left: 0;
|
||||||
|
File diff suppressed because one or more lines are too long
@ -151,7 +151,7 @@ body
|
|||||||
.navbar-burger
|
.navbar-burger
|
||||||
color: $navbar-burger-color
|
color: $navbar-burger-color
|
||||||
+hamburger($navbar-height)
|
+hamburger($navbar-height)
|
||||||
margin-left: auto
|
+ltr-property("margin", auto, false)
|
||||||
|
|
||||||
.navbar-menu
|
.navbar-menu
|
||||||
display: none
|
display: none
|
||||||
@ -348,10 +348,10 @@ a.navbar-item,
|
|||||||
flex-shrink: 0
|
flex-shrink: 0
|
||||||
.navbar-start
|
.navbar-start
|
||||||
justify-content: flex-start
|
justify-content: flex-start
|
||||||
margin-right: auto
|
+ltr-property("margin", auto)
|
||||||
.navbar-end
|
.navbar-end
|
||||||
justify-content: flex-end
|
justify-content: flex-end
|
||||||
margin-left: auto
|
+ltr-property("margin", auto, false)
|
||||||
.navbar-dropdown
|
.navbar-dropdown
|
||||||
background-color: $navbar-dropdown-background-color
|
background-color: $navbar-dropdown-background-color
|
||||||
border-bottom-left-radius: $navbar-dropdown-radius
|
border-bottom-left-radius: $navbar-dropdown-radius
|
||||||
@ -397,9 +397,9 @@ a.navbar-item,
|
|||||||
.navbar > .container,
|
.navbar > .container,
|
||||||
.container > .navbar
|
.container > .navbar
|
||||||
.navbar-brand
|
.navbar-brand
|
||||||
margin-left: -.75rem
|
+ltr-property("margin", -.75rem, false)
|
||||||
.navbar-menu
|
.navbar-menu
|
||||||
margin-right: -.75rem
|
+ltr-property("margin", -.75rem)
|
||||||
// Fixed navbar
|
// Fixed navbar
|
||||||
.navbar
|
.navbar
|
||||||
&.is-fixed-bottom-desktop,
|
&.is-fixed-bottom-desktop,
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
&::after
|
&::after
|
||||||
@extend %arrow
|
@extend %arrow
|
||||||
border-color: $input-arrow
|
border-color: $input-arrow
|
||||||
right: 1.125em
|
+ltr-position(1.125em)
|
||||||
z-index: 4
|
z-index: 4
|
||||||
&.is-rounded
|
&.is-rounded
|
||||||
select
|
select
|
||||||
border-radius: $radius-rounded
|
border-radius: $radius-rounded
|
||||||
padding-left: 1em
|
+ltr-property("padding", 1em, false)
|
||||||
select
|
select
|
||||||
@extend %input
|
@extend %input
|
||||||
cursor: pointer
|
cursor: pointer
|
||||||
@ -28,7 +28,7 @@
|
|||||||
fieldset[disabled] &:hover
|
fieldset[disabled] &:hover
|
||||||
border-color: $input-disabled-border-color
|
border-color: $input-disabled-border-color
|
||||||
&:not([multiple])
|
&:not([multiple])
|
||||||
padding-right: 2.5em
|
+ltr-property("padding", 2.5em)
|
||||||
&[multiple]
|
&[multiple]
|
||||||
height: auto
|
height: auto
|
||||||
padding: 0
|
padding: 0
|
||||||
@ -74,7 +74,7 @@
|
|||||||
@extend %loader
|
@extend %loader
|
||||||
margin-top: 0
|
margin-top: 0
|
||||||
position: absolute
|
position: absolute
|
||||||
right: 0.625em
|
+ltr-position(0.625em)
|
||||||
top: 0.625em
|
top: 0.625em
|
||||||
transform: none
|
transform: none
|
||||||
&.is-small:after
|
&.is-small:after
|
||||||
|
Loading…
Reference in New Issue
Block a user