aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src/assets/bulma/components/menu.sass
diff options
context:
space:
mode:
authorMeet Mangukiya <meetmangukiya98@gmail.com>2020-02-25 03:29:49 +0530
committerMeet Mangukiya <meetmangukiya98@gmail.com>2020-02-25 03:38:10 +0530
commitc6393f86d70ca33385cc8029e9e5029c5627d5c3 (patch)
tree54e02315d44f4e5cf7d4fd026a3b16536e24ff2c /docs/src/assets/bulma/components/menu.sass
parent9da85619e6bd1f274210a90883aba395497225d0 (diff)
downloadmitmproxy-c6393f86d70ca33385cc8029e9e5029c5627d5c3.tar.gz
mitmproxy-c6393f86d70ca33385cc8029e9e5029c5627d5c3.tar.bz2
mitmproxy-c6393f86d70ca33385cc8029e9e5029c5627d5c3.zip
Remove yarn/npm from docs
Closes https://github.com/mitmproxy/mitmproxy/issues/3716
Diffstat (limited to 'docs/src/assets/bulma/components/menu.sass')
-rw-r--r--docs/src/assets/bulma/components/menu.sass57
1 files changed, 57 insertions, 0 deletions
diff --git a/docs/src/assets/bulma/components/menu.sass b/docs/src/assets/bulma/components/menu.sass
new file mode 100644
index 00000000..3de7e18d
--- /dev/null
+++ b/docs/src/assets/bulma/components/menu.sass
@@ -0,0 +1,57 @@
+$menu-item-color: $text !default
+$menu-item-radius: $radius-small !default
+$menu-item-hover-color: $text-strong !default
+$menu-item-hover-background-color: $background !default
+$menu-item-active-color: $link-invert !default
+$menu-item-active-background-color: $link !default
+
+$menu-list-border-left: 1px solid $border !default
+$menu-list-line-height: 1.25 !default
+$menu-list-link-padding: 0.5em 0.75em !default
+$menu-nested-list-margin: 0.75em !default
+$menu-nested-list-padding-left: 0.75em !default
+
+$menu-label-color: $text-light !default
+$menu-label-font-size: 0.75em !default
+$menu-label-letter-spacing: 0.1em !default
+$menu-label-spacing: 1em !default
+
+.menu
+ font-size: $size-normal
+ // Sizes
+ &.is-small
+ font-size: $size-small
+ &.is-medium
+ font-size: $size-medium
+ &.is-large
+ font-size: $size-large
+
+.menu-list
+ line-height: $menu-list-line-height
+ a
+ border-radius: $menu-item-radius
+ color: $menu-item-color
+ display: block
+ padding: $menu-list-link-padding
+ &:hover
+ background-color: $menu-item-hover-background-color
+ color: $menu-item-hover-color
+ // Modifiers
+ &.is-active
+ background-color: $menu-item-active-background-color
+ color: $menu-item-active-color
+ li
+ ul
+ border-left: $menu-list-border-left
+ margin: $menu-nested-list-margin
+ padding-left: $menu-nested-list-padding-left
+
+.menu-label
+ color: $menu-label-color
+ font-size: $menu-label-font-size
+ letter-spacing: $menu-label-letter-spacing
+ text-transform: uppercase
+ &:not(:first-child)
+ margin-top: $menu-label-spacing
+ &:not(:last-child)
+ margin-bottom: $menu-label-spacing