mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-15 03:12:54 +03:00
Firefox fixes for new select style
This commit is contained in:
parent
e219fb121e
commit
77cc6c3b72
@ -158,6 +158,7 @@ legend {
|
||||
|
||||
#{$all-text-inputs},
|
||||
textarea,
|
||||
.gh-select,
|
||||
select {
|
||||
display: block;
|
||||
padding: 8px 10px;
|
||||
@ -165,7 +166,7 @@ select {
|
||||
border: 1px solid #E0DFD7;
|
||||
border-radius: $rounded;
|
||||
|
||||
font-size: 1.1em;
|
||||
font-size: 1.1rem;
|
||||
font-weight: normal;
|
||||
color: $darkgrey;
|
||||
|
||||
@ -185,13 +186,6 @@ textarea {
|
||||
min-height: 6.5em;
|
||||
}
|
||||
|
||||
// 'vanilla' CSS hack to specifically target Firefox
|
||||
@-moz-document url-prefix() {
|
||||
select {
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
|
||||
input[type="number"] {
|
||||
&::-webkit-inner-spin-button,
|
||||
&::-webkit-outer-spin-button {
|
||||
@ -381,10 +375,11 @@ input[type='radio'] {
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
padding: 0;
|
||||
border-width: 0;
|
||||
|
||||
@include icon-after($i-chevron-down, 0.85em, $midbrown) {
|
||||
@include position(absolute, 50% 0.8em null null);
|
||||
position: absolute;
|
||||
margin-top: -0.5em;
|
||||
pointer-events: none;
|
||||
};
|
||||
@ -419,4 +414,14 @@ input[type='radio'] {
|
||||
text-shadow: 0 0 0 #000;
|
||||
}
|
||||
} // select
|
||||
} // .gh-select
|
||||
} // .gh-select
|
||||
|
||||
// Firefox-specific size fixes
|
||||
@-moz-document url-prefix() {
|
||||
.gh-select {
|
||||
border-width: 1px;
|
||||
select {
|
||||
padding: 7px 10px 7px 8px;
|
||||
}
|
||||
}
|
||||
} // @-moz-document
|
2
ghost/admin/docs/dist/css/ghost-ui.min.css
vendored
2
ghost/admin/docs/dist/css/ghost-ui.min.css
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user