Commit 84cbc9db authored by Lyza Danger Gardner's avatar Lyza Danger Gardner Committed by Lyza Gardner

Adjust mixin names for consistency

parent 501f835b
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
&:hover, &:hover,
&.is-focused { &.is-focused {
@include utils.active-shadow; @include utils.shadow--active;
} }
&--theme-clean { &--theme-clean {
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
*/ */
@mixin footer-links { @mixin footer-links {
@include layout.row(center); @include layout.row(center);
@include utils.border-top; @include utils.border--top;
padding-top: 8px; padding-top: 8px;
&__icon { &__icon {
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
&__header { &__header {
@include layout.row($align: center); @include layout.row($align: center);
@include utils.border-bottom; @include utils.border--bottom;
padding-bottom: var.$layout-space; padding-bottom: var.$layout-space;
} }
...@@ -170,7 +170,7 @@ ...@@ -170,7 +170,7 @@
&__tab { &__tab {
@include utils.font--large; @include utils.font--large;
@include utils.border-right; @include utils.border--right;
flex: 1 1; flex: 1 1;
text-align: center; text-align: center;
color: var.$color-text--light; color: var.$color-text--light;
......
...@@ -4,19 +4,19 @@ ...@@ -4,19 +4,19 @@
border: var.$border-width solid var.$color-border; border: var.$border-width solid var.$color-border;
} }
@mixin border-top { @mixin border--top {
border-top: var.$border-width solid var.$color-border; border-top: var.$border-width solid var.$color-border;
} }
@mixin border-right { @mixin border--right {
border-right: var.$border-width solid var.$color-border; border-right: var.$border-width solid var.$color-border;
} }
@mixin border-bottom { @mixin border--bottom {
border-bottom: var.$border-width solid var.$color-border; border-bottom: var.$border-width solid var.$color-border;
} }
@mixin border-left { @mixin border--left {
border-left: var.$border-width solid var.$color-border; border-left: var.$border-width solid var.$color-border;
} }
...@@ -78,6 +78,6 @@ ...@@ -78,6 +78,6 @@
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
} }
@mixin active-shadow { @mixin shadow--active {
box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.15); box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.15);
} }
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
.annotation-license { .annotation-license {
@include utils.font--small; @include utils.font--small;
@include utils.border-top; @include utils.border--top;
// Space between border and text content // Space between border and text content
padding-top: var.$layout-space--xsmall; padding-top: var.$layout-space--xsmall;
......
...@@ -11,8 +11,8 @@ ...@@ -11,8 +11,8 @@
} }
&__subcontent { &__subcontent {
@include utils.border-top; @include utils.border--top;
@include utils.border-bottom; @include utils.border--bottom;
@include layout.vertical-space; @include layout.vertical-space;
a { a {
......
...@@ -61,7 +61,7 @@ a.menu-item:hover { ...@@ -61,7 +61,7 @@ a.menu-item:hover {
} }
&.is-expanded { &.is-expanded {
@include utils.border-bottom; @include utils.border--bottom;
background-color: var.$grey-1; background-color: var.$grey-1;
color: var.$color-text; color: var.$color-text;
&:hover { &:hover {
...@@ -142,7 +142,7 @@ a.menu-item:hover { ...@@ -142,7 +142,7 @@ a.menu-item:hover {
// The container for open submenus // The container for open submenus
.menu-item__submenu { .menu-item__submenu {
@include utils.border-bottom; @include utils.border--bottom;
&:hover { &:hover {
// Make it a bit darker on hover. // Make it a bit darker on hover.
background-color: var.$grey-3; background-color: var.$grey-3;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
@use "../../mixins/utils"; @use "../../mixins/utils";
.menu-section__content { .menu-section__content {
@include utils.border-bottom; @include utils.border--bottom;
} }
.menu-section__heading { .menu-section__heading {
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
.top-bar { .top-bar {
@include utils.font--large; @include utils.font--large;
@include utils.border-bottom; @include utils.border--bottom;
color: var.$grey-mid; color: var.$grey-mid;
background: var.$white; background: var.$white;
height: var.$top-bar-height; height: var.$top-bar-height;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment