Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 0 additions & 76 deletions cms/static/sass/_developer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,79 +8,3 @@
// }

// --------------------

//.wrapper-xblock-header {

.view-outline,
.view-container {

.add-xblock-component {
text-align: center;

.add-button {
padding: 5px 10px;
background-color: $blue;
color: $white;
text-align: center;
}
}

.draggable-drop-indicator {
left: 0;
}

.nav-actions {
.collapse-all {
.expand-all {
display: none;
}
}

.expand-all {
.collapse-all {
display: none;
}
}
}

.outline-item {
padding: 6px 8px 8px 16px;
text-wrap: avoid;
border: 1px solid $gray;
margin: 5px;
background-color: $white;

.wrapper-xblock-header-secondary {
padding: 0px 8px 0px 26px;

.meta-info {
font-size: 12px;
}
}

.xblock-title {
width: 100%;
}

.actions-list {
.action-item {
display: inline-block;
}
}
}

.outline-item.collapsed {
.sortable-list,
.add-xblock-component {
display: none;
}
}

.item-actions {
.configure-button {
float: left;
margin-right: 13px;
color: #a4aab7;
}
}
}
14 changes: 14 additions & 0 deletions cms/static/sass/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ $gray-d3: shade($gray,60%);
$gray-d4: shade($gray,80%);

$blue: rgb(0, 159, 230);
$blue-alt: rgb(88, 152, 219);
$blue-l1: tint($blue,20%);
$blue-l2: tint($blue,40%);
$blue-l3: tint($blue,60%);
Expand Down Expand Up @@ -104,6 +105,7 @@ $red-u2: desaturate($red,30%);
$red-u3: desaturate($red,45%);

$green: rgb(37, 184, 90);
$green-alt: rgb(48, 183, 94);
$green-l1: tint($green,20%);
$green-l2: tint($green,40%);
$green-l3: tint($green,60%);
Expand Down Expand Up @@ -160,6 +162,18 @@ $shadow-l2: rgba($black, 0.05);
$shadow-d1: rgba($black, 0.4);
$shadow-d2: rgba($black, 0.6);

// colors - application
$color-draft: $gray-l3;
$color-released: $blue-alt;
$color-published: $green-alt;
$color-warning: $orange;
$color-error: $red;
$color-staff-only: $gray-d3;
$color-heading-base: $gray-d2;
$color-copy-base: $gray-l1;



// ====================

// timing - used for animation/transition mixin syncing
Expand Down
15 changes: 15 additions & 0 deletions cms/static/sass/elements/_modules.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// Patterns for pieces of content - modules - used throughout the app

// basic gray module with a strong top border and title, with related content box attached
// --------------------
%bar-module {
margin-bottom: $baseline;
border-top: 5px solid $gray-l1;
Expand Down Expand Up @@ -31,6 +32,7 @@
}

// blue bar and title bg version
// --------------------
%bar-module-blue {
@extend %bar-module;
border-top: 5px solid $blue;
Expand All @@ -42,6 +44,7 @@


// green bar and title bg version
// --------------------
%bar-module-green {
@extend %bar-module;
border-top: 5px solid $green;
Expand All @@ -53,6 +56,7 @@


// yellow bar and title bg version
// --------------------
%bar-module-yellow {
@extend %bar-module;
border-top: 5px solid $orange-l2;
Expand All @@ -65,6 +69,7 @@


// red bar and title bg version
// --------------------
%bar-module-red {
@extend %bar-module;
border-top: 5px solid $red-l2;
Expand All @@ -76,6 +81,7 @@

// Add new component menu with big green buttons
// outermost wrapper for add a new component menu
// --------------------
.add-xblock-component {
margin: $baseline ($baseline/2);
border: 1px solid $gray-l3;
Expand Down Expand Up @@ -134,6 +140,7 @@

// outer most wrapper div for scroll up component picker menus
// swaps in when a green button is clicked
// --------------------
.new-component-templates {
@include clearfix;
display: none;
Expand Down Expand Up @@ -163,6 +170,7 @@
}

// individual menus
// --------------------
.new-component-template {
@include clearfix;

Expand Down Expand Up @@ -195,6 +203,7 @@
}

// basic and advanced problem tabs - also handled by jquery-ui tabs
// --------------------
.problem-type-tabs {
@include linear-gradient(top, rgba(255, 255, 255, .4), rgba(255, 255, 255, 0));
list-style-type: none;
Expand Down Expand Up @@ -240,4 +249,10 @@
}
}

// outline UI
// --------------------
.outline {

}


17 changes: 17 additions & 0 deletions cms/static/sass/elements/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,23 @@

// Scale - (6, 7, 8, 9, 10, 11, 12, 14, 16, 18, 21, 24, 36, 48, 60, 72)

// weights
%t-ultrastrong {
font-weight: 800;
}
%t-strong {
font-weight: 600;
}
%t-regular {
font-weight: 400;
}
%t-light {
font-weight: 300;
}
%t-ultralight {
font-weight: 200;
}

// headings/titles
%t-title {
font-family: $f-sans-serif;
Expand Down
Loading