diff options
author | Maximilian Hils <git@maximilianhils.com> | 2020-02-26 11:50:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-26 11:50:42 +0100 |
commit | 89933ca7eae72418fd08d97711d2f11a59e1a398 (patch) | |
tree | 194e7ff191e3b162f7526953c0d6aedc22866f98 /docs/src/assets/bulma/utilities/controls.sass | |
parent | ff759fa51b00c05c3873efaa8ae16abe3d078bfb (diff) | |
parent | c6393f86d70ca33385cc8029e9e5029c5627d5c3 (diff) | |
download | mitmproxy-89933ca7eae72418fd08d97711d2f11a59e1a398.tar.gz mitmproxy-89933ca7eae72418fd08d97711d2f11a59e1a398.tar.bz2 mitmproxy-89933ca7eae72418fd08d97711d2f11a59e1a398.zip |
Merge pull request #3829 from meetmangukiya/rm-node-scss
Remove yarn/npm from docs
Diffstat (limited to 'docs/src/assets/bulma/utilities/controls.sass')
-rw-r--r-- | docs/src/assets/bulma/utilities/controls.sass | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/docs/src/assets/bulma/utilities/controls.sass b/docs/src/assets/bulma/utilities/controls.sass new file mode 100644 index 00000000..cc7672a1 --- /dev/null +++ b/docs/src/assets/bulma/utilities/controls.sass @@ -0,0 +1,50 @@ +$control-radius: $radius !default +$control-radius-small: $radius-small !default + +$control-border-width: 1px !default + +$control-height: 2.5em !default +$control-line-height: 1.5 !default + +$control-padding-vertical: calc(0.5em - #{$control-border-width}) !default +$control-padding-horizontal: calc(0.75em - #{$control-border-width}) !default + +=control + -moz-appearance: none + -webkit-appearance: none + align-items: center + border: $control-border-width solid transparent + border-radius: $control-radius + box-shadow: none + display: inline-flex + font-size: $size-normal + height: $control-height + justify-content: flex-start + line-height: $control-line-height + padding-bottom: $control-padding-vertical + padding-left: $control-padding-horizontal + padding-right: $control-padding-horizontal + padding-top: $control-padding-vertical + position: relative + vertical-align: top + // States + &:focus, + &.is-focused, + &:active, + &.is-active + outline: none + &[disabled], + fieldset[disabled] & + cursor: not-allowed + +%control + +control + +// The controls sizes use mixins so they can be used at different breakpoints +=control-small + border-radius: $control-radius-small + font-size: $size-small +=control-medium + font-size: $size-medium +=control-large + font-size: $size-large |