Commit 3498cc4e by Harry Rein

Responsive account settings page.

parent 03e496bd
...@@ -64,10 +64,10 @@ ...@@ -64,10 +64,10 @@
font-size: em(14); font-size: em(14);
color: $gray; color: $gray;
padding: 5px 25px 23px; padding: $baseline/4 $baseline*1.25 $baseline;
display: inline-block; display: inline-block;
box-shadow: none; box-shadow: none;
border: none; border-bottom: 4px solid transparent;
border-radius: 0; border-radius: 0;
background: transparent none; background: transparent none;
} }
...@@ -84,11 +84,24 @@ ...@@ -84,11 +84,24 @@
&:hover, &:hover,
&:focus { &:focus {
text-decoration: none; text-decoration: none;
border-bottom: 4px solid $courseware-border-bottom-color !important; border-bottom-color: $courseware-border-bottom-color;
} }
&.active { &.active {
border-bottom: 4px solid $black-t3 !important; border-bottom-color: theme-color("dark");
}
}
}
@include media-breakpoint-down(md) {
border-bottom-color: transparent;
.account-nav {
display: flex;
border-bottom: none;
.account-nav-link {
border-bottom: 4px solid theme-color("light");
} }
} }
} }
...@@ -338,6 +351,41 @@ ...@@ -338,6 +351,41 @@
border-bottom: none; border-bottom: none;
margin-bottom: ($baseline*2); margin-bottom: ($baseline*2);
} }
// Responsive behavior
@include media-breakpoint-down(md) {
.u-field-value {
width: 100%;
}
.u-field-message {
width: 100%;
padding: $baseline/2 0;
.u-field-message-notification {
position: relative;
padding: 0;
}
}
.u-field-order {
display: flex;
flex-wrap: nowrap;
u-field-order-number,
u-field-order-date,
u-field-order-price,
u-field-order-link, {
width: auto;
float: none;
flex-grow: 1;
&:first-of-type {
flex-grow: 2;
}
}
}
}
} }
.u-field-readonly .u-field-value { .u-field-readonly .u-field-value {
......
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