提交 714a52f2 编写于 作者: C codecalm

forms fixes

上级 a5bfcb88
......@@ -5,7 +5,7 @@ $enable-extra-colors: true !default;
$enable-gradients: false !default;
// FONTS
$google-font: "Source Sans Pro" !default;
$google-font: "Nunito" !default;
$font-family-sans-serif: $google-font, -apple-system, blinkmacsystemfont, segoe ui, helvetica, arial, sans-serif, apple color emoji, segoe ui emoji, segoe ui symbol !default;
$font-family-serif: "Georgia", "Times New Roman", times, serif !default;
......@@ -317,15 +317,15 @@ $input-border-radius: $border-radius !default;
//Forms
$form-check-input-width: (16em/15) !default;
$form-check-padding-left: $form-check-input-width + .5em !default;
$form-check-input-width: 1rem !default;
$form-check-padding-left: $form-check-input-width + .5rem !default;
$form-check-input-bg: $white !default;
$form-check-input-border: 1px solid $border-color !default;
$form-check-input-border-radius: $border-radius !default;
$form-check-input-checked-bg-size: .75rem !default;
$form-switch-width: (28em/15) !default;
$form-switch-padding-left: $form-switch-width + .5em !default;
$form-switch-width: 1.75rem !default;
$form-switch-padding-left: $form-switch-width + .5rem !default;
$form-range-track-height: .25rem !default;
......
......@@ -21,9 +21,3 @@ body {
}
}
/**
Remove the cancel buttons in Chrome and Safari on macOS.
*/
[type="search"]::-webkit-search-cancel-button {
-webkit-appearance: none;
}
/**
Bootstrap color input
*/
.form-control-color {
&::-webkit-color-swatch {
border: none;
}
}
/**
Remove the cancel buttons in Chrome and Safari on macOS.
*/
[type="search"]::-webkit-search-cancel-button {
-webkit-appearance: none;
}
.form-check-input {
margin-top: .25rem;
transition: .3s background-position, .3s background-color;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册