mirror of
https://github.com/jgthms/bulma
synced 2026-03-21 04:34:30 -07:00
Fix #272
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
# Fix #568 max-width container
|
# Fix #568 max-width container
|
||||||
# Fix #589 notification delete
|
# Fix #589 notification delete
|
||||||
|
# Fix #272 nav-right without nav-menu
|
||||||
|
|
||||||
## 0.4.0
|
## 0.4.0
|
||||||
|
|
||||||
|
|||||||
@@ -240,7 +240,7 @@ table th {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 769px) {
|
@media screen and (min-width: 769px), print {
|
||||||
.is-block-tablet {
|
.is-block-tablet {
|
||||||
display: block !important;
|
display: block !important;
|
||||||
}
|
}
|
||||||
@@ -290,7 +290,7 @@ table th {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 769px) {
|
@media screen and (min-width: 769px), print {
|
||||||
.is-flex-tablet {
|
.is-flex-tablet {
|
||||||
display: -webkit-box !important;
|
display: -webkit-box !important;
|
||||||
display: -ms-flexbox !important;
|
display: -ms-flexbox !important;
|
||||||
@@ -348,7 +348,7 @@ table th {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 769px) {
|
@media screen and (min-width: 769px), print {
|
||||||
.is-inline-tablet {
|
.is-inline-tablet {
|
||||||
display: inline !important;
|
display: inline !important;
|
||||||
}
|
}
|
||||||
@@ -394,7 +394,7 @@ table th {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 769px) {
|
@media screen and (min-width: 769px), print {
|
||||||
.is-inline-block-tablet {
|
.is-inline-block-tablet {
|
||||||
display: inline-block !important;
|
display: inline-block !important;
|
||||||
}
|
}
|
||||||
@@ -444,7 +444,7 @@ table th {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 769px) {
|
@media screen and (min-width: 769px), print {
|
||||||
.is-inline-flex-tablet {
|
.is-inline-flex-tablet {
|
||||||
display: -webkit-inline-box !important;
|
display: -webkit-inline-box !important;
|
||||||
display: -ms-inline-flexbox !important;
|
display: -ms-inline-flexbox !important;
|
||||||
@@ -530,6 +530,78 @@ table th {
|
|||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.has-text-white {
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.has-text-white:hover, a.has-text-white:focus {
|
||||||
|
color: #e6e6e6;
|
||||||
|
}
|
||||||
|
|
||||||
|
.has-text-black {
|
||||||
|
color: #0a0a0a;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.has-text-black:hover, a.has-text-black:focus {
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
.has-text-light {
|
||||||
|
color: whitesmoke;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.has-text-light:hover, a.has-text-light:focus {
|
||||||
|
color: #dbdbdb;
|
||||||
|
}
|
||||||
|
|
||||||
|
.has-text-dark {
|
||||||
|
color: #363636;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.has-text-dark:hover, a.has-text-dark:focus {
|
||||||
|
color: #1c1c1c;
|
||||||
|
}
|
||||||
|
|
||||||
|
.has-text-primary {
|
||||||
|
color: #00d1b2;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.has-text-primary:hover, a.has-text-primary:focus {
|
||||||
|
color: #009e86;
|
||||||
|
}
|
||||||
|
|
||||||
|
.has-text-info {
|
||||||
|
color: #3273dc;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.has-text-info:hover, a.has-text-info:focus {
|
||||||
|
color: #205bbc;
|
||||||
|
}
|
||||||
|
|
||||||
|
.has-text-success {
|
||||||
|
color: #23d160;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.has-text-success:hover, a.has-text-success:focus {
|
||||||
|
color: #1ca64c;
|
||||||
|
}
|
||||||
|
|
||||||
|
.has-text-warning {
|
||||||
|
color: #ffdd57;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.has-text-warning:hover, a.has-text-warning:focus {
|
||||||
|
color: #ffd324;
|
||||||
|
}
|
||||||
|
|
||||||
|
.has-text-danger {
|
||||||
|
color: #ff3860;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.has-text-danger:hover, a.has-text-danger:focus {
|
||||||
|
color: #ff0537;
|
||||||
|
}
|
||||||
|
|
||||||
.is-hidden {
|
.is-hidden {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
@@ -540,7 +612,7 @@ table th {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 769px) {
|
@media screen and (min-width: 769px), print {
|
||||||
.is-hidden-tablet {
|
.is-hidden-tablet {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
@@ -2047,7 +2119,7 @@ input[type="submit"].button {
|
|||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 769px) {
|
@media screen and (min-width: 769px), print {
|
||||||
.field.is-horizontal {
|
.field.is-horizontal {
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
display: -ms-flexbox;
|
display: -ms-flexbox;
|
||||||
@@ -2065,7 +2137,7 @@ input[type="submit"].button {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 769px) {
|
@media screen and (min-width: 769px), print {
|
||||||
.field-label {
|
.field-label {
|
||||||
-ms-flex-preferred-size: 0;
|
-ms-flex-preferred-size: 0;
|
||||||
flex-basis: 0;
|
flex-basis: 0;
|
||||||
@@ -2094,7 +2166,7 @@ input[type="submit"].button {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 769px) {
|
@media screen and (min-width: 769px), print {
|
||||||
.field-body {
|
.field-body {
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
display: -ms-flexbox;
|
display: -ms-flexbox;
|
||||||
@@ -2329,7 +2401,7 @@ input[type="submit"].button {
|
|||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.notification .delete {
|
.notification > .delete {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0.5em;
|
right: 0.5em;
|
||||||
top: 0.5em;
|
top: 0.5em;
|
||||||
@@ -3086,7 +3158,7 @@ input[type="submit"].button {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 769px) {
|
@media screen and (min-width: 769px), print {
|
||||||
.level-left {
|
.level-left {
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
display: -ms-flexbox;
|
display: -ms-flexbox;
|
||||||
@@ -3103,7 +3175,7 @@ input[type="submit"].button {
|
|||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 769px) {
|
@media screen and (min-width: 769px), print {
|
||||||
.level-right {
|
.level-right {
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
display: -ms-flexbox;
|
display: -ms-flexbox;
|
||||||
@@ -3160,7 +3232,7 @@ input[type="submit"].button {
|
|||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 769px) {
|
@media screen and (min-width: 769px), print {
|
||||||
.level {
|
.level {
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
display: -ms-flexbox;
|
display: -ms-flexbox;
|
||||||
@@ -3516,7 +3588,7 @@ input[type="submit"].button {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 769px) {
|
@media screen and (min-width: 769px), print {
|
||||||
.modal-content,
|
.modal-content,
|
||||||
.modal-card {
|
.modal-card {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
@@ -3756,7 +3828,7 @@ input[type="submit"].button {
|
|||||||
transform-origin: left bottom;
|
transform-origin: left bottom;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 769px) {
|
@media screen and (min-width: 769px), print {
|
||||||
.nav-toggle {
|
.nav-toggle {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
@@ -3859,36 +3931,14 @@ a.nav-item.is-tab.is-active {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 768px) {
|
|
||||||
.nav-menu {
|
|
||||||
background-color: white;
|
|
||||||
box-shadow: 0 4px 7px rgba(10, 10, 10, 0.1);
|
|
||||||
left: 0;
|
|
||||||
display: none;
|
|
||||||
right: 0;
|
|
||||||
top: 100%;
|
|
||||||
position: absolute;
|
|
||||||
}
|
|
||||||
.nav-menu .nav-item {
|
|
||||||
border-top: 1px solid rgba(219, 219, 219, 0.5);
|
|
||||||
padding: 0.75rem;
|
|
||||||
}
|
|
||||||
.nav-menu.is-active {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and (min-width: 769px) and (max-width: 999px) {
|
|
||||||
.nav-menu {
|
|
||||||
padding-right: 1.5rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav-left,
|
.nav-left,
|
||||||
.nav-right {
|
.nav-right {
|
||||||
-webkit-box-align: stretch;
|
-webkit-box-align: stretch;
|
||||||
-ms-flex-align: stretch;
|
-ms-flex-align: stretch;
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
-ms-flex-preferred-size: 0;
|
-ms-flex-preferred-size: 0;
|
||||||
flex-basis: 0;
|
flex-basis: 0;
|
||||||
-webkit-box-flex: 1;
|
-webkit-box-flex: 1;
|
||||||
@@ -3899,9 +3949,6 @@ a.nav-item.is-tab.is-active {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.nav-left {
|
.nav-left {
|
||||||
display: -webkit-box;
|
|
||||||
display: -ms-flexbox;
|
|
||||||
display: flex;
|
|
||||||
-webkit-box-pack: start;
|
-webkit-box-pack: start;
|
||||||
-ms-flex-pack: start;
|
-ms-flex-pack: start;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
@@ -3910,6 +3957,12 @@ a.nav-item.is-tab.is-active {
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.nav-right {
|
||||||
|
-webkit-box-pack: end;
|
||||||
|
-ms-flex-pack: end;
|
||||||
|
justify-content: flex-end;
|
||||||
|
}
|
||||||
|
|
||||||
.nav-center {
|
.nav-center {
|
||||||
-webkit-box-align: stretch;
|
-webkit-box-align: stretch;
|
||||||
-ms-flex-align: stretch;
|
-ms-flex-align: stretch;
|
||||||
@@ -3929,17 +3982,28 @@ a.nav-item.is-tab.is-active {
|
|||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-right {
|
@media screen and (max-width: 768px) {
|
||||||
-webkit-box-pack: end;
|
.nav-menu.nav-right {
|
||||||
-ms-flex-pack: end;
|
background-color: white;
|
||||||
justify-content: flex-end;
|
box-shadow: 0 4px 7px rgba(10, 10, 10, 0.1);
|
||||||
|
left: 0;
|
||||||
|
display: none;
|
||||||
|
right: 0;
|
||||||
|
top: 100%;
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
.nav-menu.nav-right .nav-item {
|
||||||
|
border-top: 1px solid rgba(219, 219, 219, 0.5);
|
||||||
|
padding: 0.75rem;
|
||||||
|
}
|
||||||
|
.nav-menu.nav-right.is-active {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 769px) {
|
@media screen and (min-width: 769px) and (max-width: 999px) {
|
||||||
.nav-right {
|
.nav-menu {
|
||||||
display: -webkit-box;
|
padding-right: 1.5rem;
|
||||||
display: -ms-flexbox;
|
|
||||||
display: flex;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -4161,7 +4225,7 @@ a.nav-item.is-tab.is-active {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 769px) {
|
@media screen and (min-width: 769px), print {
|
||||||
.pagination-list {
|
.pagination-list {
|
||||||
-webkit-box-flex: 1;
|
-webkit-box-flex: 1;
|
||||||
-ms-flex-positive: 1;
|
-ms-flex-positive: 1;
|
||||||
@@ -4326,6 +4390,11 @@ a.nav-item.is-tab.is-active {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.panel-block.is-wrapped {
|
||||||
|
-ms-flex-wrap: wrap;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
|
||||||
.panel-block.is-active {
|
.panel-block.is-active {
|
||||||
border-left-color: #00d1b2;
|
border-left-color: #00d1b2;
|
||||||
color: #363636;
|
color: #363636;
|
||||||
@@ -4928,7 +4997,7 @@ label.panel-block:hover {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 769px) {
|
@media screen and (min-width: 769px), print {
|
||||||
.column.is-narrow, .column.is-narrow-tablet {
|
.column.is-narrow, .column.is-narrow-tablet {
|
||||||
-webkit-box-flex: 0;
|
-webkit-box-flex: 0;
|
||||||
-ms-flex: none;
|
-ms-flex: none;
|
||||||
@@ -5468,7 +5537,7 @@ label.panel-block:hover {
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 769px) {
|
@media screen and (min-width: 769px), print {
|
||||||
.columns.is-grid {
|
.columns.is-grid {
|
||||||
-ms-flex-wrap: wrap;
|
-ms-flex-wrap: wrap;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
@@ -5500,7 +5569,7 @@ label.panel-block:hover {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 769px) {
|
@media screen and (min-width: 769px), print {
|
||||||
.columns:not(.is-desktop) {
|
.columns:not(.is-desktop) {
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
display: -ms-flexbox;
|
display: -ms-flexbox;
|
||||||
@@ -5566,7 +5635,7 @@ label.panel-block:hover {
|
|||||||
margin-bottom: 1.5rem !important;
|
margin-bottom: 1.5rem !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 769px) {
|
@media screen and (min-width: 769px), print {
|
||||||
.tile:not(.is-child) {
|
.tile:not(.is-child) {
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
display: -ms-flexbox;
|
display: -ms-flexbox;
|
||||||
@@ -5690,7 +5759,7 @@ label.panel-block:hover {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 769px) {
|
@media screen and (min-width: 769px), print {
|
||||||
.hero-buttons {
|
.hero-buttons {
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
display: -ms-flexbox;
|
display: -ms-flexbox;
|
||||||
@@ -6574,14 +6643,14 @@ label.panel-block:hover {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 769px) {
|
@media screen and (min-width: 769px), print {
|
||||||
.hero.is-medium .hero-body {
|
.hero.is-medium .hero-body {
|
||||||
padding-bottom: 9rem;
|
padding-bottom: 9rem;
|
||||||
padding-top: 9rem;
|
padding-top: 9rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 769px) {
|
@media screen and (min-width: 769px), print {
|
||||||
.hero.is-large .hero-body {
|
.hero.is-large .hero-body {
|
||||||
padding-bottom: 18rem;
|
padding-bottom: 18rem;
|
||||||
padding-top: 18rem;
|
padding-top: 18rem;
|
||||||
@@ -6853,7 +6922,7 @@ label.panel-block:hover {
|
|||||||
color: #2aa198;
|
color: #2aa198;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 769px) {
|
@media screen and (min-width: 769px), print {
|
||||||
.button small {
|
.button small {
|
||||||
color: #4a4a4a;
|
color: #4a4a4a;
|
||||||
left: 0;
|
left: 0;
|
||||||
@@ -6870,7 +6939,7 @@ body.page-grid .column > .notification {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 769px) {
|
@media screen and (min-width: 769px), print {
|
||||||
.header-item .button + .button {
|
.header-item .button + .button {
|
||||||
margin-left: 0.75rem;
|
margin-left: 0.75rem;
|
||||||
}
|
}
|
||||||
@@ -6892,7 +6961,7 @@ svg {
|
|||||||
box-shadow: 0 2px 3px rgba(10, 10, 10, 0.1), 0 0 0 1px #00d1b2;
|
box-shadow: 0 2px 3px rgba(10, 10, 10, 0.1), 0 0 0 1px #00d1b2;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 769px) {
|
@media screen and (min-width: 769px), print {
|
||||||
#carbon {
|
#carbon {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
@@ -7442,7 +7511,7 @@ html.route-index #carbon {
|
|||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 769px) {
|
@media screen and (min-width: 769px), print {
|
||||||
.example.is-fullwidth,
|
.example.is-fullwidth,
|
||||||
.structure.is-fullwidth {
|
.structure.is-fullwidth {
|
||||||
border-left: none;
|
border-left: none;
|
||||||
@@ -7565,13 +7634,13 @@ html.route-index #carbon {
|
|||||||
right: 50px;
|
right: 50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 769px) {
|
@media screen and (min-width: 769px), print {
|
||||||
.highlight pre {
|
.highlight pre {
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 769px) {
|
@media screen and (min-width: 769px), print {
|
||||||
.section:not(.is-fullwidth) > .example:not(.is-fullwidth) {
|
.section:not(.is-fullwidth) > .example:not(.is-fullwidth) {
|
||||||
margin-left: 1.5rem;
|
margin-left: 1.5rem;
|
||||||
margin-right: 1.5rem;
|
margin-right: 1.5rem;
|
||||||
@@ -7664,7 +7733,7 @@ html.route-index #carbon {
|
|||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 769px) {
|
@media screen and (min-width: 769px), print {
|
||||||
.bsa .columns {
|
.bsa .columns {
|
||||||
min-height: 120px;
|
min-height: 120px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -62,39 +62,23 @@ a.nav-item
|
|||||||
|
|
||||||
// Containers
|
// Containers
|
||||||
|
|
||||||
.nav-menu
|
|
||||||
// Responsiveness
|
|
||||||
+mobile
|
|
||||||
background-color: $white
|
|
||||||
box-shadow: 0 4px 7px rgba($black, 0.1)
|
|
||||||
left: 0
|
|
||||||
display: none
|
|
||||||
right: 0
|
|
||||||
top: 100%
|
|
||||||
position: absolute
|
|
||||||
.nav-item
|
|
||||||
border-top: 1px solid rgba($border, 0.5)
|
|
||||||
padding: 0.75rem
|
|
||||||
&.is-active
|
|
||||||
display: block
|
|
||||||
+tablet-only
|
|
||||||
padding-right: 1.5rem
|
|
||||||
|
|
||||||
|
|
||||||
.nav-left,
|
.nav-left,
|
||||||
.nav-right
|
.nav-right
|
||||||
align-items: stretch
|
align-items: stretch
|
||||||
|
display: flex
|
||||||
flex-basis: 0
|
flex-basis: 0
|
||||||
flex-grow: 1
|
flex-grow: 1
|
||||||
flex-shrink: 0
|
flex-shrink: 0
|
||||||
|
|
||||||
.nav-left
|
.nav-left
|
||||||
display: flex
|
|
||||||
justify-content: flex-start
|
justify-content: flex-start
|
||||||
overflow: hidden
|
overflow: hidden
|
||||||
overflow-x: auto
|
overflow-x: auto
|
||||||
white-space: nowrap
|
white-space: nowrap
|
||||||
|
|
||||||
|
.nav-right
|
||||||
|
justify-content: flex-end
|
||||||
|
|
||||||
.nav-center
|
.nav-center
|
||||||
align-items: stretch
|
align-items: stretch
|
||||||
display: flex
|
display: flex
|
||||||
@@ -104,11 +88,24 @@ a.nav-item
|
|||||||
margin-left: auto
|
margin-left: auto
|
||||||
margin-right: auto
|
margin-right: auto
|
||||||
|
|
||||||
.nav-right
|
.nav-menu
|
||||||
justify-content: flex-end
|
|
||||||
// Responsiveness
|
// Responsiveness
|
||||||
+tablet
|
+mobile
|
||||||
display: flex
|
&.nav-right
|
||||||
|
background-color: $white
|
||||||
|
box-shadow: 0 4px 7px rgba($black, 0.1)
|
||||||
|
left: 0
|
||||||
|
display: none
|
||||||
|
right: 0
|
||||||
|
top: 100%
|
||||||
|
position: absolute
|
||||||
|
.nav-item
|
||||||
|
border-top: 1px solid rgba($border, 0.5)
|
||||||
|
padding: 0.75rem
|
||||||
|
&.is-active
|
||||||
|
display: block
|
||||||
|
+tablet-only
|
||||||
|
padding-right: 1.5rem
|
||||||
|
|
||||||
// Main container
|
// Main container
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user