From 42daf8dd112b3716b9774762a028568e4979371f Mon Sep 17 00:00:00 2001 From: Kyle Fiedler Date: Wed, 22 Feb 2012 10:37:20 -0500 Subject: [PATCH 4/5] Added Ampliflier css --- sass/courseware/_amplifier.scss | 73 +++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 sass/courseware/_amplifier.scss diff --git a/sass/courseware/_amplifier.scss b/sass/courseware/_amplifier.scss new file mode 100644 index 0000000000..28325a306f --- /dev/null +++ b/sass/courseware/_amplifier.scss @@ -0,0 +1,73 @@ +// JM MOSFET AMPLIFIER +div#graph-container { + @extend .clearfix; + + canvas#graph { + background-color: rgb(60, 60, 100); + width: flex-grid(4.5, 9); + float: left; + margin-right: flex-gutter(9); + } + + div.graph-controls { + width: flex-grid(4.5, 9); + float: left; + + select#musicTypeSelect { + display: block; + margin-bottom: lh(2); + } + + div#graph-output { + display: block; + margin-bottom: lh(2); + } + + div#graph-listen { + display: block; + margin-bottom: lh(2); + } + + p { + margin-bottom: lh(1); + } + + div#label { + display: inline-block; + } + + input#playButton { + display: block; + } + } +} + +div#schematic-container { + @extend .clearfix; + + canvas { + background-color: rgb(60, 60, 100); + width: flex-grid(4.5, 9); + float: left; + margin-right: flex-gutter(9); + } + + div.schematic-sliders { + width: flex-grid(4.5, 9); + float: left; + + div.slider-label#vs { + margin-top: lh(2.0); + } + + div.slider-label { + margin-bottom: lh(0.5); + } + + div.slider { + margin-bottom: lh(1); + } + } +} +//End JM MOSFET AMPLIFIER + From 5f260759f02d0cafa7ade3b5f5fcdc90142e5a58 Mon Sep 17 00:00:00 2001 From: Reda Lemeden Date: Wed, 22 Feb 2012 11:42:36 -0500 Subject: [PATCH 5/5] Changed the z-index for the modals, removed box-shadow from comment controls --- sass/discussion/_modals.scss | 1 + sass/discussion/_question-view.scss | 1 + 2 files changed, 2 insertions(+) diff --git a/sass/discussion/_modals.scss b/sass/discussion/_modals.scss index de1a27ecc9..fd05052a12 100644 --- a/sass/discussion/_modals.scss +++ b/sass/discussion/_modals.scss @@ -10,6 +10,7 @@ padding-bottom: 10px; position: absolute; text-align: center; + z-index: 1; h3 { background: $mit-red; diff --git a/sass/discussion/_question-view.scss b/sass/discussion/_question-view.scss index 5b2c4d1c6a..3d878012ee 100644 --- a/sass/discussion/_question-view.scss +++ b/sass/discussion/_question-view.scss @@ -181,6 +181,7 @@ div.question-header { aside.comment-controls { background: none; border: none; + @include box-shadow(none); display: inline-block; margin-top: -8px; padding:0 2% 0 0;