Commit c68ad097 by Andy Armstrong Committed by GitHub

Merge pull request #16002 from edx/andya/studio-sass-linting

Fix validation issues with Studio Sass files
parents 673c60d4 8fb993dc
...@@ -27,12 +27,15 @@ html { ...@@ -27,12 +27,15 @@ html {
body { body {
@extend %t-copy-base; @extend %t-copy-base;
min-width: $fg-min-width; min-width: $fg-min-width;
background: $uxpl-grayscale-x-back; background: $uxpl-grayscale-x-back;
color: $gray-d3; color: $gray-d3;
} }
body, input, button { body,
input,
button {
font-family: 'Open Sans', sans-serif; font-family: 'Open Sans', sans-serif;
} }
...@@ -43,6 +46,7 @@ body, input, button { ...@@ -43,6 +46,7 @@ body, input, button {
a { a {
@include transition(color $tmg-f2 ease-in-out 0s); @include transition(color $tmg-f2 ease-in-out 0s);
text-decoration: none; text-decoration: none;
color: $uxpl-blue-base; color: $uxpl-blue-base;
...@@ -67,6 +71,7 @@ h1 { ...@@ -67,6 +71,7 @@ h1 {
.wrapper { .wrapper {
@include clearfix(); @include clearfix();
@include box-sizing(border-box); @include box-sizing(border-box);
width: 100%; width: 100%;
} }
...@@ -75,12 +80,15 @@ h1 { ...@@ -75,12 +80,15 @@ h1 {
.page-header { .page-header {
@extend %t-title3; @extend %t-title3;
@extend %t-strong; @extend %t-strong;
display: block; display: block;
color: $gray-d3; color: $gray-d3;
.navigation, .subtitle { .navigation,
.subtitle {
@extend %t-title7; @extend %t-title7;
@extend %t-regular; @extend %t-regular;
position: relative; position: relative;
top: ($baseline/4); top: ($baseline/4);
display: block; display: block;
...@@ -118,7 +126,6 @@ h1 { ...@@ -118,7 +126,6 @@ h1 {
// +Typography - Primary Content // +Typography - Primary Content
// ==================== // ====================
.content-primary { .content-primary {
.section-header { .section-header {
color: $gray-d3; color: $gray-d3;
...@@ -155,7 +162,6 @@ h1 { ...@@ -155,7 +162,6 @@ h1 {
// +Typography - Secondary Content // +Typography - Secondary Content
// ==================== // ====================
.content-secondary { .content-secondary {
.section-header { .section-header {
color: $gray-d3; color: $gray-d3;
...@@ -183,34 +189,44 @@ h1 { ...@@ -183,34 +189,44 @@ h1 {
// +Typography - Loose Headings (BT: needs to be removed once html is clean) // +Typography - Loose Headings (BT: needs to be removed once html is clean)
// ==================== // ====================
.title-1, .title-2, .title-3, .title-4, .title-5, .title-6 { .title-1,
.title-2,
.title-3,
.title-4,
.title-5,
.title-6 {
@extend %t-strong; @extend %t-strong;
} }
.title-1 { .title-1 {
@extend %t-title3; @extend %t-title3;
margin-bottom: ($baseline*1.5); margin-bottom: ($baseline*1.5);
} }
.title-2 { .title-2 {
@extend %t-title4; @extend %t-title4;
margin-bottom: $baseline; margin-bottom: $baseline;
} }
.title-3 { .title-3 {
@extend %t-title5; @extend %t-title5;
margin-bottom: ($baseline/2); margin-bottom: ($baseline/2);
} }
.title-4 { .title-4 {
@extend %t-title7; @extend %t-title7;
@extend %t-regular; @extend %t-regular;
margin-bottom: $baseline; margin-bottom: $baseline;
} }
.title-5 { .title-5 {
@extend %t-title7; @extend %t-title7;
@extend %t-regular; @extend %t-regular;
color: $gray-l1; color: $gray-l1;
margin-bottom: $baseline; margin-bottom: $baseline;
} }
...@@ -218,11 +234,15 @@ h1 { ...@@ -218,11 +234,15 @@ h1 {
.title-6 { .title-6 {
@extend %t-title7; @extend %t-title7;
@extend %t-regular; @extend %t-regular;
color: $gray-l2; color: $gray-l2;
margin-bottom: $baseline; margin-bottom: $baseline;
} }
p, ul, ol, dl { p,
ul,
ol,
dl {
margin-bottom: ($baseline/2); margin-bottom: ($baseline/2);
&:last-child { &:last-child {
...@@ -230,12 +250,6 @@ p, ul, ol, dl { ...@@ -230,12 +250,6 @@ p, ul, ol, dl {
} }
} }
// +Layout - Basic
// ====================
.wrapper-view {
}
// +Layout - Basic Page Header // +Layout - Basic Page Header
// ==================== // ====================
.wrapper-mast { .wrapper-mast {
...@@ -245,6 +259,7 @@ p, ul, ol, dl { ...@@ -245,6 +259,7 @@ p, ul, ol, dl {
.mast, .metadata { .mast, .metadata {
@include clearfix(); @include clearfix();
position: relative; position: relative;
max-width: $fg-max-width; max-width: $fg-max-width;
min-width: $fg-min-width; min-width: $fg-min-width;
...@@ -269,19 +284,22 @@ p, ul, ol, dl { ...@@ -269,19 +284,22 @@ p, ul, ol, dl {
.page-header { .page-header {
@include float(left); @include float(left);
@include margin-right(flex-gutter()); @include margin-right(flex-gutter());
width: flex-grid(6,12);
width: flex-grid(6, 12);
} }
.nav-actions { .nav-actions {
@include float(left); @include float(left);
@include text-align(right); @include text-align(right);
position: relative; position: relative;
bottom: -($baseline*0.75); bottom: -($baseline*0.75);
width: flex-grid(6,12); width: flex-grid(6, 12);
.nav-item { .nav-item {
display: inline-block; display: inline-block;
vertical-align: top; vertical-align: top;
@include margin-right($baseline/2); @include margin-right($baseline/2);
&:last-child { &:last-child {
...@@ -298,7 +316,6 @@ p, ul, ol, dl { ...@@ -298,7 +316,6 @@ p, ul, ol, dl {
// layout with actions // layout with actions
&.has-subtitle { &.has-subtitle {
.nav-actions { .nav-actions {
bottom: -($baseline*1.5); bottom: -($baseline*1.5);
} }
...@@ -306,29 +323,30 @@ p, ul, ol, dl { ...@@ -306,29 +323,30 @@ p, ul, ol, dl {
// layout with navigation // layout with navigation
&.has-navigation { &.has-navigation {
.nav-actions { .nav-actions {
bottom: -($baseline*1.5); bottom: -($baseline*1.5);
} }
.navigation-link { .navigation-link {
@extend %cont-truncated; @extend %cont-truncated;
display: inline-block; display: inline-block;
vertical-align: bottom; // correct for extra padding in FF vertical-align: bottom; // correct for extra padding in FF
max-width: 250px; max-width: 250px;
&.navigation-current { &.navigation-current {
@extend %ui-disabled; @extend %ui-disabled;
color: $gray; color: $gray;
max-width: 250px; max-width: 250px;
&:before { &::before {
color: $gray; color: $gray;
} }
} }
} }
.navigation-link:before { .navigation-link::before {
content: " / "; content: " / ";
margin: ($baseline/4); margin: ($baseline/4);
color: $gray; color: $gray;
...@@ -338,7 +356,7 @@ p, ul, ol, dl { ...@@ -338,7 +356,7 @@ p, ul, ol, dl {
} }
} }
.navigation .navigation-link:first-child:before { .navigation .navigation-link:first-child::before {
content: ""; content: "";
margin: 0; margin: 0;
} }
...@@ -347,17 +365,18 @@ p, ul, ol, dl { ...@@ -347,17 +365,18 @@ p, ul, ol, dl {
// CASE: wizard-based mast // CASE: wizard-based mast
.mast-wizard { .mast-wizard {
.page-header-sub { .page-header-sub {
@extend %t-title4; @extend %t-title4;
color: $gray; color: $gray;
font-weight: 300; font-weight: 300;
} }
.page-header-super { .page-header-super {
@extend %t-title4; @extend %t-title4;
float: left; float: left;
width: flex-grid(12,12); width: flex-grid(12, 12);
margin-top: ($baseline/2); margin-top: ($baseline/2);
border-top: 1px solid $gray-l4; border-top: 1px solid $gray-l4;
padding-top: ($baseline/2); padding-top: ($baseline/2);
...@@ -381,7 +400,9 @@ p, ul, ol, dl { ...@@ -381,7 +400,9 @@ p, ul, ol, dl {
.content { .content {
@include clearfix(); @include clearfix();
@extend %t-copy-base; @extend %t-copy-base;
max-width: $fg-max-width; max-width: $fg-max-width;
min-width: $fg-min-width; min-width: $fg-min-width;
width: flex-grid(12); width: flex-grid(12);
...@@ -396,6 +417,7 @@ p, ul, ol, dl { ...@@ -396,6 +417,7 @@ p, ul, ol, dl {
.title-sub { .title-sub {
@extend %t-copy-sub1; @extend %t-copy-sub1;
display: block; display: block;
margin: 0; margin: 0;
color: $gray-l2; color: $gray-l2;
...@@ -403,6 +425,7 @@ p, ul, ol, dl { ...@@ -403,6 +425,7 @@ p, ul, ol, dl {
.title-1 { .title-1 {
@extend %t-title3; @extend %t-title3;
margin: 0; margin: 0;
padding: 0; padding: 0;
font-weight: 600; font-weight: 600;
...@@ -418,18 +441,19 @@ p, ul, ol, dl { ...@@ -418,18 +441,19 @@ p, ul, ol, dl {
// +Layout - Primary Content // +Layout - Primary Content
// ==================== // ====================
.content-primary { .content-primary {
.title-1 { .title-1 {
@extend %t-title3; @extend %t-title3;
} }
.title-2 { .title-2 {
@extend %t-title4; @extend %t-title4;
margin: 0 0 ($baseline/2) 0; margin: 0 0 ($baseline/2) 0;
} }
.title-3 { .title-3 {
@extend %t-title6; @extend %t-title6;
margin: 0 0 ($baseline/2) 0; margin: 0 0 ($baseline/2) 0;
} }
...@@ -444,8 +468,10 @@ p, ul, ol, dl { ...@@ -444,8 +468,10 @@ p, ul, ol, dl {
.tip { .tip {
@extend %t-copy-sub2; @extend %t-copy-sub2;
@include text-align(right); @include text-align(right);
@include float(right); @include float(right);
width: flex-grid(7, 12); width: flex-grid(7, 12);
margin-top: ($baseline/2); margin-top: ($baseline/2);
color: $gray-d1; color: $gray-d1;
...@@ -456,7 +482,6 @@ p, ul, ol, dl { ...@@ -456,7 +482,6 @@ p, ul, ol, dl {
// +Layout - Supplemental Content // +Layout - Supplemental Content
// ==================== // ====================
.content-supplementary { .content-supplementary {
> section { > section {
margin: 0 0 $baseline 0; margin: 0 0 $baseline 0;
} }
...@@ -471,6 +496,7 @@ p, ul, ol, dl { ...@@ -471,6 +496,7 @@ p, ul, ol, dl {
.inner-wrapper { .inner-wrapper {
@include clearfix(); @include clearfix();
position: relative; position: relative;
max-width: 1280px; max-width: 1280px;
margin: auto; margin: auto;
...@@ -482,12 +508,15 @@ p, ul, ol, dl { ...@@ -482,12 +508,15 @@ p, ul, ol, dl {
.main-column { .main-column {
clear: both; clear: both;
@include float(left); @include float(left);
width: 70%; width: 70%;
} }
.sidebar { .sidebar {
@include float(right); @include float(right);
width: 28%; width: 28%;
} }
...@@ -505,7 +534,9 @@ p, ul, ol, dl { ...@@ -505,7 +534,9 @@ p, ul, ol, dl {
.new-subsection-item, .new-subsection-item,
.new-policy-item { .new-policy-item {
@include grey-button(); @include grey-button();
@extend %t-action5; @extend %t-action5;
margin: ($baseline/2); margin: ($baseline/2);
padding: 3px ($baseline/2) 4px ($baseline/2); padding: 3px ($baseline/2) 4px ($baseline/2);
...@@ -520,6 +551,7 @@ p, ul, ol, dl { ...@@ -520,6 +551,7 @@ p, ul, ol, dl {
.item-actions { .item-actions {
position: absolute; position: absolute;
top: 5px; top: 5px;
@include right(5px); @include right(5px);
.edit-button, .edit-button,
...@@ -544,19 +576,21 @@ hr.divide { ...@@ -544,19 +576,21 @@ hr.divide {
.details { .details {
@extend %t-copy-sub1; @extend %t-copy-sub1;
display: none; display: none;
margin-bottom: ($baseline*1.5); margin-bottom: ($baseline*1.5);
} }
.window { .window {
.window-contents { .window-contents {
padding: 20px; padding: 20px;
} }
.header { .header {
@include linear-gradient(top, rgba(255, 255, 255, .4), rgba(255, 255, 255, 0)); @include linear-gradient(top, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
@extend %t-title7; @extend %t-title7;
padding: 6px 14px; padding: 6px 14px;
border-bottom: 1px solid $mediumGrey; border-bottom: 1px solid $mediumGrey;
border-radius: 2px 2px 0 0; border-radius: 2px 2px 0 0;
...@@ -568,6 +602,7 @@ hr.divide { ...@@ -568,6 +602,7 @@ hr.divide {
label { label {
display: block; display: block;
margin-bottom: 6px; margin-bottom: 6px;
@extend %t-strong; @extend %t-strong;
&.inline-label { &.inline-label {
...@@ -577,6 +612,7 @@ hr.divide { ...@@ -577,6 +612,7 @@ hr.divide {
.description { .description {
@extend %t-copy-sub2; @extend %t-copy-sub2;
@extend %t-regular; @extend %t-regular;
display: block; display: block;
font-style: italic; font-style: italic;
color: #999; color: #999;
...@@ -617,9 +653,10 @@ hr.divider { ...@@ -617,9 +653,10 @@ hr.divider {
.nav-skip, .nav-skip,
.transcript-skip { .transcript-skip {
@extend %t-action3; @extend %t-action3;
display: inline-block; display: inline-block;
position: absolute; position: absolute;
left: 0px; left: 0;
top: -($baseline*30); top: -($baseline*30);
overflow: hidden; overflow: hidden;
background: $white; background: $white;
...@@ -640,6 +677,7 @@ hr.divider { ...@@ -640,6 +677,7 @@ hr.divider {
.content-modal { .content-modal {
@include border-bottom-radius(2px); @include border-bottom-radius(2px);
@include box-sizing(border-box); @include box-sizing(border-box);
position: relative; position: relative;
display: none; display: none;
width: 700px; width: 700px;
...@@ -652,6 +690,7 @@ hr.divider { ...@@ -652,6 +690,7 @@ hr.divider {
.action-modal-close { .action-modal-close {
@include transition(top $tmg-f3 ease-in-out 0s); @include transition(top $tmg-f3 ease-in-out 0s);
@include border-bottom-radius(3px); @include border-bottom-radius(3px);
position: absolute; position: absolute;
top: -3px; top: -3px;
right: $baseline; right: $baseline;
...@@ -665,6 +704,7 @@ hr.divider { ...@@ -665,6 +704,7 @@ hr.divider {
.icon { .icon {
@extend %t-action1; @extend %t-action1;
color: $white; color: $white;
} }
...@@ -677,6 +717,7 @@ hr.divider { ...@@ -677,6 +717,7 @@ hr.divider {
img { img {
@include box-sizing(border-box); @include box-sizing(border-box);
width: 100%; width: 100%;
overflow-y: scroll; overflow-y: scroll;
padding: ($baseline/10); padding: ($baseline/10);
...@@ -686,12 +727,14 @@ hr.divider { ...@@ -686,12 +727,14 @@ hr.divider {
.title { .title {
@extend %t-title5; @extend %t-title5;
@extend %t-strong; @extend %t-strong;
margin: 0 0 ($baseline/2) 0; margin: 0 0 ($baseline/2) 0;
color: $gray-d3; color: $gray-d3;
} }
.description { .description {
@extend %t-copy-sub2; @extend %t-copy-sub2;
margin-top: ($baseline/2); margin-top: ($baseline/2);
color: $gray-l1; color: $gray-l1;
} }
......
...@@ -60,7 +60,6 @@ ...@@ -60,7 +60,6 @@
@import 'views/outline'; @import 'views/outline';
@import 'views/settings'; @import 'views/settings';
@import 'views/static-pages'; @import 'views/static-pages';
@import 'views/unit';
@import 'views/container'; @import 'views/container';
@import 'views/users'; @import 'views/users';
@import 'views/textbooks'; @import 'views/textbooks';
...@@ -80,7 +79,6 @@ ...@@ -80,7 +79,6 @@
@import 'xmodule/descriptors/css/module-styles.scss'; @import 'xmodule/descriptors/css/module-styles.scss';
@import 'xmodule/headings'; @import 'xmodule/headings';
@import 'elements/xmodules'; // styling for Studio-specific contexts @import 'elements/xmodules'; // styling for Studio-specific contexts
@import 'developer'; // used for any developer-created scss that needs further polish/refactoring @import 'developer'; // used for any developer-created scss that needs further polish/refactoring
@import 'shame'; // used for any bad-form/orphaned scss @import 'shame'; // used for any bad-form/orphaned scss
...@@ -90,6 +88,5 @@ ...@@ -90,6 +88,5 @@
// CAPA Problem Feedback // CAPA Problem Feedback
@import 'edx-pattern-library-shims/buttons'; @import 'edx-pattern-library-shims/buttons';
@import 'edx-pattern-library-shims/base/variables'; @import 'edx-pattern-library-shims/base/variables';
...@@ -11,18 +11,83 @@ ...@@ -11,18 +11,83 @@
text-rendering: optimizeLegibility; text-rendering: optimizeLegibility;
} }
html, body, div, span, applet, object, iframe, html,
h1, h2, h3, h4, h5, h6, p, blockquote, pre, body,
a, abbr, acronym, address, big, cite, code, div,
del, dfn, em, img, ins, kbd, q, s, samp, span,
small, strike, strong, sub, sup, tt, var, applet,
b, u, i, center, object,
dl, dt, dd, ol, ul, li, iframe,
fieldset, form, label, legend, h1,
table, caption, tbody, tfoot, thead, tr, th, td, h2,
article, aside, canvas, details, figcaption, figure, h3,
footer, header, menu, nav, section, summary, h4,
time, mark, audio, video { h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
margin: 0; margin: 0;
padding: 0; padding: 0;
border: 0; border: 0;
...@@ -32,25 +97,42 @@ time, mark, audio, video { ...@@ -32,25 +97,42 @@ time, mark, audio, video {
vertical-align: baseline; vertical-align: baseline;
} }
html,body { html,
body {
height: 100%; height: 100%;
} }
article, aside, details, figcaption, figure, article,
footer, header, menu, nav, section { aside,
details,
figcaption,
figure,
footer,
header,
menu,
nav,
section {
display: block; display: block;
} }
body { body {
line-height: 1; line-height: 1;
} }
ol, ul {
ol,
ul {
list-style: none; list-style: none;
} }
blockquote, q {
blockquote,
q {
quotes: none; quotes: none;
} }
blockquote:before, blockquote:after,
q:before, q:after { blockquote::before,
blockquote::after,
q::before,
q::after {
content: ''; content: '';
content: none; content: none;
} }
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
// elements - authorship controls // elements - authorship controls
.wrapper-authorshiprights { .wrapper-authorshiprights {
.ui-toggle-control { .ui-toggle-control {
// needed to override general a element transition properties - need to fix. // needed to override general a element transition properties - need to fix.
transition-duration: $tmg-f2; transition-duration: $tmg-f2;
...@@ -26,7 +25,8 @@ ...@@ -26,7 +25,8 @@
// ==================== // ====================
// overriding outline styling for general drag and drop cases // overriding outline styling for general drag and drop cases
.outline-section, .outline-subsection { .outline-section,
.outline-subsection {
// STATE: is dragging // STATE: is dragging
&.is-dragging { &.is-dragging {
...@@ -51,8 +51,7 @@ body b { ...@@ -51,8 +51,7 @@ body b {
// needed display property reinforcement since manual CSS abstraction happened // needed display property reinforcement since manual CSS abstraction happened
#page-prompt { #page-prompt {
.wrapper-prompt::before {
.wrapper-prompt:before {
display: inline-block; display: inline-block;
} }
} }
...@@ -94,7 +93,7 @@ body b { ...@@ -94,7 +93,7 @@ body b {
} }
// hides latex compiler button if settings mode is-active // hides latex compiler button if settings mode is-active
div.wrapper-comp-editor.is-inactive ~ div.launch-latex-compiler{ div.wrapper-comp-editor.is-inactive ~ div.launch-latex-compiler {
display: none; display: none;
} }
...@@ -109,7 +108,6 @@ div.wrapper-comp-editor.is-inactive ~ div.launch-latex-compiler{ ...@@ -109,7 +108,6 @@ div.wrapper-comp-editor.is-inactive ~ div.launch-latex-compiler{
// JQuery UI tabs font-weight override // JQuery UI tabs font-weight override
.ui-tabs-nav { .ui-tabs-nav {
.ui-state-default { .ui-state-default {
font-weight: normal; font-weight: normal;
} }
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
// fade in keyframes // fade in keyframes
@include keyframes(fadeIn) { @include keyframes(fadeIn) {
0% { 0% {
opacity: 0.0; opacity: 0;
} }
50% { 50% {
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
} }
100% { 100% {
opacity: 1.0; opacity: 1;
} }
} }
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
// fade out keyframes // fade out keyframes
@include keyframes(fadeOut) { @include keyframes(fadeOut) {
0% { 0% {
opacity: 1.0; opacity: 1;
} }
50% { 50% {
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
} }
100% { 100% {
opacity: 0.0; opacity: 0;
} }
} }
...@@ -188,12 +188,14 @@ ...@@ -188,12 +188,14 @@
// bounce in keyframes // bounce in keyframes
@include keyframes(bounceIn) { @include keyframes(bounceIn) {
0% { 0% {
opacity: 0.0; opacity: 0;
@include transform(scale(0.3)); @include transform(scale(0.3));
} }
50% { 50% {
opacity: 1.0; opacity: 1;
@include transform(scale(1.05)); @include transform(scale(1.05));
} }
...@@ -216,12 +218,14 @@ ...@@ -216,12 +218,14 @@
} }
50% { 50% {
opacity: 1.0; opacity: 1;
@include transform(scale(1.05)); @include transform(scale(1.05));
} }
100% { 100% {
opacity: 0.0; opacity: 0;
@include transform(scale(0.3)); @include transform(scale(0.3));
} }
} }
...@@ -235,12 +239,13 @@ ...@@ -235,12 +239,13 @@
// ==================== // ====================
// flash keyframes // flash keyframes
@include keyframes(flash) { @include keyframes(flash) {
0%, 100% { 0%,
opacity: 1.0; 100% {
opacity: 1;
} }
50% { 50% {
opacity: 0.0; opacity: 0;
} }
} }
...@@ -253,12 +258,15 @@ ...@@ -253,12 +258,15 @@
// ==================== // ====================
// flash double keyframes // flash double keyframes
@include keyframes(flashDouble) { @include keyframes(flashDouble) {
0%, 50%, 100% { 0%,
opacity: 1.0; 50%,
100% {
opacity: 1;
} }
25%, 75% { 25%,
opacity: 0.0; 75% {
opacity: 0;
} }
} }
...@@ -272,15 +280,15 @@ ...@@ -272,15 +280,15 @@
// pulse keyframes // pulse keyframes
@include keyframes(pulse) { @include keyframes(pulse) {
0% { 0% {
opacity: 0.0; opacity: 0;
} }
50% { 50% {
opacity: 1.0; opacity: 1;
} }
100% { 100% {
opacity: 0.0; opacity: 0;
} }
} }
...@@ -294,7 +302,7 @@ ...@@ -294,7 +302,7 @@
// was dropped keyframes // was dropped keyframes
@include keyframes(was-dropped) { @include keyframes(was-dropped) {
0% { 0% {
opacity: 1.0; opacity: 1;
} }
50% { 50% {
...@@ -302,7 +310,7 @@ ...@@ -302,7 +310,7 @@
} }
100% { 100% {
opacity: 1.0; opacity: 1;
} }
} }
......
...@@ -45,6 +45,7 @@ ...@@ -45,6 +45,7 @@
// Sock // Sock
.wrapper-sock { .wrapper-sock {
@include clearfix(); @include clearfix();
position: relative; position: relative;
margin: ($baseline*2) 0 0 0; margin: ($baseline*2) 0 0 0;
border-top: 1px solid $gray-500; border-top: 1px solid $gray-500;
...@@ -60,6 +61,7 @@ ...@@ -60,6 +61,7 @@
// sock - actions // sock - actions
.list-cta { .list-cta {
@extend %ui-depth1; @extend %ui-depth1;
position: absolute; position: absolute;
top: -($baseline*0.75); top: -($baseline*0.75);
width: 100%; width: 100%;
...@@ -70,6 +72,7 @@ ...@@ -70,6 +72,7 @@
.cta-show-sock { .cta-show-sock {
@extend %ui-btn-pill; @extend %ui-btn-pill;
@extend %t-action4; @extend %t-action4;
background: theme-color("light"); background: theme-color("light");
padding: ($baseline/2) $baseline; padding: ($baseline/2) $baseline;
color: theme-color("dark"); color: theme-color("dark");
...@@ -88,7 +91,9 @@ ...@@ -88,7 +91,9 @@
// sock - additional help // sock - additional help
.sock { .sock {
@include clearfix(); @include clearfix();
@extend %t-copy-sub2; @extend %t-copy-sub2;
max-width: $studio-max-width; max-width: $studio-max-width;
width: flex-grid(12); width: flex-grid(12);
margin: 0 auto; margin: 0 auto;
...@@ -97,11 +102,9 @@ ...@@ -97,11 +102,9 @@
// support body // support body
header { header {
.title { .title {
@extend %t-title4; @extend %t-title4;
} }
} }
.list-actions { .list-actions {
...@@ -109,15 +112,18 @@ ...@@ -109,15 +112,18 @@
} }
// shared elements // shared elements
.support, .feedback { .support,
.feedback {
.title { .title {
@extend %t-title6; @extend %t-title6;
color: $white; color: $white;
margin-bottom: ($baseline/2); margin-bottom: ($baseline/2);
} }
.copy { .copy {
@extend %t-copy-sub2; @extend %t-copy-sub2;
margin: 0 0 $baseline 0; margin: 0 0 $baseline 0;
} }
...@@ -135,17 +141,15 @@ ...@@ -135,17 +141,15 @@
.action { .action {
@extend %t-action4; @extend %t-action4;
display: block; display: block;
.icon { .icon {
@extend %t-icon4; @extend %t-icon4;
vertical-align: middle; vertical-align: middle;
margin-right: $baseline/4; margin-right: $baseline/4;
} }
&:hover, &:active {
}
} }
.tip { .tip {
...@@ -162,22 +166,22 @@ ...@@ -162,22 +166,22 @@
// studio support content // studio support content
.support { .support {
width: flex-grid(8,12); width: flex-grid(8, 12);
float: left; float: left;
margin-right: flex-gutter(); margin-right: flex-gutter();
.action-item { .action-item {
width: flexgrid(4,8); width: flexgrid(4, 8);
} }
} }
// studio feedback content // studio feedback content
.feedback { .feedback {
width: flex-grid(4,12); width: flex-grid(4, 12);
float: left; float: left;
.action-item { .action-item {
width: flexgrid(4,4); width: flexgrid(4, 4);
} }
} }
} }
......
...@@ -14,7 +14,9 @@ ...@@ -14,7 +14,9 @@
footer.primary { footer.primary {
@extend %t-copy-sub2; @extend %t-copy-sub2;
@include clearfix(); @include clearfix();
max-width: $studio-max-width; max-width: $studio-max-width;
width: flex-grid(12); width: flex-grid(12);
margin: 0 auto; margin: 0 auto;
...@@ -59,10 +61,12 @@ ...@@ -59,10 +61,12 @@
.footer-content-secondary { .footer-content-secondary {
@include clearfix(); @include clearfix();
margin-top: $baseline; margin-top: $baseline;
} }
.footer-about-copyright, .footer-about-openedx { .footer-about-copyright,
.footer-about-openedx {
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
} }
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
.wrapper-header { .wrapper-header {
@extend %ui-depth3; @extend %ui-depth3;
position: relative; position: relative;
width: 100%; width: 100%;
box-shadow: 0 1px 2px 0 $shadow-l1; box-shadow: 0 1px 2px 0 $shadow-l1;
...@@ -20,6 +21,7 @@ ...@@ -20,6 +21,7 @@
header.primary { header.primary {
@include clearfix(); @include clearfix();
max-width: $studio-max-width; max-width: $studio-max-width;
width: flex-grid(12); width: flex-grid(12);
margin: 0 auto; margin: 0 auto;
...@@ -28,22 +30,27 @@ ...@@ -28,22 +30,27 @@
// ==================== // ====================
// basic layout // basic layout
.wrapper-l, .wrapper-r { .wrapper-l,
.wrapper-r {
background: $white; background: $white;
} }
.wrapper-l { .wrapper-l {
float: left; float: left;
width: flex-grid(7,12); width: flex-grid(7, 12);
} }
.wrapper-r { .wrapper-r {
float: right; float: right;
width: flex-grid(4,12); width: flex-grid(4, 12);
text-align: right; text-align: right;
} }
.branding, .info-course, .nav-course, .nav-account, .nav-pitch { .branding,
.info-course,
.nav-course,
.nav-account,
.nav-pitch {
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
margin-bottom: 0; margin-bottom: 0;
...@@ -66,10 +73,10 @@ ...@@ -66,10 +73,10 @@
// basic layout - nav items // basic layout - nav items
nav { nav {
> ol > .nav-item { > ol > .nav-item {
@extend %t-action3; @extend %t-action3;
@extend %t-strong; @extend %t-strong;
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
...@@ -89,7 +96,6 @@ ...@@ -89,7 +96,6 @@
// basic layout - dropdowns // basic layout - dropdowns
.nav-dd { .nav-dd {
.title { .title {
padding: $baseline/2 $baseline/2; padding: $baseline/2 $baseline/2;
font-size: $font-size-lg; font-size: $font-size-lg;
...@@ -99,14 +105,12 @@ ...@@ -99,14 +105,12 @@
} }
&:hover { &:hover {
.fa-caret-down { .fa-caret-down {
opacity: 1.0; opacity: 1;
} }
} }
.nav-sub .nav-item { .nav-sub .nav-item {
.icon { .icon {
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
...@@ -140,7 +144,8 @@ ...@@ -140,7 +144,8 @@
border-right: 1px solid $gray-300; border-right: 1px solid $gray-300;
padding: ($baseline*0.75) flex-gutter() ($baseline*0.75) 0; padding: ($baseline*0.75) flex-gutter() ($baseline*0.75) 0;
.course-org, .course-number { .course-org,
.course-number {
font-size: $font-size-sm; font-size: $font-size-sm;
line-height: 12px; line-height: 12px;
display: inline-block; display: inline-block;
...@@ -149,7 +154,7 @@ ...@@ -149,7 +154,7 @@
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
opacity: 1.0; opacity: 1;
color: theme-color("primary"); color: theme-color("primary");
} }
...@@ -160,6 +165,7 @@ ...@@ -160,6 +165,7 @@
.course-title { .course-title {
@extend %t-action2; @extend %t-action2;
@extend %t-strong; @extend %t-strong;
display: block; display: block;
width: 100%; width: 100%;
overflow: hidden; overflow: hidden;
...@@ -197,14 +203,12 @@ ...@@ -197,14 +203,12 @@
} }
.nav-account-help { .nav-account-help {
.wrapper-nav-sub { .wrapper-nav-sub {
width: ($baseline*10); width: ($baseline*10);
} }
} }
.nav-account-user { .nav-account-user {
.title { .title {
max-width: ($baseline*6.5); max-width: ($baseline*6.5);
...@@ -220,6 +224,7 @@ ...@@ -220,6 +224,7 @@
.settings-language-form { .settings-language-form {
margin-top: 4px; margin-top: 4px;
.language-selector { .language-selector {
width: 130px; width: 130px;
} }
...@@ -243,13 +248,12 @@ ...@@ -243,13 +248,12 @@
// CASE: user signed in // CASE: user signed in
.is-signedin { .is-signedin {
.wrapper-l { .wrapper-l {
width: flex-grid(8,12); width: flex-grid(8, 12);
} }
.wrapper-r { .wrapper-r {
width: flex-grid(4,12); width: flex-grid(4, 12);
} }
.branding { .branding {
...@@ -265,15 +269,13 @@ ...@@ -265,15 +269,13 @@
// CASE: in course { // CASE: in course {
.is-signedin.course { .is-signedin.course {
.wrapper-header { .wrapper-header {
.wrapper-l { .wrapper-l {
width: flex-grid(9,12); width: flex-grid(9, 12);
} }
.wrapper-r { .wrapper-r {
width: flex-grid(3,12); width: flex-grid(3, 12);
} }
.branding { .branding {
...@@ -296,15 +298,13 @@ ...@@ -296,15 +298,13 @@
// CASE: user not signed in // CASE: user not signed in
.not-signedin, .not-signedin,
.view-util { .view-util {
.wrapper-header { .wrapper-header {
.wrapper-l { .wrapper-l {
width: flex-grid(2,12); width: flex-grid(2, 12);
} }
.wrapper-r { .wrapper-r {
width: flex-grid(10,12); width: flex-grid(10, 12);
} }
.branding { .branding {
...@@ -337,10 +337,9 @@ ...@@ -337,10 +337,9 @@
// dropdown // dropdown
.nav-dd { .nav-dd {
.title { .title {
.label,
.label, .fa-caret-down { .fa-caret-down {
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
} }
...@@ -353,7 +352,6 @@ ...@@ -353,7 +352,6 @@
// dropped down state // dropped down state
&.is-selected { &.is-selected {
.ui-toggle-dd { .ui-toggle-dd {
transform: rotate(-180deg); transform: rotate(-180deg);
transform-origin: 50% 50%; transform-origin: 50% 50%;
...@@ -364,10 +362,6 @@ ...@@ -364,10 +362,6 @@
.nav-item { .nav-item {
position: relative; position: relative;
&:hover {
}
&.nav-course-settings { &.nav-course-settings {
.wrapper-nav-sub { .wrapper-nav-sub {
width: ($baseline*9); width: ($baseline*9);
...@@ -378,7 +372,7 @@ ...@@ -378,7 +372,7 @@
.wrapper-nav-sub { .wrapper-nav-sub {
position: absolute; position: absolute;
top: ($baseline*2.5); top: ($baseline*2.5);
opacity: 0.0; opacity: 0;
pointer-events: none; pointer-events: none;
width: ($baseline*8); width: ($baseline*8);
overflow: hidden; overflow: hidden;
...@@ -387,7 +381,7 @@ ...@@ -387,7 +381,7 @@
// dropped down state // dropped down state
&.is-shown { &.is-shown {
opacity: 1.0; opacity: 1;
pointer-events: auto; pointer-events: auto;
overflow: visible; overflow: visible;
height: auto; height: auto;
...@@ -403,7 +397,8 @@ ...@@ -403,7 +397,8 @@
padding: ($baseline/2) ($baseline*0.75); padding: ($baseline/2) ($baseline*0.75);
background: $white; background: $white;
&:after, &:before { &::after,
&::before {
bottom: 100%; bottom: 100%;
border: solid transparent; border: solid transparent;
content: " "; content: " ";
...@@ -414,13 +409,13 @@ ...@@ -414,13 +409,13 @@
} }
// ui triangle/nub // ui triangle/nub
&:after { &::after {
border-color: rgba(255, 255, 255, 0); border-color: rgba(255, 255, 255, 0);
border-bottom-color: $white; border-bottom-color: $white;
border-width: 10px; border-width: 10px;
} }
&:before { &::before {
border-color: rgba(178, 178, 178, 0); border-color: rgba(178, 178, 178, 0);
border-bottom-color: $gray-500; border-bottom-color: $gray-500;
border-width: 11px; border-width: 11px;
...@@ -429,6 +424,7 @@ ...@@ -429,6 +424,7 @@
.nav-item { .nav-item {
@extend %t-action3; @extend %t-action3;
@extend %t-regular; @extend %t-regular;
display: block; display: block;
margin: 0 0 ($baseline/4) 0; margin: 0 0 ($baseline/4) 0;
border-bottom: 1px solid $gray-300; border-bottom: 1px solid $gray-300;
...@@ -450,7 +446,8 @@ ...@@ -450,7 +446,8 @@
font-size: $font-size-lg; font-size: $font-size-lg;
font-weight: 600; font-weight: 600;
&:hover, &:active { &:hover,
&:active {
color: theme-color("primary"); color: theme-color("primary");
} }
} }
...@@ -459,7 +456,6 @@ ...@@ -459,7 +456,6 @@
// CASE: left-hand side arrow/dd // CASE: left-hand side arrow/dd
&.ui-left { &.ui-left {
.wrapper-nav-sub { .wrapper-nav-sub {
left: 0; left: 0;
} }
...@@ -468,12 +464,12 @@ ...@@ -468,12 +464,12 @@
text-align: left; text-align: left;
// ui triangle/nub // ui triangle/nub
&:after { &::after {
left: $baseline; left: $baseline;
margin-left: -10px; margin-left: -10px;
} }
&:before { &::before {
left: $baseline; left: $baseline;
margin-left: -11px; margin-left: -11px;
} }
...@@ -482,7 +478,6 @@ ...@@ -482,7 +478,6 @@
// CASE: right-hand side arrow/dd // CASE: right-hand side arrow/dd
&.ui-right { &.ui-right {
> ol { > ol {
margin-bottom: 0; margin-bottom: 0;
} }
...@@ -495,12 +490,12 @@ ...@@ -495,12 +490,12 @@
.nav-sub { .nav-sub {
// ui triangle/nub // ui triangle/nub
&:after { &::after {
right: $baseline; right: $baseline;
margin-right: -10px; margin-right: -10px;
} }
&:before { &::before {
right: $baseline; right: $baseline;
margin-right: -11px; margin-right: -11px;
} }
......
...@@ -13,7 +13,8 @@ ...@@ -13,7 +13,8 @@
padding-bottom: 0; padding-bottom: 0;
.nav-item { .nav-item {
&.active, &:hover{ &.active,
&:hover {
.nav-link { .nav-link {
border-bottom-color: theme-color("primary"); border-bottom-color: theme-color("primary");
color: theme-color("primary"); color: theme-color("primary");
...@@ -57,14 +58,6 @@ ...@@ -57,14 +58,6 @@
// studio - elements - layouts // studio - elements - layouts
// ==================== // ====================
// layout - basic
// the wrapper around the viewable page area, excluding modal and other extra-view content
.wrapper-view {
}
// ====================
// layout - basic page header // layout - basic page header
.wrapper-mast { .wrapper-mast {
margin: ($baseline*1.5) 0 0 0; margin: ($baseline*1.5) 0 0 0;
...@@ -74,6 +67,7 @@ ...@@ -74,6 +67,7 @@
.mast, .mast,
.metadata { .metadata {
@include clearfix(); @include clearfix();
position: relative; position: relative;
max-width: $studio-max-width; max-width: $studio-max-width;
width: flex-grid(12); width: flex-grid(12);
...@@ -102,7 +96,7 @@ ...@@ -102,7 +96,7 @@
.page-header { .page-header {
float: left; float: left;
width: flex-grid(6,12); width: flex-grid(6, 12);
margin-right: flex-gutter(); margin-right: flex-gutter();
} }
...@@ -110,7 +104,7 @@ ...@@ -110,7 +104,7 @@
position: relative; position: relative;
bottom: -($baseline*0.75); bottom: -($baseline*0.75);
float: right; float: right;
width: flex-grid(6,12); width: flex-grid(6, 12);
text-align: right; text-align: right;
.nav-item { .nav-item {
...@@ -150,7 +144,6 @@ ...@@ -150,7 +144,6 @@
// layout with actions // layout with actions
&.has-subtitle { &.has-subtitle {
.nav-actions { .nav-actions {
bottom: -($baseline*1.5); bottom: -($baseline*1.5);
} }
...@@ -158,13 +151,13 @@ ...@@ -158,13 +151,13 @@
// layout with breadcrumb navigation // layout with breadcrumb navigation
&.has-navigation { &.has-navigation {
.nav-actions { .nav-actions {
bottom: -($baseline*1.5); bottom: -($baseline*1.5);
} }
.navigation-item { .navigation-item {
@extend %cont-truncated; @extend %cont-truncated;
display: inline-block; display: inline-block;
vertical-align: bottom; // correct for extra padding in FF vertical-align: bottom; // correct for extra padding in FF
max-width: 250px; max-width: 250px;
...@@ -172,10 +165,11 @@ ...@@ -172,10 +165,11 @@
&.navigation-current { &.navigation-current {
@extend %ui-disabled; @extend %ui-disabled;
color: color("gray"); color: color("gray");
max-width: 250px; max-width: 250px;
&:before { &::before {
color: color("gray"); color: color("gray");
} }
} }
...@@ -185,7 +179,7 @@ ...@@ -185,7 +179,7 @@
color: theme-color("primary"); color: theme-color("primary");
} }
.navigation-item:before { .navigation-item::before {
content: " / "; content: " / ";
margin: ($baseline/4); margin: ($baseline/4);
color: color("gray"); color: color("gray");
...@@ -195,7 +189,7 @@ ...@@ -195,7 +189,7 @@
} }
} }
.navigation .navigation-item:first-child:before { .navigation .navigation-item:first-child::before {
content: ""; content: "";
margin: 0; margin: 0;
} }
...@@ -204,28 +198,24 @@ ...@@ -204,28 +198,24 @@
// CASE: wizard-based mast // CASE: wizard-based mast
.mast-wizard { .mast-wizard {
.page-header-sub { .page-header-sub {
@extend %t-title4; @extend %t-title4;
color: color("gray"); color: color("gray");
font-weight: 300; font-weight: 300;
} }
.page-header-super { .page-header-super {
@extend %t-title4; @extend %t-title4;
float: left; float: left;
width: flex-grid(12,12); width: flex-grid(12, 12);
margin-top: ($baseline/2); margin-top: ($baseline/2);
border-top: 1px solid $border-color; border-top: 1px solid $border-color;
padding-top: ($baseline/2); padding-top: ($baseline/2);
font-weight: 600; font-weight: 600;
} }
} }
// page metadata/action bar
.metadata {
}
} }
// layout - basic page content // layout - basic page content
...@@ -258,6 +248,7 @@ ...@@ -258,6 +248,7 @@
.title-sub { .title-sub {
@extend %t-copy-sub1; @extend %t-copy-sub1;
display: block; display: block;
margin: 0; margin: 0;
color: $gray-500; color: $gray-500;
...@@ -266,6 +257,7 @@ ...@@ -266,6 +257,7 @@
.title-1 { .title-1 {
@extend %t-title3; @extend %t-title3;
@extend %t-strong; @extend %t-strong;
margin: 0; margin: 0;
padding: 0; padding: 0;
color: theme-color("primary"); color: theme-color("primary");
...@@ -286,11 +278,13 @@ ...@@ -286,11 +278,13 @@
.title-2 { .title-2 {
@extend %t-title4; @extend %t-title4;
margin: 0 0 ($baseline/2) 0; margin: 0 0 ($baseline/2) 0;
} }
.title-3 { .title-3 {
@extend %t-title6; @extend %t-title6;
margin: 0 0 ($baseline/2) 0; margin: 0 0 ($baseline/2) 0;
} }
...@@ -305,6 +299,7 @@ ...@@ -305,6 +299,7 @@
.tip { .tip {
@extend %t-copy-sub2; @extend %t-copy-sub2;
width: flex-grid(7, 12); width: flex-grid(7, 12);
float: right; float: right;
margin-top: ($baseline/2); margin-top: ($baseline/2);
...@@ -316,7 +311,6 @@ ...@@ -316,7 +311,6 @@
// layout - supplemental content // layout - supplemental content
.content-supplementary { .content-supplementary {
> section { > section {
margin: 0 0 $baseline 0; margin: 0 0 $baseline 0;
} }
...@@ -332,6 +326,7 @@ ...@@ -332,6 +326,7 @@
.inner-wrapper { .inner-wrapper {
@include clearfix(); @include clearfix();
position: relative; position: relative;
max-width: 1280px; max-width: 1280px;
margin: auto; margin: auto;
......
...@@ -34,14 +34,14 @@ ...@@ -34,14 +34,14 @@
// +Font Sizing - Mixin // +Font Sizing - Mixin
// ==================== // ====================
@mixin font-size($sizeValue: 16){ @mixin font-size($sizeValue: 16) {
font-size: $sizeValue + px; font-size: $sizeValue + px;
font-size: ($sizeValue/10) + rem; font-size: ($sizeValue/10) + rem;
} }
// +Line Height - Mixin // +Line Height - Mixin
// ==================== // ====================
@mixin line-height($fontSize: auto){ @mixin line-height($fontSize: auto) {
line-height: ($fontSize*1.48) + px; line-height: ($fontSize*1.48) + px;
line-height: (($fontSize/10)*1.48) + rem; line-height: (($fontSize/10)*1.48) + rem;
} }
...@@ -65,9 +65,11 @@ ...@@ -65,9 +65,11 @@
:-moz-placeholder { :-moz-placeholder {
color: $color; color: $color;
} }
::-webkit-input-placeholder { ::-webkit-input-placeholder {
color: $color; color: $color;
} }
:-ms-input-placeholder { :-ms-input-placeholder {
color: $color; color: $color;
} }
...@@ -118,6 +120,7 @@ ...@@ -118,6 +120,7 @@
// used for page/view-level wrappers (for centering/grids) // used for page/view-level wrappers (for centering/grids)
%ui-wrapper { %ui-wrapper {
@include clearfix(); @include clearfix();
width: 100%; width: 100%;
} }
...@@ -135,7 +138,6 @@ ...@@ -135,7 +138,6 @@
// ==================== // ====================
// extends - UI - utility - first child clearing // extends - UI - utility - first child clearing
%wipe-first-child { %wipe-first-child {
&:first-child { &:first-child {
margin-top: 0; margin-top: 0;
border-top: none; border-top: none;
...@@ -145,7 +147,6 @@ ...@@ -145,7 +147,6 @@
// extends - UI - utility - last child clearing // extends - UI - utility - last child clearing
%wipe-last-child { %wipe-last-child {
&:last-child { &:last-child {
margin-bottom: 0; margin-bottom: 0;
border-bottom: none; border-bottom: none;
......
...@@ -49,7 +49,8 @@ ...@@ -49,7 +49,8 @@
} }
@include media-breakpoint-down(md) { @include media-breakpoint-down(md) {
&.nav-item-open-collapsed, &.nav-item-open-collapsed-only { &.nav-item-open-collapsed,
&.nav-item-open-collapsed-only {
display: initial; display: initial;
margin: $baseline/4 $baseline/2; margin: $baseline/4 $baseline/2;
...@@ -63,13 +64,14 @@ ...@@ -63,13 +64,14 @@
} }
} }
} }
&.nav-item-hidden-collapsed { &.nav-item-hidden-collapsed {
display: none; display: none;
} }
} }
} }
.btn-shopping-cart{ .btn-shopping-cart {
padding-top: 0.7rem; // $btn-padding-y-lg once themed padding-top: 0.7rem; // $btn-padding-y-lg once themed
} }
......
...@@ -39,14 +39,14 @@ $white-opacity-60: rgba(255, 255, 255, 0.6) !default; ...@@ -39,14 +39,14 @@ $white-opacity-60: rgba(255, 255, 255, 0.6) !default;
$white-opacity-70: rgba(255, 255, 255, 0.7) !default; $white-opacity-70: rgba(255, 255, 255, 0.7) !default;
$white-opacity-80: rgba(255, 255, 255, 0.8) !default; $white-opacity-80: rgba(255, 255, 255, 0.8) !default;
$black: rgb(0,0,0) !default; $black: rgb(0, 0, 0) !default;
$black-t0: rgba($black, 0.125) !default; $black-t0: rgba($black, 0.125) !default;
$black-t1: rgba($black, 0.25) !default; $black-t1: rgba($black, 0.25) !default;
$black-t2: rgba($black, 0.5) !default; $black-t2: rgba($black, 0.5) !default;
$black-t3: rgba($black, 0.75) !default; $black-t3: rgba($black, 0.75) !default;
$light-grey-transparent: rgba(200,200,200, 0) !default; $light-grey-transparent: rgba(200, 200, 200, 0) !default;
$light-grey-solid: rgba(200,200,200, 1) !default; $light-grey-solid: rgba(200, 200, 200, 1) !default;
$header-bg: $white !default; $header-bg: $white !default;
$footer-bg: $white !default; $footer-bg: $white !default;
...@@ -66,6 +66,6 @@ $font-bold: 700 !default; ...@@ -66,6 +66,6 @@ $font-bold: 700 !default;
$studio-dark-icon-color: $white !default; $studio-dark-icon-color: $white !default;
$studio-dark-icon-background-color: palette(grayscale, black) !default; $studio-dark-icon-background-color: palette(grayscale, black) !default;
$site-status-color: rgb(182,37,103) !default; $site-status-color: rgb(182, 37, 103) !default;
$shadow-l1: rgba(0,0,0,0.1) !default; $shadow-l1: rgba(0, 0, 0, 0.1) !default;
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
// CASE: IE9 doesn't support css animations and negative positioning // CASE: IE9 doesn't support css animations and negative positioning
.wrapper-notification { .wrapper-notification {
&.is-shown { &.is-shown {
bottom: 0; bottom: 0;
} }
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
%ui-btn-dd { %ui-btn-dd {
@extend %ui-btn; @extend %ui-btn;
@extend %ui-btn-pill; @extend %ui-btn-pill;
padding:($baseline/4) ($baseline/2); padding:($baseline/4) ($baseline/2);
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
...@@ -11,6 +12,7 @@ ...@@ -11,6 +12,7 @@
&:hover, &:active { &:hover, &:active {
@extend %ui-fake-link; @extend %ui-fake-link;
border-color: $gray-l3; border-color: $gray-l3;
} }
...@@ -24,6 +26,7 @@ ...@@ -24,6 +26,7 @@
// ==================== // ====================
%ui-btn-dd-nav-primary { %ui-btn-dd-nav-primary {
@extend %ui-btn-dd; @extend %ui-btn-dd;
background: $white; background: $white;
border-color: $white; border-color: $white;
color: $gray-d1; color: $gray-d1;
......
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
@include clearfix(); @include clearfix();
@include grid-container(); @include grid-container();
@include float(none); @include float(none);
box-sizing: border-box; box-sizing: border-box;
max-width: $fg-max-width; max-width: $fg-max-width;
min-width: $fg-min-width; min-width: $fg-min-width;
...@@ -68,11 +69,14 @@ ...@@ -68,11 +69,14 @@
.title{ .title{
@extend %ui-btn-dd-nav-primary; @extend %ui-btn-dd-nav-primary;
@include transition(all $tmg-f2 ease-in-out 0s); @include transition(all $tmg-f2 ease-in-out 0s);
line-height: 16px; line-height: 16px;
margin-top: 6px; margin-top: 6px;
font-size: font-size(base); font-size: font-size(base);
font-weight: font-weight(semi-bold); font-weight: font-weight(semi-bold);
.nav-sub .nav-item { .nav-sub .nav-item {
.icon { .icon {
display: inline-block; display: inline-block;
...@@ -121,14 +125,12 @@ ...@@ -121,14 +125,12 @@
} }
.nav-account-help { .nav-account-help {
.wrapper-nav-sub { .wrapper-nav-sub {
width: ($baseline*10); width: ($baseline*10);
} }
} }
.nav-account-user { .nav-account-user {
.title { .title {
max-width: ($baseline*6.5); max-width: ($baseline*6.5);
display: inline-block; display: inline-block;
...@@ -141,6 +143,7 @@ ...@@ -141,6 +143,7 @@
.settings-language-form { .settings-language-form {
margin-top: 4px; margin-top: 4px;
.language-selector { .language-selector {
width: 130px; width: 130px;
} }
...@@ -151,13 +154,12 @@ ...@@ -151,13 +154,12 @@
// CASE: user signed in // CASE: user signed in
.is-signedin { .is-signedin {
.wrapper-l { .wrapper-l {
width: flex-grid(8,12); width: flex-grid(8, 12);
} }
.wrapper-r { .wrapper-r {
width: flex-grid(4,12); width: flex-grid(4, 12);
} }
.branding { .branding {
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
.nav-skip, .nav-skip,
.transcript-skip { .transcript-skip {
@include left(0); @include left(0);
font-size: font-size(small); font-size: font-size(small);
display: inline-block; display: inline-block;
position: absolute; position: absolute;
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
.wrapper-sock { .wrapper-sock {
@include clearfix(); @include clearfix();
position: relative; position: relative;
margin: ($baseline*2) 0 0 0; margin: ($baseline*2) 0 0 0;
border-top: 1px solid $gray-l4; border-top: 1px solid $gray-l4;
...@@ -10,6 +11,7 @@ ...@@ -10,6 +11,7 @@
.wrapper-inner { .wrapper-inner {
@include linear-gradient($gray-d3 0%, $gray-d3 98%, $black 100%); @include linear-gradient($gray-d3 0%, $gray-d3 98%, $black 100%);
display: none; display: none;
width: 100% !important; width: 100% !important;
border-bottom: 1px solid $white; border-bottom: 1px solid $white;
...@@ -19,6 +21,7 @@ ...@@ -19,6 +21,7 @@
// sock - actions // sock - actions
.list-cta { .list-cta {
@extend %ui-depth1; @extend %ui-depth1;
position: absolute; position: absolute;
top: -($baseline*0.75); top: -($baseline*0.75);
width: 100%; width: 100%;
...@@ -27,6 +30,7 @@ ...@@ -27,6 +30,7 @@
.cta-show-sock { .cta-show-sock {
@extend %ui-btn-pill; @extend %ui-btn-pill;
background: $uxpl-grayscale-x-back; background: $uxpl-grayscale-x-back;
font-size: font-size(x-small); font-size: font-size(x-small);
padding: ($baseline/2) $baseline; padding: ($baseline/2) $baseline;
...@@ -47,6 +51,7 @@ ...@@ -47,6 +51,7 @@
.sock { .sock {
@include clearfix(); @include clearfix();
@include span(12); @include span(12);
max-width: $fg-max-width; max-width: $fg-max-width;
min-width: $fg-min-width; min-width: $fg-min-width;
margin: 0 auto; margin: 0 auto;
...@@ -73,6 +78,7 @@ ...@@ -73,6 +78,7 @@
.action-item { .action-item {
@include float(left); @include float(left);
@include margin-right($baseline/2); @include margin-right($baseline/2);
margin-bottom: ($baseline/2); margin-bottom: ($baseline/2);
&:last-child { &:last-child {
...@@ -84,6 +90,7 @@ ...@@ -84,6 +90,7 @@
.icon { .icon {
vertical-align: middle; vertical-align: middle;
@include margin-right($baseline/4); @include margin-right($baseline/4);
} }
} }
...@@ -104,10 +111,11 @@ ...@@ -104,10 +111,11 @@
.support { .support {
@include float(left); @include float(left);
@include span(8); @include span(8);
margin-right: flex-gutter(); margin-right: flex-gutter();
.action-item { .action-item {
width: flexgrid(4,8); width: flexgrid(4, 8);
} }
} }
...@@ -115,8 +123,9 @@ ...@@ -115,8 +123,9 @@
.feedback { .feedback {
@include float(left); @include float(left);
@include span(4); @include span(4);
.action-item { .action-item {
width: flexgrid(4,4); width: flexgrid(4, 4);
} }
} }
} }
......
.tooltip { .tooltip {
@include transition(opacity $tmg-f3 ease-out 0s); @include transition(opacity $tmg-f3 ease-out 0s);
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
...@@ -12,7 +13,7 @@ ...@@ -12,7 +13,7 @@
pointer-events: none; pointer-events: none;
opacity: 0; opacity: 0;
&:after { &::after {
font-size: font-size(x-large); font-size: font-size(x-large);
content: '▾'; content: '▾';
display: block; display: block;
......
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
*/ */
.CodeMirror { .CodeMirror {
.CodeMirror-linenumber.CodeMirror-gutter-elt { .CodeMirror-linenumber.CodeMirror-gutter-elt {
color: $gray-d3 !important; color: $gray-d3 !important;
} }
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
&.is-disabled { &.is-disabled {
@extend %ui-disabled; @extend %ui-disabled;
-webkit-filter: grayscale(65%); -webkit-filter: grayscale(65%);
opacity: 0.65; opacity: 0.65;
} }
...@@ -31,6 +32,7 @@ ...@@ -31,6 +32,7 @@
// ==================== // ====================
%sizing { %sizing {
@extend %t-action4; @extend %t-action4;
padding: ($baseline/4) ($baseline/2) ($baseline/3) ($baseline/2); padding: ($baseline/4) ($baseline/2) ($baseline/3) ($baseline/2);
} }
...@@ -40,20 +42,24 @@ ...@@ -40,20 +42,24 @@
// gray primary button // gray primary button
%btn-primary-gray { %btn-primary-gray {
@extend %ui-btn-primary; @extend %ui-btn-primary;
background: $gray-l1; background: $gray-l1;
border-color: $gray-l2; border-color: $gray-l2;
color: $white; color: $white;
&:hover, &:active { &:hover,
&:active {
border-color: $gray-l1; border-color: $gray-l1;
background: $gray; background: $gray;
} }
&.current, &.active { &.current,
&.active {
background: $gray-d1; background: $gray-d1;
color: $gray-l1; color: $gray-l1;
&:hover, &:active { &:hover,
&:active {
background: $gray-d1; background: $gray-d1;
} }
} }
...@@ -62,21 +68,25 @@ ...@@ -62,21 +68,25 @@
// blue primary button // blue primary button
%btn-primary-blue { %btn-primary-blue {
@extend %ui-btn-primary; @extend %ui-btn-primary;
background: $uxpl-blue-base; background: $uxpl-blue-base;
border-color: $uxpl-blue-base; border-color: $uxpl-blue-base;
color: $white; color: $white;
&:hover, &:active { &:hover,
&:active {
background: $uxpl-blue-hover-active; background: $uxpl-blue-hover-active;
border-color: $uxpl-blue-hover-active; border-color: $uxpl-blue-hover-active;
} }
&.current, &.active { &.current,
&.active {
background: $uxpl-blue-hover-active; background: $uxpl-blue-hover-active;
border-color: $uxpl-blue-hover-active; border-color: $uxpl-blue-hover-active;
color: $blue-l4; color: $blue-l4;
&:hover, &:active { &:hover,
&:active {
background: $uxpl-blue-hover-active; background: $uxpl-blue-hover-active;
} }
} }
...@@ -85,21 +95,25 @@ ...@@ -85,21 +95,25 @@
// green primary button // green primary button
%btn-primary-green { %btn-primary-green {
@extend %ui-btn-primary; @extend %ui-btn-primary;
background: $uxpl-green-base; background: $uxpl-green-base;
border-color: $uxpl-green-base; border-color: $uxpl-green-base;
color: $white; color: $white;
&:hover, &:active { &:hover,
&:active {
background: $uxpl-green-dark-hover-active; background: $uxpl-green-dark-hover-active;
border-color: $uxpl-green-dark-hover-active; border-color: $uxpl-green-dark-hover-active;
} }
&.current, &.active { &.current,
&.active {
background: $uxpl-green-dark-hover-active; background: $uxpl-green-dark-hover-active;
color: $white; color: $white;
border-color: $uxpl-green-dark-hover-active; border-color: $uxpl-green-dark-hover-active;
&:hover, &:active { &:hover,
&:active {
background: $uxpl-green-dark-hover-active; background: $uxpl-green-dark-hover-active;
} }
} }
...@@ -110,19 +124,23 @@ ...@@ -110,19 +124,23 @@
// gray secondary button // gray secondary button
%btn-secondary-gray { %btn-secondary-gray {
@extend %ui-btn-secondary; @extend %ui-btn-secondary;
border-color: $gray-l3; border-color: $gray-l3;
color: $gray-d1; color: $gray-d1;
&:hover, &:active { &:hover,
&:active {
background: $gray-l3; background: $gray-l3;
color: $gray-d2; color: $gray-d2;
} }
&.current, &.active { &.current,
&.active {
background: $gray-d2; background: $gray-d2;
color: $gray-l5; color: $gray-l5;
&:hover, &:active { &:hover,
&:active {
background: $gray-d2; background: $gray-d2;
} }
} }
...@@ -131,15 +149,18 @@ ...@@ -131,15 +149,18 @@
// blue secondary button // blue secondary button
%btn-secondary-blue { %btn-secondary-blue {
@extend %ui-btn-secondary; @extend %ui-btn-secondary;
border-color: $blue-l3; border-color: $blue-l3;
color: $uxpl-blue-base; color: $uxpl-blue-base;
&:hover, &:active { &:hover,
&:active {
background: $blue-l4; background: $blue-l4;
color: $uxpl-blue-hover-active; color: $uxpl-blue-hover-active;
} }
&.current, &.active { &.current,
&.active {
border-color: $blue-l3; border-color: $blue-l3;
background: $blue-l3; background: $blue-l3;
color: $uxpl-blue-base; color: $uxpl-blue-base;
...@@ -149,19 +170,23 @@ ...@@ -149,19 +170,23 @@
// white secondary button // white secondary button
%btn-secondary-white { %btn-secondary-white {
@extend %ui-btn-secondary; @extend %ui-btn-secondary;
border-color: $white-t2; border-color: $white-t2;
color: $white-t3; color: $white-t3;
&:hover, &:active { &:hover,
&:active {
border-color: $white; border-color: $white;
color: $white; color: $white;
} }
&.current, &.active { &.current,
&.active {
background: $gray-d2; background: $gray-d2;
color: $gray-l5; color: $gray-l5;
&:hover, &:active { &:hover,
&:active {
background: $gray-d2; background: $gray-d2;
} }
} }
...@@ -170,19 +195,23 @@ ...@@ -170,19 +195,23 @@
// green secondary button // green secondary button
%btn-secondary-green { %btn-secondary-green {
@extend %ui-btn-secondary; @extend %ui-btn-secondary;
border-color: $green-l4; border-color: $green-l4;
color: $green-l2; color: $green-l2;
&:hover, &:active { &:hover,
&:active {
background: $green-l4; background: $green-l4;
color: $green-s1; color: $green-s1;
} }
&.current, &.active { &.current,
&.active {
background: $green-s1; background: $green-s1;
color: $green-l4; color: $green-l4;
&:hover, &:active { &:hover,
&:active {
background: $green-s1; background: $green-s1;
} }
} }
...@@ -195,11 +224,10 @@ ...@@ -195,11 +224,10 @@
box-shadow: inset 0 1px 0 0 $white; box-shadow: inset 0 1px 0 0 $white;
color: $gray-d3; color: $gray-d3;
display: inline-block; display: inline-block;
font-size: inherit;
font-weight: bold; font-weight: bold;
background-color: $btn-lms-background; background-color: $btn-lms-background;
background-image: -webkit-linear-gradient($btn-lms-background,$btn-lms-gradient); background-image: -webkit-linear-gradient($btn-lms-background, $btn-lms-gradient);
background-image: linear-gradient($btn-lms-background,$btn-lms-gradient); background-image: linear-gradient($btn-lms-background, $btn-lms-gradient);
padding: 7px 18px; padding: 7px 18px;
text-decoration: none; text-decoration: none;
text-shadow: 0 1px 0 $btn-lms-shadow; text-shadow: 0 1px 0 $btn-lms-shadow;
...@@ -211,22 +239,22 @@ ...@@ -211,22 +239,22 @@
box-shadow: inset 0 1px 0 0 $btn-lms-shadow-hover; box-shadow: inset 0 1px 0 0 $btn-lms-shadow-hover;
cursor: pointer; cursor: pointer;
background-color: $btn-lms-background-hover; background-color: $btn-lms-background-hover;
background-image: -webkit-linear-gradient($btn-lms-background-hover,$btn-lms-gradient-hover); background-image: -webkit-linear-gradient($btn-lms-background-hover, $btn-lms-gradient-hover);
background-image: linear-gradient($btn-lms-background-hover,$btn-lms-gradient-hover); background-image: linear-gradient($btn-lms-background-hover, $btn-lms-gradient-hover);
} }
&:active { &:active {
border: 1px solid $btn-lms-border; border: 1px solid $btn-lms-border;
box-shadow: inset 0 0 8px 4px $btn-lms-shadow-active,inset 0 0 8px 4px $btn-lms-shadow-active; box-shadow: inset 0 0 8px 4px $btn-lms-shadow-active, inset 0 0 8px 4px $btn-lms-shadow-active;
} }
} }
// +Button Element // +Button Element
// ==================== // ====================
.button { .button {
.icon { .icon {
@include margin-right($baseline/4); @include margin-right($baseline/4);
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
} }
...@@ -237,18 +265,23 @@ ...@@ -237,18 +265,23 @@
%ui-btn-dd { %ui-btn-dd {
@extend %ui-btn; @extend %ui-btn;
@extend %ui-btn-pill; @extend %ui-btn-pill;
padding:($baseline/4) ($baseline/2);
padding: ($baseline/4) ($baseline/2);
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
border-color: transparent; border-color: transparent;
text-align: center; text-align: center;
&:hover, &:active { &:hover,
&:active {
@extend %ui-fake-link; @extend %ui-fake-link;
border-color: $gray-l3; border-color: $gray-l3;
} }
&.current, &.active, &.is-selected { &.current,
&.active,
&.is-selected {
box-shadow: inset 0 1px 2px 1px $shadow-l1; box-shadow: inset 0 1px 2px 1px $shadow-l1;
border-color: $gray-l3; border-color: $gray-l3;
} }
...@@ -258,20 +291,24 @@ ...@@ -258,20 +291,24 @@
// ==================== // ====================
%ui-btn-dd-nav-primary { %ui-btn-dd-nav-primary {
@extend %ui-btn-dd; @extend %ui-btn-dd;
background: $white; background: $white;
border-color: $white; border-color: $white;
color: $gray-d1; color: $gray-d1;
&:hover, &:active { &:hover,
&:active {
background: $white; background: $white;
color: $uxpl-blue-hover-active; color: $uxpl-blue-hover-active;
} }
&.current, &.active { &.current,
&.active {
background: $white; background: $white;
color: $gray-d4; color: $gray-d4;
&:hover, &:active { &:hover,
&:active {
color: $uxpl-blue-hover-active; color: $uxpl-blue-hover-active;
} }
} }
...@@ -291,6 +328,7 @@ ...@@ -291,6 +328,7 @@
.action-button { .action-button {
@include transition(all $tmg-f3 linear 0s); @include transition(all $tmg-f3 linear 0s);
display: block; display: block;
border-radius: 3px; border-radius: 3px;
padding: 3px ($baseline/2); padding: 3px ($baseline/2);
...@@ -366,6 +404,7 @@ ...@@ -366,6 +404,7 @@
// TODO: this should be transitioned away from in favor of %ui-expand-collapse // TODO: this should be transitioned away from in favor of %ui-expand-collapse
%expand-collapse { %expand-collapse {
@include transition(all $tmg-f2 linear 0s); @include transition(all $tmg-f2 linear 0s);
display: inline-block; display: inline-block;
color: $gray-l2; color: $gray-l2;
vertical-align: top; vertical-align: top;
...@@ -377,7 +416,9 @@ ...@@ -377,7 +416,9 @@
.ui-toggle-expansion { .ui-toggle-expansion {
@include transition(all $tmg-f2 ease-in-out 0s); @include transition(all $tmg-f2 ease-in-out 0s);
@include margin-right($baseline/4); @include margin-right($baseline/4);
@extend %t-action1; @extend %t-action1;
display: inline-block; display: inline-block;
color: $gray-l3; color: $gray-l3;
vertical-align: middle; vertical-align: middle;
...@@ -399,6 +440,7 @@ ...@@ -399,6 +440,7 @@
// CASE: default (is expanded) // CASE: default (is expanded)
.ui-toggle-expansion { .ui-toggle-expansion {
@include transition(all $tmg-f2 ease-in-out 0s); @include transition(all $tmg-f2 ease-in-out 0s);
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
...@@ -407,17 +449,17 @@ ...@@ -407,17 +449,17 @@
} }
// STATE: hover/active // STATE: hover/active
&:hover, &:active { &:hover,
&:active {
@extend %ui-fake-link; @extend %ui-fake-link;
color: $uxpl-blue-base; color: $uxpl-blue-base;
} }
} }
// CASE: is collapsed // CASE: is collapsed
&.is-collapsed { &.is-collapsed {
.ui-toggle-expansion { .ui-toggle-expansion {
.icon { .icon {
@include transform(rotate(-90deg)); @include transform(rotate(-90deg));
@include transform-origin(50% 50%); @include transform-origin(50% 50%);
...@@ -431,8 +473,8 @@ ...@@ -431,8 +473,8 @@
// UI: drag handle // UI: drag handle
.drag-handle { .drag-handle {
&:hover,
&:hover, &:focus { &:focus {
cursor: move; cursor: move;
} }
} }
...@@ -440,18 +482,22 @@ ...@@ -440,18 +482,22 @@
// UI: is draggable // UI: is draggable
.is-draggable { .is-draggable {
@include transition(border-color $tmg-f2 ease-in-out 0, box-shadow $tmg-f2 ease-in-out 0, margin $tmg-f2 ease-in-out 0); @include transition(border-color $tmg-f2 ease-in-out 0, box-shadow $tmg-f2 ease-in-out 0, margin $tmg-f2 ease-in-out 0);
position: relative; position: relative;
.draggable-drop-indicator { .draggable-drop-indicator {
@extend %ui-depth3; @extend %ui-depth3;
@include transition(opacity $tmg-f2 linear 0s); @include transition(opacity $tmg-f2 linear 0s);
@include size(100%, auto); @include size(100%, auto);
position: absolute; position: absolute;
border-top: 1px solid $blue-l1; border-top: 1px solid $blue-l1;
opacity: 0.0; opacity: 0;
.fa-caret-right { .fa-caret-right {
@extend %t-icon5; @extend %t-icon5;
position: absolute; position: absolute;
top: -12px; top: -12px;
left: -($baseline/4); left: -($baseline/4);
...@@ -471,6 +517,7 @@ ...@@ -471,6 +517,7 @@
// UI: is dragging - drag state // UI: is dragging - drag state
.is-dragging { .is-dragging {
@extend %ui-depth4; @extend %ui-depth4;
left: -($baseline/4); left: -($baseline/4);
box-shadow: 0 1px 2px 0 $shadow-d1; box-shadow: 0 1px 2px 0 $shadow-d1;
cursor: move; cursor: move;
...@@ -480,7 +527,7 @@ ...@@ -480,7 +527,7 @@
// UI: condition - valid drop // UI: condition - valid drop
&.valid-drop { &.valid-drop {
border-color: $ui-action-primary-color-focus; border-color: $ui-action-primary-color-focus;
box-shadow: 0 1px 2px 0 rgba($ui-action-primary-color-focus, 0.50); box-shadow: 0 1px 2px 0 rgba($ui-action-primary-color-focus, 0.5);
} }
} }
...@@ -491,12 +538,11 @@ ...@@ -491,12 +538,11 @@
// UI: drag target // UI: drag target
.drop-target { .drop-target {
&.drop-target-before { &.drop-target-before {
margin-top: ($baseline*1.5); margin-top: ($baseline*1.5);
> .draggable-drop-indicator-before { > .draggable-drop-indicator-before {
opacity: 1.0; opacity: 1;
} }
} }
...@@ -504,7 +550,7 @@ ...@@ -504,7 +550,7 @@
margin-bottom: ($baseline*1.5); margin-bottom: ($baseline*1.5);
> .draggable-drop-indicator-after { > .draggable-drop-indicator-after {
opacity: 1.0; opacity: 1;
} }
} }
} }
...@@ -512,6 +558,7 @@ ...@@ -512,6 +558,7 @@
// UI: drop state - was dropped // UI: drop state - was dropped
.was-dropped { .was-dropped {
@include animation(was-dropped $tmg-avg ease-in-out 1); @include animation(was-dropped $tmg-avg ease-in-out 1);
border-color: $ui-action-primary-color-focus; border-color: $ui-action-primary-color-focus;
box-shadow: 0 1px 2px 0 rgba($ui-action-primary-color-focus, 0.50); box-shadow: 0 1px 2px 0 rgba($ui-action-primary-color-focus, 0.5);
} }
...@@ -9,18 +9,19 @@ ...@@ -9,18 +9,19 @@
font-style: normal; font-style: normal;
} }
[class^="icon-cc"]:before, [class*=" icon-cc"]:before { [class^="icon-cc"]::before,
[class*=" icon-cc"]::before {
font-family: "CreativeCommons"; font-family: "CreativeCommons";
} }
.icon-cc:before { content: '\e800'; } /* '' */ .icon-cc::before { content: '\e800'; } /* '' */
.icon-cc-by:before { content: '\e801'; } /* '' */ .icon-cc-by::before { content: '\e801'; } /* '' */
.icon-cc-nc:before { content: '\e802'; } /* '' */ .icon-cc-nc::before { content: '\e802'; } /* '' */
.icon-cc-nc-eu:before { content: '\e803'; } /* '' */ .icon-cc-nc-eu::before { content: '\e803'; } /* '' */
.icon-cc-nc-jp:before { content: '\e804'; } /* '' */ .icon-cc-nc-jp::before { content: '\e804'; } /* '' */
.icon-cc-sa:before { content: '\e805'; } /* '' */ .icon-cc-sa::before { content: '\e805'; } /* '' */
.icon-cc-nd:before { content: '\e806'; } /* '' */ .icon-cc-nd::before { content: '\e806'; } /* '' */
.icon-cc-pd:before { content: '\e807'; } /* '' */ .icon-cc-pd::before { content: '\e807'; } /* '' */
.icon-cc-zero:before { content: '\e808'; } /* '' */ .icon-cc-zero::before { content: '\e808'; } /* '' */
.icon-cc-share:before { content: '\e809'; } /* '' */ .icon-cc-share::before { content: '\e809'; } /* '' */
.icon-cc-remix:before { content: '\e80a'; } /* '' */ .icon-cc-remix::before { content: '\e80a'; } /* '' */
...@@ -9,7 +9,9 @@ ...@@ -9,7 +9,9 @@
footer.primary { footer.primary {
@extend %t-copy-sub2; @extend %t-copy-sub2;
@include clearfix(); @include clearfix();
max-width: $fg-max-width; max-width: $fg-max-width;
min-width: $fg-min-width; min-width: $fg-min-width;
width: flex-grid(12); width: flex-grid(12);
...@@ -22,6 +24,7 @@ ...@@ -22,6 +24,7 @@
.colophon { .colophon {
width: flex-grid(4, 12); width: flex-grid(4, 12);
@include float(left); @include float(left);
@include margin-right(flex-gutter(2)); @include margin-right(flex-gutter(2));
} }
...@@ -29,18 +32,21 @@ ...@@ -29,18 +32,21 @@
a { a {
color: $uxpl-blue-base; color: $uxpl-blue-base;
&:hover, &:active { &:hover,
&:active {
color: $uxpl-blue-hover-active; color: $uxpl-blue-hover-active;
} }
} }
.nav-peripheral { .nav-peripheral {
width: flex-grid(6, 12); width: flex-grid(6, 12);
@include float(right); @include float(right);
@include text-align(right); @include text-align(right);
.nav-item { .nav-item {
display: inline-block; display: inline-block;
@include margin-right($baseline/4); @include margin-right($baseline/4);
&:last-child { &:last-child {
...@@ -54,9 +60,12 @@ ...@@ -54,9 +60,12 @@
.icon { .icon {
@include transition(top $tmg-f2 ease-in-out $tmg-f2); @include transition(top $tmg-f2 ease-in-out $tmg-f2);
@extend %t-action3; @extend %t-action3;
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
@include margin-right($baseline/4); @include margin-right($baseline/4);
} }
} }
...@@ -65,10 +74,12 @@ ...@@ -65,10 +74,12 @@
.footer-content-secondary { .footer-content-secondary {
@include clearfix(); @include clearfix();
margin-top: $baseline; margin-top: $baseline;
} }
.footer-about-copyright, .footer-about-openedx { .footer-about-copyright,
.footer-about-openedx {
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
} }
...@@ -76,6 +87,7 @@ ...@@ -76,6 +87,7 @@
// platform trademarks // platform trademarks
.footer-about-copyright { .footer-about-copyright {
width: flex-grid(4, 12); width: flex-grid(4, 12);
@include float(left); @include float(left);
@include margin-right(flex-gutter(2)); @include margin-right(flex-gutter(2));
} }
......
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
// -------------------- // --------------------
// UI: checkbox/radio inputs // UI: checkbox/radio inputs
%input-tickable { %input-tickable {
~ label { ~ label {
color: $color-copy-base; color: $color-copy-base;
} }
...@@ -25,6 +24,7 @@ ...@@ -25,6 +24,7 @@
// STATE: checked/selected // STATE: checked/selected
&:checked ~ label { &:checked ~ label {
@extend %t-strong; @extend %t-strong;
color: $ui-action-primary-color-focus; color: $ui-action-primary-color-focus;
} }
} }
...@@ -35,8 +35,10 @@ input[type="password"], ...@@ -35,8 +35,10 @@ input[type="password"],
textarea.text { textarea.text {
@include box-sizing(border-box); @include box-sizing(border-box);
@include linear-gradient($gray-l5, $white); @include linear-gradient($gray-l5, $white);
@extend %t-copy-sub2; @extend %t-copy-sub2;
@extend %t-demi-strong; @extend %t-demi-strong;
padding: 6px 8px 8px; padding: 6px 8px 8px;
border: 1px solid $gray-l2; border: 1px solid $gray-l2;
border-radius: 2px; border-radius: 2px;
...@@ -54,6 +56,7 @@ textarea.text { ...@@ -54,6 +56,7 @@ textarea.text {
&:focus { &:focus {
@include linear-gradient($paleYellow, tint($paleYellow, 90%)); @include linear-gradient($paleYellow, tint($paleYellow, 90%));
outline: 0; outline: 0;
} }
} }
...@@ -61,12 +64,13 @@ textarea.text { ...@@ -61,12 +64,13 @@ textarea.text {
// +Fields - Not Editable // +Fields - Not Editable
// ==================== // ====================
.field.is-not-editable { .field.is-not-editable {
& label.is-focused { & label.is-focused {
color: $gray-d2; color: $gray-d2;
} }
label, input, textarea { label,
input,
textarea {
pointer-events: none; pointer-events: none;
} }
} }
...@@ -74,8 +78,8 @@ textarea.text { ...@@ -74,8 +78,8 @@ textarea.text {
// +Fields - With Error // +Fields - With Error
// ==================== // ====================
.field.error { .field.error {
input,
input, textarea { textarea {
border-color: $red; border-color: $red;
} }
} }
...@@ -86,13 +90,15 @@ form { ...@@ -86,13 +90,15 @@ form {
// CASE: cosmetic checkbox input // CASE: cosmetic checkbox input
.checkbox-cosmetic { .checkbox-cosmetic {
.input-checkbox-checked,
.input-checkbox-checked, .input-checkbox-unchecked, .label { .input-checkbox-unchecked,
.label {
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
} }
.input-checkbox-checked, .input-checkbox-unchecked { .input-checkbox-checked,
.input-checkbox-unchecked {
width: ($baseline*0.75); width: ($baseline*0.75);
} }
...@@ -110,7 +116,6 @@ form { ...@@ -110,7 +116,6 @@ form {
// CASE: checked // CASE: checked
&:checked { &:checked {
~ label .input-checkbox-checked { ~ label .input-checkbox-checked {
display: inline-block; display: inline-block;
} }
...@@ -119,7 +124,6 @@ form { ...@@ -119,7 +124,6 @@ form {
display: none; display: none;
} }
} }
} }
} }
...@@ -141,34 +145,10 @@ form { ...@@ -141,34 +145,10 @@ form {
.note { .note {
@include box-sizing(border-box); @include box-sizing(border-box);
.title {
}
.copy {
}
// note with actions // note with actions
&.has-actions { &.has-actions {
@include clearfix(); @include clearfix();
.title {
}
.copy {
}
.list-actions {
}
}
} }
.note-promotion {
} }
} }
...@@ -182,6 +162,7 @@ form { ...@@ -182,6 +162,7 @@ form {
.title { .title {
@extend %t-title4; @extend %t-title4;
@extend %t-strong; @extend %t-strong;
padding: $baseline ($baseline*1.5) 0 ($baseline*1.5); padding: $baseline ($baseline*1.5) 0 ($baseline*1.5);
} }
...@@ -201,24 +182,27 @@ form { ...@@ -201,24 +182,27 @@ form {
} }
&.required { &.required {
label { label {
@extend %t-strong; @extend %t-strong;
} }
label:after { label::after {
margin-left: ($baseline/4); margin-left: ($baseline/4);
content: "*"; content: "*";
} }
} }
label, input, textarea { label,
input,
textarea {
display: block; display: block;
} }
label { label {
@extend %t-copy-sub1; @extend %t-copy-sub1;
@include transition(color $tmg-f3 ease-in-out 0s); @include transition(color $tmg-f3 ease-in-out 0s);
margin: 0 0 ($baseline/4) 0; margin: 0 0 ($baseline/4) 0;
&.is-focused { &.is-focused {
...@@ -227,9 +211,12 @@ form { ...@@ -227,9 +211,12 @@ form {
} }
input, textarea { input,
textarea {
@extend %t-copy-base; @extend %t-copy-base;
@include transition(all $tmg-f2 ease-in-out 0s); @include transition(all $tmg-f2 ease-in-out 0s);
height: 100%; height: 100%;
width: 100%; width: 100%;
padding: ($baseline/2); padding: ($baseline/2);
...@@ -242,12 +229,7 @@ form { ...@@ -242,12 +229,7 @@ form {
width: 25%; width: 25%;
} }
/*@include placeholder {
color: $gray-l3;
}*/
&:focus { &:focus {
+ .tip { + .tip {
color: $gray-d1; color: $gray-d1;
} }
...@@ -271,6 +253,7 @@ form { ...@@ -271,6 +253,7 @@ form {
.tip { .tip {
@extend %t-copy-sub2; @extend %t-copy-sub2;
@include transition(color 0.15s ease-in-out); @include transition(color 0.15s ease-in-out);
...@@ -314,8 +297,9 @@ form { ...@@ -314,8 +297,9 @@ form {
} }
.field-inline { .field-inline {
input,
input, textarea, select { textarea,
select {
width: 62%; width: 62%;
display: inline-block; display: inline-block;
} }
...@@ -326,16 +310,11 @@ form { ...@@ -326,16 +310,11 @@ form {
width: 35%; width: 35%;
margin-top: 0; margin-top: 0;
} }
&.error {
.tip-error {
}
}
} }
.field-group { .field-group {
@include clearfix(); @include clearfix();
margin: 0 0 ($baseline/2) 0; margin: 0 0 ($baseline/2) 0;
.field { .field {
...@@ -356,7 +335,8 @@ form { ...@@ -356,7 +335,8 @@ form {
margin-right: 0; margin-right: 0;
} }
input, textarea { input,
textarea {
width: 100%; width: 100%;
} }
} }
...@@ -372,7 +352,9 @@ form { ...@@ -372,7 +352,9 @@ form {
.action { .action {
@include transition(all $tmg-f2 linear 0s); @include transition(all $tmg-f2 linear 0s);
@extend %t-strong; @extend %t-strong;
display: inline-block; display: inline-block;
padding: ($baseline/5) $baseline; padding: ($baseline/5) $baseline;
text-transform: uppercase; text-transform: uppercase;
...@@ -380,11 +362,13 @@ form { ...@@ -380,11 +362,13 @@ form {
.action-primary { .action-primary {
@include blue-button; @include blue-button;
@extend %t-action2; @extend %t-action2;
} }
.action-secondary { .action-secondary {
@include grey-button; @include grey-button;
@extend %t-action2; @extend %t-action2;
} }
} }
...@@ -395,7 +379,6 @@ form { ...@@ -395,7 +379,6 @@ form {
// form - inline xblock name edit on unit, container, outline // form - inline xblock name edit on unit, container, outline
// TODO: abstract this out into a Sass placeholder // TODO: abstract this out into a Sass placeholder
.incontext-editor.is-editable { .incontext-editor.is-editable {
.access-editor-action-wrapper { .access-editor-action-wrapper {
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
...@@ -405,17 +388,21 @@ form { ...@@ -405,17 +388,21 @@ form {
vertical-align: baseline; vertical-align: baseline;
} }
} }
.incontext-editor-value, .incontext-editor-value,
.incontext-editor-action-wrapper { .incontext-editor-action-wrapper {
@extend %cont-truncated; @extend %cont-truncated;
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
max-width: 80%; max-width: 80%;
} }
.incontext-editor-open-action, .access-button { .incontext-editor-open-action,
.access-button {
@extend %ui-btn-non-blue; @extend %ui-btn-non-blue;
@extend %t-copy-base; @extend %t-copy-base;
padding-top: ($baseline/10); padding-top: ($baseline/10);
.icon.icon { .icon.icon {
...@@ -428,7 +415,6 @@ form { ...@@ -428,7 +415,6 @@ form {
} }
&.is-editing { &.is-editing {
.incontext-editor-value, .incontext-editor-value,
.incontext-editor-action-wrapper { .incontext-editor-action-wrapper {
display: none; display: none;
...@@ -444,7 +430,7 @@ form { ...@@ -444,7 +430,7 @@ form {
// ==================== // ====================
.wrapper-create-element { .wrapper-create-element {
height: auto; height: auto;
opacity: 1.0; opacity: 1;
pointer-events: auto; pointer-events: auto;
overflow: hidden; overflow: hidden;
display: none; display: none;
...@@ -462,7 +448,9 @@ form { ...@@ -462,7 +448,9 @@ form {
// ==================== // ====================
input.search { input.search {
padding: 6px 15px 8px 30px; padding: 6px 15px 8px 30px;
@include box-sizing(border-box); @include box-sizing(border-box);
border: 1px solid $darkGrey; border: 1px solid $darkGrey;
border-radius: 20px; border-radius: 20px;
background: url('#{$static-path}/images/search-icon.png') no-repeat 8px 7px #edf1f5; background: url('#{$static-path}/images/search-icon.png') no-repeat 8px 7px #edf1f5;
...@@ -488,6 +476,7 @@ code { ...@@ -488,6 +476,7 @@ code {
.CodeMirror { .CodeMirror {
@extend %t-copy-sub1; @extend %t-copy-sub1;
background: $white; background: $white;
font-family: $f-monospace; font-family: $f-monospace;
} }
...@@ -496,9 +485,13 @@ code { ...@@ -496,9 +485,13 @@ code {
width: 100%; width: 100%;
min-height: 80px; min-height: 80px;
padding: 10px; padding: 10px;
@include box-sizing(border-box); @include box-sizing(border-box);
border: 1px solid $mediumGrey; border: 1px solid $mediumGrey;
@include linear-gradient(top, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3)); @include linear-gradient(top, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3));
background-color: #edf1f5; background-color: #edf1f5;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
font-family: Monaco, monospace; font-family: Monaco, monospace;
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
.wrapper-header { .wrapper-header {
@extend %ui-depth3; @extend %ui-depth3;
position: relative; position: relative;
width: 100%; width: 100%;
box-shadow: 0 1px 2px 0 $shadow-l1; box-shadow: 0 1px 2px 0 $shadow-l1;
...@@ -13,6 +14,7 @@ ...@@ -13,6 +14,7 @@
header.primary { header.primary {
@include box-sizing(border-box); @include box-sizing(border-box);
@include clearfix(); @include clearfix();
max-width: $fg-max-width; max-width: $fg-max-width;
min-width: $fg-min-width; min-width: $fg-min-width;
width: flex-grid(12); width: flex-grid(12);
...@@ -22,23 +24,32 @@ ...@@ -22,23 +24,32 @@
// ==================== // ====================
// basic layout // basic layout
.wrapper-l, .wrapper-r { .wrapper-l,
.wrapper-r {
background: $white; background: $white;
} }
.wrapper-l { .wrapper-l {
@include float(left); @include float(left);
width: flex-grid(7,12);
width: flex-grid(7, 12);
} }
.wrapper-r { .wrapper-r {
@include float(right); @include float(right);
width: flex-grid(4,12);
width: flex-grid(4, 12);
@include text-align(right); @include text-align(right);
} }
.branding, .info-course, .nav-course, .nav-account, .nav-pitch { .branding,
.info-course,
.nav-course,
.nav-account,
.nav-pitch {
@include box-sizing(border-box); @include box-sizing(border-box);
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
} }
...@@ -60,10 +71,10 @@ ...@@ -60,10 +71,10 @@
// basic layout - nav items // basic layout - nav items
nav { nav {
> ol > .nav-item { > ol > .nav-item {
@extend %t-action3; @extend %t-action3;
@extend %t-strong; @extend %t-strong;
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
...@@ -83,33 +94,23 @@ ...@@ -83,33 +94,23 @@
// basic layout - dropdowns // basic layout - dropdowns
.nav-dd { .nav-dd {
.title { .title {
@extend %t-action2; @extend %t-action2;
@extend %ui-btn-dd-nav-primary; @extend %ui-btn-dd-nav-primary;
@include transition(all $tmg-f2 ease-in-out 0s);
.label, .fa-caret-down { @include transition(all $tmg-f2 ease-in-out 0s);
}
.label {
}
.fa-caret-down { .fa-caret-down {
opacity: 0.25; opacity: 0.25;
} }
&:hover { &:hover {
.fa-caret-down { .fa-caret-down {
opacity: 1.0; opacity: 1;
} }
} }
.nav-sub .nav-item { .nav-sub .nav-item {
.icon { .icon {
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
...@@ -141,17 +142,20 @@ ...@@ -141,17 +142,20 @@
.info-course { .info-course {
@include margin-right(flex-gutter()); @include margin-right(flex-gutter());
@include border-right(1px solid $gray-l4); @include border-right(1px solid $gray-l4);
padding: ($baseline*0.75) flex-gutter() ($baseline*0.75) 0; padding: ($baseline*0.75) flex-gutter() ($baseline*0.75) 0;
.course-org, .course-number { .course-org,
.course-number {
@extend %t-action4; @extend %t-action4;
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
max-width: 45%; max-width: 45%;
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
opacity: 1.0; opacity: 1;
color: $gray-d3; color: $gray-d3;
} }
...@@ -162,6 +166,7 @@ ...@@ -162,6 +166,7 @@
.course-title { .course-title {
@extend %t-action2; @extend %t-action2;
@extend %t-strong; @extend %t-strong;
display: block; display: block;
width: 100%; width: 100%;
overflow: hidden; overflow: hidden;
...@@ -172,6 +177,7 @@ ...@@ -172,6 +177,7 @@
// entire link // entire link
.course-link { .course-link {
@include transition(color $tmg-f2 ease-in-out 0s); @include transition(color $tmg-f2 ease-in-out 0s);
display: block; display: block;
color: $gray-d3; color: $gray-d3;
...@@ -200,14 +206,12 @@ ...@@ -200,14 +206,12 @@
} }
.nav-account-help { .nav-account-help {
.wrapper-nav-sub { .wrapper-nav-sub {
width: ($baseline*10); width: ($baseline*10);
} }
} }
.nav-account-user { .nav-account-user {
.title { .title {
max-width: ($baseline*6.5); max-width: ($baseline*6.5);
...@@ -223,6 +227,7 @@ ...@@ -223,6 +227,7 @@
.settings-language-form { .settings-language-form {
margin-top: 4px; margin-top: 4px;
.language-selector { .language-selector {
width: 130px; width: 130px;
} }
...@@ -246,13 +251,12 @@ ...@@ -246,13 +251,12 @@
// CASE: user signed in // CASE: user signed in
.is-signedin { .is-signedin {
.wrapper-l { .wrapper-l {
width: flex-grid(8,12); width: flex-grid(8, 12);
} }
.wrapper-r { .wrapper-r {
width: flex-grid(4,12); width: flex-grid(4, 12);
} }
.branding { .branding {
...@@ -268,15 +272,13 @@ ...@@ -268,15 +272,13 @@
// CASE: in course { // CASE: in course {
.is-signedin.course { .is-signedin.course {
.wrapper-header { .wrapper-header {
.wrapper-l { .wrapper-l {
width: flex-grid(9,12); width: flex-grid(9, 12);
} }
.wrapper-r { .wrapper-r {
width: flex-grid(3,12); width: flex-grid(3, 12);
} }
.branding { .branding {
...@@ -299,15 +301,13 @@ ...@@ -299,15 +301,13 @@
// CASE: user not signed in // CASE: user not signed in
.not-signedin, .not-signedin,
.view-util { .view-util {
.wrapper-header { .wrapper-header {
.wrapper-l { .wrapper-l {
width: flex-grid(2,12); width: flex-grid(2, 12);
} }
.wrapper-r { .wrapper-r {
width: flex-grid(10,12); width: flex-grid(10, 12);
} }
.branding { .branding {
...@@ -327,16 +327,20 @@ ...@@ -327,16 +327,20 @@
.action-signup { .action-signup {
@include blue-button(); @include blue-button();
@extend %t-action3; @extend %t-action3;
@extend %t-strong; @extend %t-strong;
padding: ($baseline/4) ($baseline/2); padding: ($baseline/4) ($baseline/2);
text-transform: uppercase; text-transform: uppercase;
} }
.action-signin { .action-signin {
@include white-button(); @include white-button();
@extend %t-action3; @extend %t-action3;
@extend %t-strong; @extend %t-strong;
padding: ($baseline/4) ($baseline/2); padding: ($baseline/4) ($baseline/2);
text-transform: uppercase; text-transform: uppercase;
} }
...@@ -350,55 +354,39 @@ ...@@ -350,55 +354,39 @@
.nav-item.is-current, .nav-item.is-current,
body.howitworks .nav-not-signedin-hiw, body.howitworks .nav-not-signedin-hiw,
// dashboard
body.dashboard .nav-account-dashboard, body.dashboard .nav-account-dashboard,
// course content
body.course.view-outline .nav-course-courseware .title, body.course.view-outline .nav-course-courseware .title,
body.course.view-updates .nav-course-courseware .title, body.course.view-updates .nav-course-courseware .title,
body.course.view-static-pages .nav-course-courseware .title, body.course.view-static-pages .nav-course-courseware .title,
body.course.view-uploads .nav-course-courseware .title, body.course.view-uploads .nav-course-courseware .title,
body.course.view-textbooks .nav-course-courseware .title, body.course.view-textbooks .nav-course-courseware .title,
body.course.view-video-uploads .nav-course-courseware .title, body.course.view-video-uploads .nav-course-courseware .title,
body.course.view-outline .nav-course-courseware-outline, body.course.view-outline .nav-course-courseware-outline,
body.course.view-updates .nav-course-courseware-updates, body.course.view-updates .nav-course-courseware-updates,
body.course.view-static-pages .nav-course-courseware-pages, body.course.view-static-pages .nav-course-courseware-pages,
body.course.view-uploads .nav-course-courseware-uploads, body.course.view-uploads .nav-course-courseware-uploads,
body.course.view-textbooks .nav-course-courseware-textbooks, body.course.view-textbooks .nav-course-courseware-textbooks,
body.course.view-video-uploads .nav-course-courseware-videos, body.course.view-video-uploads .nav-course-courseware-videos,
// course settings
body.course.schedule .nav-course-settings .title, body.course.schedule .nav-course-settings .title,
body.course.grading .nav-course-settings .title, body.course.grading .nav-course-settings .title,
body.course.view-team .nav-course-settings .title, body.course.view-team .nav-course-settings .title,
body.course.view-group-configurations .nav-course-settings .title, body.course.view-group-configurations .nav-course-settings .title,
body.course.advanced .nav-course-settings .title, body.course.advanced .nav-course-settings .title,
body.course.view-certificates .nav-course-settings .title, body.course.view-certificates .nav-course-settings .title,
body.course.schedule .nav-course-settings-schedule, body.course.schedule .nav-course-settings-schedule,
body.course.grading .nav-course-settings-grading, body.course.grading .nav-course-settings-grading,
body.course.view-team .nav-course-settings-team, body.course.view-team .nav-course-settings-team,
body.course.view-group-configurations .nav-course-settings-group-configurations, body.course.view-group-configurations .nav-course-settings-group-configurations,
body.course.advanced .nav-course-settings-advanced, body.course.advanced .nav-course-settings-advanced,
body.course.view-certificates .nav-course-settings-certificates, body.course.view-certificates .nav-course-settings-certificates,
// course tools
body.course.view-import .nav-course-tools .title, body.course.view-import .nav-course-tools .title,
body.course.view-export .nav-course-tools .title, body.course.view-export .nav-course-tools .title,
body.course.view-export-git .nav-course-tools .title, body.course.view-export-git .nav-course-tools .title,
body.course.view-import .nav-course-tools-import, body.course.view-import .nav-course-tools-import,
body.course.view-export .nav-course-tools-export, body.course.view-export .nav-course-tools-export,
body.course.view-export-git .nav-course-tools-export-git, body.course.view-export-git .nav-course-tools-export-git,
// content library settings
body.course.view-team .nav-library-settings .title, body.course.view-team .nav-library-settings .title,
body.course.view-team .nav-library-settings-team {
body.course.view-team .nav-library-settings-team,
{
color: $uxpl-blue-base; color: $uxpl-blue-base;
a { a {
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
.icon-inline { .icon-inline {
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
@include margin-right($baseline/4); @include margin-right($baseline/4);
} }
...@@ -14,13 +15,16 @@ ...@@ -14,13 +15,16 @@
.wrapper-ui-badge { .wrapper-ui-badge {
position: absolute; position: absolute;
top: -1px; top: -1px;
@include left($baseline*1.5); @include left($baseline*1.5);
width: 100%; width: 100%;
} }
%ui-badge { %ui-badge {
@extend %t-title9; @extend %t-title9;
@extend %t-strong; @extend %t-strong;
position: relative; position: relative;
border-bottom-right-radius: ($baseline/10); border-bottom-right-radius: ($baseline/10);
border-bottom-left-radius: ($baseline/10); border-bottom-left-radius: ($baseline/10);
...@@ -34,10 +38,12 @@ ...@@ -34,10 +38,12 @@
// OPTION: add this class for a visual hanging display // OPTION: add this class for a visual hanging display
&.is-hanging { &.is-hanging {
@include box-sizing(border-box); @include box-sizing(border-box);
@extend %ui-depth2; @extend %ui-depth2;
top: -($baseline/4); top: -($baseline/4);
&:after { &::after {
position: absolute; position: absolute;
top: 0; top: 0;
right: -($baseline/4); right: -($baseline/4);
......
// studio - elements - layouts // studio - elements - layouts
// ==================== // ====================
// layout - basic
// the wrapper around the viewable page area, excluding modal and other extra-view content
.wrapper-view {
}
// ==================== // ====================
// layout - basic page header // layout - basic page header
...@@ -18,6 +12,7 @@ ...@@ -18,6 +12,7 @@
.mast, .mast,
.metadata { .metadata {
@include clearfix(); @include clearfix();
position: relative; position: relative;
max-width: $fg-max-width; max-width: $fg-max-width;
min-width: $fg-min-width; min-width: $fg-min-width;
...@@ -41,20 +36,26 @@ ...@@ -41,20 +36,26 @@
.page-header { .page-header {
@include float(left); @include float(left);
width: flex-grid(6,12);
width: flex-grid(6, 12);
@include margin-right(flex-gutter()); @include margin-right(flex-gutter());
} }
.nav-actions { .nav-actions {
position: relative; position: relative;
bottom: -($baseline*0.75); bottom: -($baseline*0.75);
@include float(right); @include float(right);
width: flex-grid(6,12);
width: flex-grid(6, 12);
@include text-align(right); @include text-align(right);
.nav-item { .nav-item {
display: inline-block; display: inline-block;
vertical-align: top; vertical-align: top;
@include margin-right(($baseline/2)); @include margin-right(($baseline/2));
&:last-child { &:last-child {
...@@ -89,7 +90,6 @@ ...@@ -89,7 +90,6 @@
// layout with actions // layout with actions
&.has-subtitle { &.has-subtitle {
.nav-actions { .nav-actions {
bottom: -($baseline*1.5); bottom: -($baseline*1.5);
} }
...@@ -97,13 +97,13 @@ ...@@ -97,13 +97,13 @@
// layout with breadcrumb navigation // layout with breadcrumb navigation
&.has-navigation { &.has-navigation {
.nav-actions { .nav-actions {
bottom: -($baseline*1.5); bottom: -($baseline*1.5);
} }
.navigation-item { .navigation-item {
@extend %cont-truncated; @extend %cont-truncated;
display: inline-block; display: inline-block;
vertical-align: bottom; // correct for extra padding in FF vertical-align: bottom; // correct for extra padding in FF
max-width: 250px; max-width: 250px;
...@@ -111,10 +111,11 @@ ...@@ -111,10 +111,11 @@
&.navigation-current { &.navigation-current {
@extend %ui-disabled; @extend %ui-disabled;
color: $gray; color: $gray;
max-width: 250px; max-width: 250px;
&:before { &::before {
color: $gray; color: $gray;
} }
} }
...@@ -124,7 +125,7 @@ ...@@ -124,7 +125,7 @@
color: $blue; color: $blue;
} }
.navigation-item:before { .navigation-item::before {
content: " / "; content: " / ";
margin: ($baseline/4); margin: ($baseline/4);
color: $gray; color: $gray;
...@@ -134,7 +135,7 @@ ...@@ -134,7 +135,7 @@
} }
} }
.navigation .navigation-item:first-child:before { .navigation .navigation-item:first-child::before {
content: ""; content: "";
margin: 0; margin: 0;
} }
...@@ -143,28 +144,24 @@ ...@@ -143,28 +144,24 @@
// CASE: wizard-based mast // CASE: wizard-based mast
.mast-wizard { .mast-wizard {
.page-header-sub { .page-header-sub {
@extend %t-title4; @extend %t-title4;
color: $gray; color: $gray;
font-weight: 300; font-weight: 300;
} }
.page-header-super { .page-header-super {
@extend %t-title4; @extend %t-title4;
float: left; float: left;
width: flex-grid(12,12); width: flex-grid(12, 12);
margin-top: ($baseline/2); margin-top: ($baseline/2);
border-top: 1px solid $gray-l4; border-top: 1px solid $gray-l4;
padding-top: ($baseline/2); padding-top: ($baseline/2);
font-weight: 600; font-weight: 600;
} }
} }
// page metadata/action bar
.metadata {
}
} }
// layout - basic page content // layout - basic page content
...@@ -176,7 +173,9 @@ ...@@ -176,7 +173,9 @@
.content { .content {
@include clearfix(); @include clearfix();
@extend %t-copy-base; @extend %t-copy-base;
max-width: $fg-max-width; max-width: $fg-max-width;
min-width: $fg-min-width; min-width: $fg-min-width;
width: flex-grid(12); width: flex-grid(12);
...@@ -191,6 +190,7 @@ ...@@ -191,6 +190,7 @@
.title-sub { .title-sub {
@extend %t-copy-sub1; @extend %t-copy-sub1;
display: block; display: block;
margin: 0; margin: 0;
color: $gray-l2; color: $gray-l2;
...@@ -199,6 +199,7 @@ ...@@ -199,6 +199,7 @@
.title-1 { .title-1 {
@extend %t-title3; @extend %t-title3;
@extend %t-strong; @extend %t-strong;
margin: 0; margin: 0;
padding: 0; padding: 0;
color: $gray-d3; color: $gray-d3;
...@@ -216,7 +217,8 @@ ...@@ -216,7 +217,8 @@
.content-primary { .content-primary {
@include float(left); @include float(left);
@include margin-right(flex-gutter()); @include margin-right(flex-gutter());
width: flex-grid(9,12);
width: flex-grid(9, 12);
box-shadow: none; box-shadow: none;
border: 0; border: 0;
background-color: $white; background-color: $white;
...@@ -224,25 +226,27 @@ ...@@ -224,25 +226,27 @@
.content-supplementary { .content-supplementary {
@include float(left); @include float(left);
width: flex-grid(3,12);
width: flex-grid(3, 12);
} }
} }
// layout - primary content // layout - primary content
.content-primary { .content-primary {
.title-1 { .title-1 {
@extend %t-title3; @extend %t-title3;
} }
.title-2 { .title-2 {
@extend %t-title4; @extend %t-title4;
margin: 0 0 ($baseline/2) 0; margin: 0 0 ($baseline/2) 0;
} }
.title-3 { .title-3 {
@extend %t-title6; @extend %t-title6;
margin: 0 0 ($baseline/2) 0; margin: 0 0 ($baseline/2) 0;
} }
...@@ -257,6 +261,7 @@ ...@@ -257,6 +261,7 @@
.tip { .tip {
@extend %t-copy-sub2; @extend %t-copy-sub2;
width: flex-grid(7, 12); width: flex-grid(7, 12);
float: right; float: right;
margin-top: ($baseline/2); margin-top: ($baseline/2);
...@@ -268,7 +273,6 @@ ...@@ -268,7 +273,6 @@
// layout - supplemental content // layout - supplemental content
.content-supplementary { .content-supplementary {
> section { > section {
margin: 0 0 $baseline 0; margin: 0 0 $baseline 0;
} }
...@@ -284,6 +288,7 @@ ...@@ -284,6 +288,7 @@
.inner-wrapper { .inner-wrapper {
@include clearfix(); @include clearfix();
position: relative; position: relative;
max-width: 1280px; max-width: 1280px;
margin: auto; margin: auto;
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
.modal-cover { .modal-cover {
@extend %ui-depth3; @extend %ui-depth3;
display: none; display: none;
position: fixed; position: fixed;
top: 0; top: 0;
...@@ -14,6 +15,7 @@ ...@@ -14,6 +15,7 @@
.modal { .modal {
@extend %ui-depth4; @extend %ui-depth4;
display: none; display: none;
position: fixed; position: fixed;
top: 60px; top: 60px;
...@@ -31,13 +33,16 @@ ...@@ -31,13 +33,16 @@
.modal-actions { .modal-actions {
height: 60px; height: 60px;
@include linear-gradient(top, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0)); @include linear-gradient(top, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
background-color: #d1dae3; background-color: #d1dae3;
} }
h2 { h2 {
@extend %t-title5; @extend %t-title5;
@extend %t-light; @extend %t-light;
margin: 0 ($baseline/2) ($baseline*1.5); margin: 0 ($baseline/2) ($baseline*1.5);
color: #646464; color: #646464;
letter-spacing: 1px; letter-spacing: 1px;
...@@ -50,11 +55,13 @@ ...@@ -50,11 +55,13 @@
.revert-button { .revert-button {
@include blue-button; @include blue-button;
margin: 13px 6px 0 13px; margin: 13px 6px 0 13px;
} }
.close-button { .close-button {
@include white-button; @include white-button;
margin-top: 13px; margin-top: 13px;
} }
} }
...@@ -62,9 +69,10 @@ ...@@ -62,9 +69,10 @@
// lean modal alternative // lean modal alternative
#lean_overlay { #lean_overlay {
@extend %ui-depth4; @extend %ui-depth4;
position: fixed; position: fixed;
top: 0px; top: 0;
left: 0px; left: 0;
display: none; display: none;
height: 100%; height: 100%;
width: 100%; width: 100%;
......
...@@ -3,17 +3,10 @@ ...@@ -3,17 +3,10 @@
// common // common
nav { nav {
ol,
ol, ul { ul {
@extend %cont-no-list; @extend %cont-no-list;
} }
.nav-item {
a {
}
}
} }
// ==================== // ====================
...@@ -26,9 +19,10 @@ nav { ...@@ -26,9 +19,10 @@ nav {
.nav-skip, .nav-skip,
.transcript-skip { .transcript-skip {
@include font-size(13); @include font-size(13);
display: inline-block; display: inline-block;
position: absolute; position: absolute;
left: 0px; left: 0;
top: -($baseline*30); top: -($baseline*30);
overflow: hidden; overflow: hidden;
background: $white; background: $white;
...@@ -49,16 +43,16 @@ nav { ...@@ -49,16 +43,16 @@ nav {
// dropdown // dropdown
.nav-dd { .nav-dd {
.title { .title {
.label,
.label, .fa-caret-down { .fa-caret-down {
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
} }
.ui-toggle-dd { .ui-toggle-dd {
@include transition(all $tmg-f2 ease-in-out 0s); @include transition(all $tmg-f2 ease-in-out 0s);
margin: 0; margin: 0;
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
...@@ -66,7 +60,6 @@ nav { ...@@ -66,7 +60,6 @@ nav {
// dropped down state // dropped down state
&.is-selected { &.is-selected {
.ui-toggle-dd { .ui-toggle-dd {
@include transform(rotate(-180deg)); @include transform(rotate(-180deg));
@include transform-origin(50% 50%); @include transform-origin(50% 50%);
...@@ -77,10 +70,6 @@ nav { ...@@ -77,10 +70,6 @@ nav {
.nav-item { .nav-item {
position: relative; position: relative;
&:hover {
}
&.nav-course-settings { &.nav-course-settings {
.wrapper-nav-sub { .wrapper-nav-sub {
width: ($baseline*9); width: ($baseline*9);
...@@ -90,9 +79,10 @@ nav { ...@@ -90,9 +79,10 @@ nav {
.wrapper-nav-sub { .wrapper-nav-sub {
@include transition(opacity $tmg-f2 ease-in-out 0s); @include transition(opacity $tmg-f2 ease-in-out 0s);
position: absolute; position: absolute;
top: ($baseline*2.5); top: ($baseline*2.5);
opacity: 0.0; opacity: 0;
pointer-events: none; pointer-events: none;
width: ($baseline*8); width: ($baseline*8);
overflow: hidden; overflow: hidden;
...@@ -101,7 +91,7 @@ nav { ...@@ -101,7 +91,7 @@ nav {
// dropped down state // dropped down state
&.is-shown { &.is-shown {
opacity: 1.0; opacity: 1;
pointer-events: auto; pointer-events: auto;
overflow: visible; overflow: visible;
height: auto; height: auto;
...@@ -110,7 +100,9 @@ nav { ...@@ -110,7 +100,9 @@ nav {
.nav-sub { .nav-sub {
border-radius: 2px; border-radius: 2px;
@include box-sizing(border-box); @include box-sizing(border-box);
box-shadow: 0 1px 1px $shadow-l1; box-shadow: 0 1px 1px $shadow-l1;
position: relative; position: relative;
width: 100%; width: 100%;
...@@ -118,7 +110,8 @@ nav { ...@@ -118,7 +110,8 @@ nav {
padding: ($baseline/2) ($baseline*0.75); padding: ($baseline/2) ($baseline*0.75);
background: $white; background: $white;
&:after, &:before { &::after,
&::before {
bottom: 100%; bottom: 100%;
border: solid transparent; border: solid transparent;
content: " "; content: " ";
...@@ -129,13 +122,13 @@ nav { ...@@ -129,13 +122,13 @@ nav {
} }
// ui triangle/nub // ui triangle/nub
&:after { &::after {
border-color: rgba(255, 255, 255, 0); border-color: rgba(255, 255, 255, 0);
border-bottom-color: $white; border-bottom-color: $white;
border-width: 10px; border-width: 10px;
} }
&:before { &::before {
border-color: rgba(178, 178, 178, 0); border-color: rgba(178, 178, 178, 0);
border-bottom-color: $gray-l3; border-bottom-color: $gray-l3;
border-width: 11px; border-width: 11px;
...@@ -144,6 +137,7 @@ nav { ...@@ -144,6 +137,7 @@ nav {
.nav-item { .nav-item {
@extend %t-action3; @extend %t-action3;
@extend %t-regular; @extend %t-regular;
display: block; display: block;
margin: 0 0 ($baseline/4) 0; margin: 0 0 ($baseline/4) 0;
border-bottom: 1px solid $gray-l5; border-bottom: 1px solid $gray-l5;
...@@ -158,7 +152,8 @@ nav { ...@@ -158,7 +152,8 @@ nav {
a { a {
display: block; display: block;
&:hover, &:active { &:hover,
&:active {
color: $uxpl-blue-base; color: $uxpl-blue-base;
} }
} }
...@@ -167,7 +162,6 @@ nav { ...@@ -167,7 +162,6 @@ nav {
// CASE: left-hand side arrow/dd // CASE: left-hand side arrow/dd
&.ui-left { &.ui-left {
.wrapper-nav-sub { .wrapper-nav-sub {
left: 0; left: 0;
} }
...@@ -176,12 +170,12 @@ nav { ...@@ -176,12 +170,12 @@ nav {
@include text-align(left); @include text-align(left);
// ui triangle/nub // ui triangle/nub
&:after { &::after {
left: $baseline; left: $baseline;
margin-left: -10px; margin-left: -10px;
} }
&:before { &::before {
left: $baseline; left: $baseline;
margin-left: -11px; margin-left: -11px;
} }
...@@ -190,7 +184,6 @@ nav { ...@@ -190,7 +184,6 @@ nav {
// CASE: right-hand side arrow/dd // CASE: right-hand side arrow/dd
&.ui-right { &.ui-right {
.wrapper-nav-sub { .wrapper-nav-sub {
@include left(none); @include left(none);
@include right(0); @include right(0);
...@@ -199,13 +192,15 @@ nav { ...@@ -199,13 +192,15 @@ nav {
.nav-sub { .nav-sub {
// ui triangle/nub // ui triangle/nub
&:after { &::after {
@include right($baseline); @include right($baseline);
margin-right: -10px; margin-right: -10px;
} }
&:before { &::before {
@include right($baseline); @include right($baseline);
margin-right: -11px; margin-right: -11px;
} }
} }
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
%pagination { %pagination {
@include clearfix(); @include clearfix();
display: inline-block; display: inline-block;
width: flex-grid(3, 12); width: flex-grid(3, 12);
...@@ -24,6 +25,7 @@ ...@@ -24,6 +25,7 @@
.nav-link { .nav-link {
@include transition(all $tmg-f2 ease-in-out 0s); @include transition(all $tmg-f2 ease-in-out 0s);
display: block; display: block;
border: 0; border: 0;
padding: ($baseline/4) ($baseline*0.75); padding: ($baseline/4) ($baseline*0.75);
...@@ -65,6 +67,7 @@ ...@@ -65,6 +67,7 @@
.total-pages { .total-pages {
@extend %t-copy-base; @extend %t-copy-base;
@extend %t-strong; @extend %t-strong;
width: ($baseline*2.5); width: ($baseline*2.5);
margin: 0 ($baseline*0.75); margin: 0 ($baseline*0.75);
padding: ($baseline/4); padding: ($baseline/4);
...@@ -74,19 +77,23 @@ ...@@ -74,19 +77,23 @@
.current-page { .current-page {
@extend %ui-depth1; @extend %ui-depth1;
position: absolute; position: absolute;
@include left(-($baseline/4)); @include left(-($baseline/4));
} }
.page-divider { .page-divider {
@extend %t-title4; @extend %t-title4;
@extend %t-regular; @extend %t-regular;
vertical-align: middle; vertical-align: middle;
color: $gray; color: $gray;
} }
.pagination-form { .pagination-form {
@extend %ui-depth2; @extend %ui-depth2;
position: relative; position: relative;
.page-number-label, .page-number-label,
...@@ -96,6 +103,7 @@ ...@@ -96,6 +103,7 @@
.page-number-input { .page-number-input {
@include transition(all $tmg-f2 ease-in-out 0s); @include transition(all $tmg-f2 ease-in-out 0s);
border: 1px solid transparent; border: 1px solid transparent;
border-bottom: 1px dotted $gray-l2; border-bottom: 1px dotted $gray-l2;
border-radius: 0; border-radius: 0;
...@@ -110,7 +118,8 @@ ...@@ -110,7 +118,8 @@
&:focus { &:focus {
// borrowing the base input focus styles to match overall app // borrowing the base input focus styles to match overall app
@include linear-gradient($paleYellow, tint($paleYellow, 90%)); @include linear-gradient($paleYellow, tint($paleYellow, 90%));
opacity: 1.0;
opacity: 1;
box-shadow: 0 0 3px $shadow-d1 inset; box-shadow: 0 0 3px $shadow-d1 inset;
background-color: $white; background-color: $white;
border: 1px solid transparent; border: 1px solid transparent;
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
.wrapper-sock { .wrapper-sock {
@include clearfix(); @include clearfix();
position: relative; position: relative;
margin: ($baseline*2) 0 0 0; margin: ($baseline*2) 0 0 0;
border-top: 1px solid $gray-l4; border-top: 1px solid $gray-l4;
...@@ -10,7 +11,9 @@ ...@@ -10,7 +11,9 @@
.wrapper-inner { .wrapper-inner {
@include linear-gradient($gray-d3 0%, $gray-d3 98%, $black 100%); @include linear-gradient($gray-d3 0%, $gray-d3 98%, $black 100%);
@extend %ui-depth0; @extend %ui-depth0;
display: none; display: none;
width: 100% !important; width: 100% !important;
border-bottom: 1px solid $white; border-bottom: 1px solid $white;
...@@ -20,6 +23,7 @@ ...@@ -20,6 +23,7 @@
// sock - actions // sock - actions
.list-cta { .list-cta {
@extend %ui-depth1; @extend %ui-depth1;
position: absolute; position: absolute;
top: -($baseline*0.75); top: -($baseline*0.75);
width: 100%; width: 100%;
...@@ -29,12 +33,14 @@ ...@@ -29,12 +33,14 @@
.cta-show-sock { .cta-show-sock {
@extend %ui-btn-pill; @extend %ui-btn-pill;
@extend %t-action4; @extend %t-action4;
background: $gray-l5; background: $gray-l5;
padding: ($baseline/2) $baseline; padding: ($baseline/2) $baseline;
color: $gray-d2; color: $gray-d2;
.icon { .icon {
@extend %t-icon6; @extend %t-icon6;
@include margin-right($baseline/4); @include margin-right($baseline/4);
} }
...@@ -48,7 +54,9 @@ ...@@ -48,7 +54,9 @@
// sock - additional help // sock - additional help
.sock { .sock {
@include clearfix(); @include clearfix();
@extend %t-copy-sub2; @extend %t-copy-sub2;
max-width: $fg-max-width; max-width: $fg-max-width;
min-width: $fg-min-width; min-width: $fg-min-width;
width: flex-grid(12); width: flex-grid(12);
...@@ -58,25 +66,26 @@ ...@@ -58,25 +66,26 @@
// support body // support body
header { header {
.title { .title {
@extend %t-title4; @extend %t-title4;
} }
} }
// shared elements // shared elements
.support, .feedback { .support,
.feedback {
@include box-sizing(border-box); @include box-sizing(border-box);
.title { .title {
@extend %t-title6; @extend %t-title6;
color: $white; color: $white;
margin-bottom: ($baseline/2); margin-bottom: ($baseline/2);
} }
.copy { .copy {
@extend %t-copy-sub2; @extend %t-copy-sub2;
margin: 0 0 $baseline 0; margin: 0 0 $baseline 0;
} }
...@@ -86,6 +95,7 @@ ...@@ -86,6 +95,7 @@
.action-item { .action-item {
@include float(left); @include float(left);
@include margin-right($baseline/2); @include margin-right($baseline/2);
margin-bottom: ($baseline/2); margin-bottom: ($baseline/2);
&:last-child { &:last-child {
...@@ -94,16 +104,15 @@ ...@@ -94,16 +104,15 @@
.action { .action {
@extend %t-action4; @extend %t-action4;
display: block; display: block;
.icon { .icon {
@extend %t-icon4; @extend %t-icon4;
vertical-align: middle;
@include margin-right($baseline/4);
}
&:hover, &:active { vertical-align: middle;
@include margin-right($baseline/4);
} }
} }
...@@ -121,22 +130,22 @@ ...@@ -121,22 +130,22 @@
// studio support content // studio support content
.support { .support {
width: flex-grid(8,12); width: flex-grid(8, 12);
float: left; float: left;
margin-right: flex-gutter(); margin-right: flex-gutter();
.action-item { .action-item {
width: flexgrid(4,8); width: flexgrid(4, 8);
} }
} }
// studio feedback content // studio feedback content
.feedback { .feedback {
width: flex-grid(4,12); width: flex-grid(4, 12);
float: left; float: left;
.action-item { .action-item {
width: flexgrid(4,4); width: flexgrid(4, 4);
} }
} }
} }
......
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