Commit cc1dd65e by Victor Shnayder

Merge branch 'master' of github.com:MITx/mitx

parents 5f612c78 2f2a4cc6
...@@ -12,7 +12,6 @@ $bright-blue: #3c8ebf; ...@@ -12,7 +12,6 @@ $bright-blue: #3c8ebf;
$orange: #f96e5b; $orange: #f96e5b;
$yellow: #fff8af; $yellow: #fff8af;
$cream: #F6EFD4; $cream: #F6EFD4;
$mit-red: #933;
$border-color: #ddd; $border-color: #ddd;
@mixin hide-text { @mixin hide-text {
......
...@@ -270,4 +270,10 @@ section.problem { ...@@ -270,4 +270,10 @@ section.problem {
border: 1px solid #ccc; border: 1px solid #ccc;
padding: lh(); padding: lh();
} }
section.action {
input.save {
@extend .blue-button;
}
}
} }
...@@ -305,11 +305,11 @@ div.video { ...@@ -305,11 +305,11 @@ div.video {
@include box-shadow(0 1px 0 #333); @include box-shadow(0 1px 0 #333);
a.ui-slider-handle { a.ui-slider-handle {
background: $mit-red url(../images/slider-handle.png) center center no-repeat; background: $pink url(../images/slider-handle.png) center center no-repeat;
@include background-size(50%); @include background-size(50%);
border: 1px solid darken($mit-red, 20%); border: 1px solid darken($pink, 20%);
@include border-radius(15px); @include border-radius(15px);
@include box-shadow(inset 0 1px 0 lighten($mit-red, 10%)); @include box-shadow(inset 0 1px 0 lighten($pink, 10%));
cursor: pointer; cursor: pointer;
height: 15px; height: 15px;
left: -6px; left: -6px;
...@@ -408,6 +408,7 @@ div.video { ...@@ -408,6 +408,7 @@ div.video {
cursor: pointer; cursor: pointer;
margin-bottom: 8px; margin-bottom: 8px;
padding: 0; padding: 0;
line-height: lh();
&.current { &.current {
color: #333; color: #333;
...@@ -415,7 +416,7 @@ div.video { ...@@ -415,7 +416,7 @@ div.video {
} }
&:hover { &:hover {
color: $mit-red; color: $blue;
} }
&:empty { &:empty {
......
...@@ -27,5 +27,4 @@ $border-color: #C8C8C8; ...@@ -27,5 +27,4 @@ $border-color: #C8C8C8;
$light-gray: #ddd; $light-gray: #ddd;
$dark-gray: #333; $dark-gray: #333;
$mit-red: #993333;
$text-color: $dark-gray; $text-color: $dark-gray;
...@@ -53,6 +53,11 @@ input[type="password"] { ...@@ -53,6 +53,11 @@ input[type="password"] {
} }
} }
label {
font-weight: normal;
font-style: normal;
}
input[type="reset"], input[type="reset"],
input[type="submit"], input[type="submit"],
input[type="button"], input[type="button"],
......
...@@ -148,7 +148,7 @@ div.course-wrapper { ...@@ -148,7 +148,7 @@ div.course-wrapper {
a.ui-slider-handle { a.ui-slider-handle {
@include box-shadow(inset 0 1px 0 lighten($pink, 10%)); @include box-shadow(inset 0 1px 0 lighten($pink, 10%));
background: $mit-red url(../images/slider-bars.png) center center no-repeat; background: $pink url(../images/slider-bars.png) center center no-repeat;
border: 1px solid darken($pink, 20%); border: 1px solid darken($pink, 20%);
cursor: pointer; cursor: pointer;
......
...@@ -91,7 +91,7 @@ div.answer-block { ...@@ -91,7 +91,7 @@ div.answer-block {
div.deleted { div.deleted {
p { p {
color: $mit-red; color: $pink;
} }
} }
...@@ -113,7 +113,7 @@ div.paginator { ...@@ -113,7 +113,7 @@ div.paginator {
&.curr { &.curr {
background: none; background: none;
color: $mit-red; color: $pink;
font-weight: bold; font-weight: bold;
} }
......
...@@ -76,6 +76,6 @@ body.askbot { ...@@ -76,6 +76,6 @@ body.askbot {
} }
.acSelect { .acSelect {
background-color: $mit-red; background-color: $pink;
color: #fff; color: #fff;
} }
...@@ -16,6 +16,18 @@ form.answer-form { ...@@ -16,6 +16,18 @@ form.answer-form {
margin-top: 15px; margin-top: 15px;
resize: vertical; resize: vertical;
width: 99%; width: 99%;
&#editor {
min-height: em(120);
}
}
div.checkbox {
margin-bottom: lh();
label {
display: inline;
}
} }
div.form-item { div.form-item {
...@@ -97,7 +109,7 @@ form.answer-form { ...@@ -97,7 +109,7 @@ form.answer-form {
margin-left: 2.5%; margin-left: 2.5%;
padding-left: 1.5%; padding-left: 1.5%;
border-left: 1px dashed #ddd; border-left: 1px dashed #ddd;
color: $mit-red; color: $pink;
} }
ul, ol, pre { ul, ol, pre {
...@@ -141,32 +153,32 @@ form.question-form { ...@@ -141,32 +153,32 @@ form.question-form {
} }
div#question-list { div#question-list {
background-color: rgba(255,255,255,0.95); background-color: rgba(255,255,255,0.95);
@include box-sizing(border-box); @include box-sizing(border-box);
margin-top: -15px; margin-top: -15px;
max-width: 505px; max-width: 505px;
min-width: 300px; min-width: 300px;
overflow: hidden; overflow: hidden;
padding-left: 5px; padding-left: 5px;
position: absolute; position: absolute;
width: 35%; width: 35%;
z-index: 9999; z-index: 9999;
h2 { h2 {
text-transform: none; text-transform: none;
padding: 8px 0; padding: 8px 0;
border-bottom: 1px solid #eee; border-bottom: 1px solid #eee;
margin: 0; margin: 0;
span { span {
background: #eee; background: #eee;
color: #555; color: #555;
padding: 2px 5px; padding: 2px 5px;
@include border-radius(2px); @include border-radius(2px);
margin-right: 5px; margin-right: 5px;
}
} }
} }
} }
}
// Style for modal boxes that pop up to notify the user of various events // Style for modal boxes that pop up to notify the user of various events
.vote-notification { .vote-notification {
background-color: darken($mit-red, 7%); background-color: darken(#666, 7%);
@include border-radius(4px); @include border-radius(4px);
@include box-shadow(0px 2px 9px #aaa); @include box-shadow(0px 2px 9px #aaa);
color: white; color: white;
...@@ -14,12 +14,12 @@ ...@@ -14,12 +14,12 @@
z-index: 1; z-index: 1;
h3 { h3 {
background: $mit-red; background: #666;
padding: 10px 10px 10px 10px; padding: 10px 10px 10px 10px;
font-size: 13px; font-size: 13px;
margin-bottom: 5px; margin-bottom: 5px;
border-bottom: darken(#8e0000, 10%) 1px solid; border-bottom: darken(#666, 10%) 1px solid;
@include box-shadow(0 1px 0 lighten($mit-red, 10%)); @include box-shadow(0 1px 0 lighten(#666, 10%));
color: #fff; color: #fff;
font-weight: normal; font-weight: normal;
@include border-radius(4px 4px 0 0); @include border-radius(4px 4px 0 0);
......
...@@ -4,7 +4,7 @@ div.question-header { ...@@ -4,7 +4,7 @@ div.question-header {
@include clearfix(); @include clearfix();
div.official-stamp { div.official-stamp {
background: $mit-red; background: $pink;
color: #fff; color: #fff;
font-size: 12px; font-size: 12px;
margin-left: -1px; margin-left: -1px;
...@@ -120,7 +120,7 @@ div.question-header { ...@@ -120,7 +120,7 @@ div.question-header {
margin-left: 2.5%; margin-left: 2.5%;
padding-left: 1.5%; padding-left: 1.5%;
border-left: 1px dashed #ddd; border-left: 1px dashed #ddd;
color: $mit-red;; color: $pink;
} }
ul, ol, pre { ul, ol, pre {
...@@ -217,13 +217,13 @@ div.question-header { ...@@ -217,13 +217,13 @@ div.question-header {
form.post-comments { form.post-comments {
padding: 15px; padding: 15px;
button { button:first-of-type {
color: #fff; @extend .blue-button;
} }
button:last-child { button:last-child {
margin-left: 10px; margin-left: 10px;
@extend .light-button; float: right;
} }
} }
...@@ -352,7 +352,7 @@ div.question-header { ...@@ -352,7 +352,7 @@ div.question-header {
} }
div.question-status { div.question-status {
background: $mit-red; background: $pink;
clear:both; clear:both;
color: #fff; color: #fff;
display: block; display: block;
......
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