Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
32f154d7
Commit
32f154d7
authored
Apr 25, 2012
by
Kyle Fiedler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added new styles for amplifier
parent
74613b1f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
129 additions
and
70 deletions
+129
-70
static/css/application.css
+0
-0
templates/sass/courseware/_amplifier.scss
+110
-69
templates/sass/courseware/_courseware.scss
+19
-1
No files found.
static/css/application.css
View file @
32f154d7
This diff is collapsed.
Click to expand it.
templates/sass/courseware/_amplifier.scss
View file @
32f154d7
// JM MOSFET AMPLIFIER
div
#graph-container
{
section
.tool-wrapper
{
background
:
#073642
;
border-top
:
1px
solid
darken
(
#002b36
,
5%
);
border-bottom
:
1px
solid
darken
(
#002b36
,
5%
);
@include
box-shadow
(
inset
0
0
0
4px
darken
(
#094959
,
2%
));
margin
:
lh
()
(
-
(
lh
()));
padding
:
lh
();
color
:
#839496
;
@extend
.clearfix
;
border-top
:
1px
solid
#ddd
;
padding-top
:
lh
(
1
.0
);
canvas
#graph
{
div
#graph-container
{
width
:
flex-grid
(
4
.5
,
9
);
margin-right
:
flex-gutter
(
9
);
float
:
left
;
margin-right
:
flex-gutter
(
9
);
canvas
{
width
:
100%
;
}
}
div
.graph-controls
{
div
#controlls-container
{
@extend
.clearfix
;
width
:
flex-grid
(
4
.5
,
9
);
float
:
left
;
padding-bottom
:
lh
();
select
#musicTypeSelect
{
display
:
block
;
div
.graph-controls
{
padding
:
lh
(
2
)
0
lh
(
1
.5
);
border-bottom
:
1px
solid
darken
(
#073642
,
5%
);
margin-bottom
:
lh
();
@extend
.clearfix
;
div
.music-wrapper
,
div
.inputs-wrapper
{
float
:
left
;
width
:
flex-grid
(
2
.25
,
4
.5
);
}
div
.music-wrapper
{
margin-right
:
flex-gutter
(
4
.5
);
}
div
.inputs-wrapper
{
padding-top
:
lh
(
.5
);
}
select
#musicTypeSelect
{
display
:
block
;
margin-bottom
:
lh
();
}
div
#graph-output
,
div
#graph-listen
{
display
:
block
;
margin-bottom
:
lh
(
.5
);
p
{
@include
inline-block
();
margin
:
0
;
}
ul
{
@include
inline-block
();
margin-bottom
:
0
;
li
{
@include
inline-block
();
margin-bottom
:
0
;
}
}
}
input
#playButton
{
display
:
block
;
@include
button
(
simple
,
#268bd2
);
font
:
bold
14px
$body-font-family
;
}
}
div
#graph-output
{
display
:
block
;
margin-bottom
:
lh
();
label
{
@include
border-radius
(
2px
);
font-weight
:
bold
;
padding
:
3px
;
color
:
#fff
;
}
div
#graph-listen
{
display
:
block
;
margin-bottom
:
lh
(
);
//MOSFET AMPLIFIER
label
[
for
=
"vinCheckbox"
],
label
[
for
=
"vinRadioButton"
]
{
color
:
desaturate
(
#00bfff
,
50%
);
}
p
{
margin-bottom
:
lh
(
.5
);
label
[
for
=
"voutCheckbox"
],
label
[
for
=
"voutRadioButton"
]
{
color
:
darken
(
#ffcf48
,
20%
);
}
div
#label
{
display
:
inline-block
;
label
[
for
=
"vrCheckbox"
],
label
[
for
=
"vrRadioButton"
]
{
color
:
desaturate
(
#1df914
,
40%
)
;
}
input
#playButton
{
display
:
block
;
//RC Filters
label
[
for
=
"vcCheckbox"
],
label
[
for
=
"vcRadioButton"
]
{
color
:
darken
(
#ffcf48
,
20%
);
}
}
}
div
#schematic-container
{
@extend
.clearfix
;
//RLC Series
label
[
for
=
"vlCheckbox"
],
label
[
for
=
"vlRadioButton"
]
{
color
:
desaturate
(
#d33682
,
40%
);
}
canvas
{
width
:
flex-grid
(
4
.5
,
9
);
float
:
left
;
margin-right
:
flex-gutter
(
9
);
}
div
.schematic-sliders
{
div
.schematic-slider
s
{
width
:
flex-grid
(
4
.5
,
9
);
float
:
left
;
div
.slider-label
#v
s
{
margin-top
:
lh
(
2
.0
);
}
div
.slider-label
#vs
{
margin-top
:
lh
(
2
.0
);
}
div
.slider-label
{
margin-bottom
:
lh
(
0
.5
);
}
div
.slider-label
{
margin-bottom
:
lh
(
0
.5
);
}
div
.slider
{
margin-bottom
:
lh
(
1
);
div
.slider
{
margin-bottom
:
lh
(
1
)
;
}
}
}
//End JM MOSFET AMPLIFIER
&
.ui-slider-horizontal
{
height
:
0
.4em
;
background
:
#002b36
;
border
:
1px
solid
darken
(
#002b36
,
5%
);
@include
box-shadow
(
none
);
}
// Labels
div
.graph-controls
,
div
#graph-listen
{
.ui-slider-handle
{
background-color
:
#dc322f
;
margin-top
:
-.3em
;
label
{
@include
border-radius
(
2px
);
font-weight
:
bold
;
padding
:
3px
;
}
//MOSFET AMPLIFIER
label
[
for
=
"vinCheckbox"
],
label
[
for
=
"vinRadioButton"
]
{
color
:
desaturate
(
#00bfff
,
50%
);
}
label
[
for
=
"voutCheckbox"
],
label
[
for
=
"voutRadioButton"
]
{
color
:
darken
(
#ffcf48
,
20%
);
}
label
[
for
=
"vrCheckbox"
],
label
[
for
=
"vrRadioButton"
]
{
color
:
desaturate
(
#1df914
,
40%
);
}
//RC Filters
label
[
for
=
"vcCheckbox"
],
label
[
for
=
"vcRadioButton"
]
{
color
:
darken
(
#ffcf48
,
20%
);
}
//RLC Series
label
[
for
=
"vlCheckbox"
],
label
[
for
=
"vlRadioButton"
]
{
color
:
desaturate
(
#d33682
,
40%
);
&
:hover
,
&
:active
{
background-color
:
lighten
(
#dc322f
,
5%
);
}
}
}
}
}
}
templates/sass/courseware/_courseware.scss
View file @
32f154d7
html
{
html
{
height
:
100%
;
max-height
:
100%
;
}
...
...
@@ -258,6 +258,24 @@ div.course-wrapper {
}
}
}
div
.ui-tabs
{
border
:
0
;
@include
border-radius
(
0
);
margin
:
0
;
padding
:
0
;
.ui-tabs-nav
{
background
:
none
;
border
:
0
;
margin-bottom
:
lh
(
.5
);
}
.ui-tabs-panel
{
@include
border-radius
(
0
);
padding
:
0
;
}
}
}
&
.closed
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment