mirror of
https://github.com/jgthms/bulma
synced 2026-03-15 02:04:29 -07:00
Add navbar component, Fix JS highlight
This commit is contained in:
@@ -69,7 +69,7 @@ input[type="radio"]
|
||||
vertical-align: baseline
|
||||
|
||||
small
|
||||
font-size: 0.8em
|
||||
font-size: 0.875em
|
||||
|
||||
span
|
||||
font-style: inherit
|
||||
|
||||
@@ -11,6 +11,7 @@ $navbar-dropdown-border: $border !default
|
||||
$navbar-dropdown-offset: -4px !default
|
||||
$navbar-dropdown-arrow: $link !default
|
||||
$navbar-dropdown-radius: $radius-large !default
|
||||
$navbar-dropdown-z: 20 !default
|
||||
|
||||
$navbar-dropdown-item-hover-background: $background !default
|
||||
$navbar-dropdown-item-active: $primary !default
|
||||
@@ -156,10 +157,12 @@ a.navbar-item,
|
||||
min-width: 100%
|
||||
position: absolute
|
||||
top: 100%
|
||||
z-index: 20
|
||||
z-index: $navbar-dropdown-z
|
||||
.navbar-item
|
||||
padding: 0.375rem 1rem
|
||||
white-space: nowrap
|
||||
a.navbar-item
|
||||
padding-right: 3rem
|
||||
&.is-boxed
|
||||
border-radius: $navbar-dropdown-radius
|
||||
border-top: none
|
||||
|
||||
@@ -54,12 +54,10 @@
|
||||
ol
|
||||
list-style: decimal outside
|
||||
margin-left: 2em
|
||||
margin-right: 2em
|
||||
margin-top: 1em
|
||||
ul
|
||||
list-style: disc outside
|
||||
margin-left: 2em
|
||||
margin-right: 2em
|
||||
margin-top: 1em
|
||||
ul
|
||||
list-style-type: circle
|
||||
@@ -67,22 +65,22 @@
|
||||
ul
|
||||
list-style-type: square
|
||||
dd
|
||||
margin-left: 2em
|
||||
figure
|
||||
text-align: center
|
||||
img
|
||||
display: inline-block
|
||||
figcaption
|
||||
font-style: italic
|
||||
pre
|
||||
margin-left: 2em
|
||||
figure
|
||||
text-align: center
|
||||
img
|
||||
display: inline-block
|
||||
figcaption
|
||||
font-style: italic
|
||||
pre
|
||||
+overflow-touch
|
||||
overflow-x: auto
|
||||
padding: 1.25em 1.5em
|
||||
white-space: pre
|
||||
word-wrap: normal
|
||||
sup,
|
||||
sub
|
||||
font-size: 70%
|
||||
word-wrap: normal
|
||||
sup,
|
||||
sub
|
||||
font-size: 70%
|
||||
table
|
||||
width: 100%
|
||||
td,
|
||||
|
||||
Reference in New Issue
Block a user