Commit e157173c by marco

styling adjustments to codemirror and wrapped polyfill into a function

parent b9fc3f9e
...@@ -27,6 +27,8 @@ class CMS.Views.ModuleEdit extends Backbone.View ...@@ -27,6 +27,8 @@ class CMS.Views.ModuleEdit extends Backbone.View
el: metadataEditor, el: metadataEditor,
model: new CMS.Models.MetadataEditor(metadataEditor.data('metadata')) model: new CMS.Models.MetadataEditor(metadataEditor.data('metadata'))
}); });
# Checks for number input fields and adds polyfill
#triggerNumberPolyfill()
changedMetadata: -> changedMetadata: ->
return @metadataEditor.getModifiedMetadataValues() return @metadataEditor.getModifiedMetadataValues()
......
...@@ -234,7 +234,7 @@ body.course.unit { ...@@ -234,7 +234,7 @@ body.course.unit {
opacity:.8; opacity:.8;
&:hover { &:hover {
opacity:1; opacity:.9;
background-color: tint($lightBluishGrey, 20%); background-color: tint($lightBluishGrey, 20%);
} }
...@@ -481,6 +481,7 @@ body.course.unit { ...@@ -481,6 +481,7 @@ body.course.unit {
top: 0; top: 0;
right: 0; right: 0;
background-color: $blue; background-color: $blue;
border-bottom: 1px solid $blue-d2;
color: $white; color: $white;
//Component Name //Component Name
...@@ -517,12 +518,12 @@ body.course.unit { ...@@ -517,12 +518,12 @@ body.course.unit {
&.is-set { &.is-set {
@include linear-gradient($blue, $blue); @include linear-gradient($blue, $blue);
color: $blue-d1; color: $blue-d1;
box-shadow: inset 0 2px 2px $shadow-d1; box-shadow: inset 1px 1px 1px $shadow-d1;
background-color: $blue; background-color: $blue;
cursor: default; cursor: default;
&:hover { &:hover {
box-shadow: inset 0 2px 2px $shadow-d1; box-shadow: inset 1px 1px 1px $shadow-d1;
background-color: $blue; background-color: $blue;
} }
} }
...@@ -575,7 +576,7 @@ body.course.unit { ...@@ -575,7 +576,7 @@ body.course.unit {
background-color: $white; background-color: $white;
padding: 20px; padding: 20px;
border-bottom: 1px solid $gray-l2; border-bottom: 1px solid $gray-l2;
opacity: .6; opacity: .8;
&:last-child { &:last-child {
//margin-bottom: 0; //margin-bottom: 0;
...@@ -688,8 +689,6 @@ body.course.unit { ...@@ -688,8 +689,6 @@ body.course.unit {
} }
} }
//input[type=others]
.action.setting-clear { .action.setting-clear {
@include font-size(11); @include font-size(11);
background-color: $gray-l4; background-color: $gray-l4;
......
...@@ -2,4 +2,5 @@ ...@@ -2,4 +2,5 @@
background: #fff; background: #fff;
font-size: 13px; font-size: 13px;
color: #3c3c3c; color: #3c3c3c;
padding: 15px;
} }
\ No newline at end of file
...@@ -10,8 +10,6 @@ ...@@ -10,8 +10,6 @@
position: relative; position: relative;
@include linear-gradient(top, #d4dee8, #c9d5e2); @include linear-gradient(top, #d4dee8, #c9d5e2);
padding: 5px; padding: 5px;
border: 1px solid #3c3c3c;
border-radius: 3px 3px 0 0;
border-bottom-color: #a5aaaf; border-bottom-color: #a5aaaf;
@include clearfix; @include clearfix;
......
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
HTML5 Number polyfill | Jonathan Stipe | https://github.com/jonstipe/number-polyfill HTML5 Number polyfill | Jonathan Stipe | https://github.com/jonstipe/number-polyfill
*/ */
function triggerNumberPolyfill() {
(function() { (function() {
(function($) { (function($) {
...@@ -297,3 +298,5 @@ HTML5 Number polyfill | Jonathan Stipe | https://github.com/jonstipe/number-poly ...@@ -297,3 +298,5 @@ HTML5 Number polyfill | Jonathan Stipe | https://github.com/jonstipe/number-poly
})(jQuery); })(jQuery);
}).call(this); }).call(this);
}
\ No newline at end of file
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
padding: 10px 10px 9px; padding: 10px 10px 9px;
vertical-align: top; vertical-align: top;
} }
.studioSkin .mceIframeContainer {border: 1px solid #3c3c3c; border-top: none;} .studioSkin .mceIframeContainer {border: 1px solid white; border-top: none;}
.studioSkin .mceStatusbar {background:#F0F0EE; font-size:9pt; line-height:16px; overflow:visible; color:#000; display:block; height:20px} .studioSkin .mceStatusbar {background:#F0F0EE; font-size:9pt; line-height:16px; overflow:visible; color:#000; display:block; height:20px}
.studioSkin .mceStatusbar div {float:left; margin:2px} .studioSkin .mceStatusbar div {float:left; margin:2px}
.studioSkin .mceStatusbar a.mceResize {display:block; float:right; background:url(../../img/studio-icons.png) -800px 0; width:20px; height:20px; cursor:se-resize; outline:0} .studioSkin .mceStatusbar a.mceResize {display:block; float:right; background:url(../../img/studio-icons.png) -800px 0; width:20px; height:20px; cursor:se-resize; outline:0}
......
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