summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/framework/secondary_navigation_elements.scss
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2018-04-09 10:26:28 -0500
committerClement Ho <ClemMakesApps@gmail.com>2018-04-09 10:26:28 -0500
commit36143d414fd25c7f82fa95987fa89643bc4e5ce3 (patch)
tree3931b63500d703261594b0314fe50c0a04d94800 /app/assets/stylesheets/framework/secondary_navigation_elements.scss
parente8490c4121f80af9b39903c0a1be393e1ab99e1a (diff)
downloadgitlab-ce-36143d414fd25c7f82fa95987fa89643bc4e5ce3.tar.gz
Ran migration script
Diffstat (limited to 'app/assets/stylesheets/framework/secondary_navigation_elements.scss')
-rw-r--r--app/assets/stylesheets/framework/secondary_navigation_elements.scss24
1 files changed, 12 insertions, 12 deletions
diff --git a/app/assets/stylesheets/framework/secondary_navigation_elements.scss b/app/assets/stylesheets/framework/secondary_navigation_elements.scss
index 17c31d6b184..52262609b91 100644
--- a/app/assets/stylesheets/framework/secondary_navigation_elements.scss
+++ b/app/assets/stylesheets/framework/secondary_navigation_elements.scss
@@ -27,7 +27,7 @@
color: $black;
border-bottom: 2px solid $gray-darkest;
- .badge {
+ .badge.badge-pill {
color: $black;
}
}
@@ -37,7 +37,7 @@
color: $black;
font-weight: $gl-font-weight-bold;
- .badge {
+ .badge.badge-pill {
color: $black;
}
}
@@ -56,7 +56,7 @@
white-space: normal;
/* Small devices (phones, tablets, 768px and lower) */
- @media (max-width: $screen-xs-max) {
+ @include media-breakpoint-down(xs) {
width: 100%;
}
}
@@ -80,7 +80,7 @@
}
/* Small devices (phones, tablets, 768px and lower) */
- @media (max-width: $screen-xs-max) {
+ @include media-breakpoint-down(xs) {
width: 100%;
&.mobile-separator {
@@ -124,21 +124,21 @@
position: relative;
/* Medium devices (desktops, 992px and up) */
- @media (min-width: $screen-md-min) { width: 200px; }
+ @include media-breakpoint-up(md) { width: 200px; }
/* Large devices (large desktops, 1200px and up) */
- @media (min-width: $screen-lg-min) { width: 250px; }
+ @include media-breakpoint-up(lg) { width: 250px; }
&.input-short {
/* Medium devices (desktops, 992px and up) */
- @media (min-width: $screen-md-min) { width: 170px; }
+ @include media-breakpoint-up(md) { width: 170px; }
/* Large devices (large desktops, 1200px and up) */
- @media (min-width: $screen-lg-min) { width: 210px; }
+ @include media-breakpoint-up(lg) { width: 210px; }
}
}
- @media (max-width: $screen-xs-max) {
+ @include media-breakpoint-down(xs) {
padding-bottom: 0;
width: 100%;
@@ -184,7 +184,7 @@
.nav-controls {
width: auto;
- @media (max-width: $screen-xs-max) {
+ @include media-breakpoint-down(xs) {
width: 100%;
}
}
@@ -204,7 +204,7 @@
width: 100%;
}
- @media (max-width: $screen-xs-max) {
+ @include media-breakpoint-down(xs) {
flex-flow: row wrap;
.nav-controls {
@@ -368,7 +368,7 @@
max-width: 300px;
width: auto;
- @media(max-width: $screen-xs-max) {
+ @include media-breakpoint-down(xs) {
max-width: 250px;
}
}