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
9d6bf9a8
Commit
9d6bf9a8
authored
Aug 20, 2012
by
Kyle Fiedler
Committed by
Matthew Mongeau
Aug 27, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added some fixes for the calculator
parent
8d747e44
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
174 deletions
+16
-174
lms/static/sass/application.scss
+0
-1
lms/static/sass/course.scss
+1
-0
lms/static/sass/course/layout/_calculator.scss
+15
-15
lms/static/sass/layout/_calculator.scss
+0
-158
No files found.
lms/static/sass/application.scss
View file @
9d6bf9a8
...
...
@@ -16,7 +16,6 @@
@import
'shared/course_filter'
;
@import
'shared/modal'
;
@import
'shared/activation_messages'
;
@import
'layout/calculator'
;
@import
'multicourse/home'
;
@import
'multicourse/dashboard'
;
...
...
lms/static/sass/course.scss
View file @
9d6bf9a8
...
...
@@ -20,6 +20,7 @@
@import
'course/courseware/courseware'
;
@import
'course/courseware/sidebar'
;
@import
'course/courseware/amplifier'
;
@import
'course/layout/calculator'
;
// course-specific courseware (all styles in these files should be gated by a
...
...
lms/static/sass/course/layout/_calculator.scss
View file @
9d6bf9a8
li
.calc-main
{
div
.calc-main
{
bottom
:
-126px
;
left
:
0
;
position
:
fixed
;
...
...
@@ -9,10 +9,6 @@ li.calc-main {
&
.open
{
bottom
:
-36px
;
div
#calculator_wrapper
form
div
.input-wrapper
div
.help-wrapper
dl
{
display
:
block
;
}
}
a
.calc
{
...
...
@@ -27,7 +23,7 @@ li.calc-main {
margin-right
:
10px
;
padding
:
8px
12px
;
position
:
relative
;
top
:
-
36
px
;
top
:
-
45
px
;
width
:
16px
;
&
:hover
{
...
...
@@ -36,6 +32,7 @@ li.calc-main {
&
.closed
{
background-image
:
url("../images/close-calc-icon.png")
;
top
:
-36px
;
}
}
...
...
@@ -61,6 +58,7 @@ li.calc-main {
float
:
left
;
font-size
:
30px
;
font-weight
:
bold
;
height
:
35px
;
margin
:
0
(
flex-gutter
()
/
2
);
padding
:
0
;
text-shadow
:
none
;
...
...
@@ -73,7 +71,7 @@ li.calc-main {
}
input
#calculator_output
{
background
:
#
222
;
background
:
#
111
;
border
:
0
;
@include
box-shadow
(
none
);
@include
box-sizing
(
border-box
);
...
...
@@ -111,14 +109,14 @@ li.calc-main {
div
.help-wrapper
{
position
:
absolute
;
right
:
8px
;
top
:
15px
;
right
:
0
;
top
:
0
;
a
{
background
:
url("../images/info-icon.png")
center
center
no-repeat
;
height
:
17
px
;
height
:
35
px
;
@include
hide-text
;
width
:
17
px
;
width
:
35
px
;
}
dl
{
...
...
@@ -127,28 +125,30 @@ li.calc-main {
@include
box-shadow
(
0
0
3px
#999
);
color
:
#333
;
display
:
none
;
line-height
:
lh
();
opacity
:
0
;
padding
:
10px
;
position
:
absolute
;
right
:
-40px
;
top
:
-1
10
px
;
top
:
-1
22
px
;
@include
transition
();
width
:
5
00px
;
width
:
6
00px
;
&
.shown
{
display
:
block
;
opacity
:
1
;
top
:
-115px
;
}
dt
{
clear
:
both
;
float
:
left
;
font-weight
:
bold
;
padding-right
:
lh
(
.5
)
;
padding-right
:
12px
;
}
dd
{
float
:
left
;
margin-left
:
0
;
}
}
}
...
...
lms/static/sass/layout/_calculator.scss
deleted
100644 → 0
View file @
8d747e44
div
.calc-main
{
bottom
:
-126px
;
left
:
0
;
position
:
fixed
;
@include
transition
(
bottom
);
-webkit-appearance
:
none
;
width
:
100%
;
z-index
:
99
;
&
.open
{
bottom
:
-36px
;
div
#calculator_wrapper
form
div
.input-wrapper
div
.help-wrapper
dl
{
display
:
block
;
}
}
a
.calc
{
background
:
url("../images/calc-icon.png")
rgba
(
#111
,
.9
)
no-repeat
center
;
border-bottom
:
0
;
@include
border-radius
(
3px
3px
0
0
);
color
:
#fff
;
float
:
right
;
height
:
20px
;
@include
hide-text
;
@include
inline-block
;
margin-right
:
10px
;
padding
:
8px
12px
;
position
:
relative
;
top
:
-36px
;
width
:
16px
;
&
:hover
{
opacity
:
.8
;
}
&
.closed
{
background-image
:
url("../images/close-calc-icon.png")
;
}
}
div
#calculator_wrapper
{
background
:
rgba
(
#111
,
.9
);
clear
:
both
;
max-height
:
90px
;
position
:
relative
;
top
:
-36px
;
form
{
@extend
.clearfix
;
@include
box-sizing
(
border-box
);
padding
:
lh
();
input
#calculator_button
{
background
:
#111
;
border
:
1px
solid
#000
;
@include
border-radius
(
0
);
@include
box-shadow
(
none
);
@include
box-sizing
(
border-box
);
color
:
#fff
;
float
:
left
;
font-size
:
30px
;
font-weight
:
bold
;
margin
:
0
(
flex-gutter
()
/
2
);
padding
:
0
;
text-shadow
:
none
;
-webkit-appearance
:
none
;
width
:
flex-grid
(
.5
)
+
flex-gutter
();
&
:hover
{
color
:
#333
;
}
}
input
#calculator_output
{
background
:
#222
;
border
:
0
;
@include
box-shadow
(
none
);
@include
box-sizing
(
border-box
);
color
:
#fff
;
float
:
left
;
font-size
:
16px
;
font-weight
:
bold
;
margin
:
1px
0
0
;
padding
:
10px
;
-webkit-appearance
:
none
;
width
:
flex-grid
(
4
);
}
div
.input-wrapper
{
@extend
.clearfix
;
float
:
left
;
margin
:
0
;
position
:
relative
;
width
:
flex-grid
(
7
.5
);
input
#calculator_input
{
border
:
none
;
@include
box-shadow
(
none
);
@include
box-sizing
(
border-box
);
font-size
:
16px
;
padding
:
10px
;
-webkit-appearance
:
none
;
width
:
100%
;
&
:focus
{
outline
:
none
;
border
:
none
;
}
}
div
.help-wrapper
{
position
:
absolute
;
right
:
8px
;
top
:
15px
;
a
{
background
:
url("../images/info-icon.png")
center
center
no-repeat
;
height
:
17px
;
@include
hide-text
;
width
:
17px
;
}
dl
{
background
:
#fff
;
@include
border-radius
(
3px
);
@include
box-shadow
(
0
0
3px
#999
);
color
:
#333
;
display
:
none
;
opacity
:
0
;
padding
:
10px
;
position
:
absolute
;
right
:
-40px
;
top
:
-110px
;
@include
transition
();
width
:
500px
;
&
.shown
{
opacity
:
1
;
top
:
-115px
;
}
dt
{
clear
:
both
;
float
:
left
;
font-weight
:
bold
;
padding-right
:
lh
(
.5
);
}
dd
{
float
:
left
;
}
}
}
}
}
}
}
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