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
2ee48873
Commit
2ee48873
authored
Dec 15, 2012
by
Brian Talbot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cms pull request 1160 - brought back all css changes lost in this request - mostly overview related
parent
e57b5b14
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
124 additions
and
130 deletions
+124
-130
cms/static/sass/_cms_mixins.scss
+20
-19
cms/static/sass/_courseware.scss
+0
-0
cms/static/sass/_subsection.scss
+104
-104
cms/static/sass/_variables.scss
+0
-7
No files found.
cms/static/sass/_cms_mixins.scss
View file @
2ee48873
...
...
@@ -48,17 +48,17 @@
}
@mixin
green-button
{
@include
button
;
border
:
1px
solid
#0d7011
;
border-radius
:
3px
;
@include
linear-gradient
(
top
,
rgba
(
255
,
255
,
255
,
.3
)
,
rgba
(
255
,
255
,
255
,
0
));
background-color
:
$green
;
color
:
#fff
;
@include
button
;
border
:
1px
solid
#0d7011
;
border-radius
:
3px
;
@include
linear-gradient
(
top
,
rgba
(
255
,
255
,
255
,
.3
)
,
rgba
(
255
,
255
,
255
,
0
));
background-color
:
$green
;
color
:
#fff
;
&
:hover
{
background-color
:
#129416
;
color
:
#fff
;
}
&
:hover
{
background-color
:
#129416
;
color
:
#fff
;
}
}
@mixin
white-button
{
...
...
@@ -277,12 +277,12 @@
}
@mixin
sr-text
{
border
:
0
;
clip
:
rect
(
0
0
0
0
);
height
:
1px
;
margin
:
-1px
;
overflow
:
hidden
;
padding
:
0
;
position
:
absolute
;
width
:
1px
;
}
border
:
0
;
clip
:
rect
(
0
0
0
0
);
height
:
1px
;
margin
:
-1px
;
overflow
:
hidden
;
padding
:
0
;
position
:
absolute
;
width
:
1px
;
}
\ No newline at end of file
cms/static/sass/_courseware.scss
View file @
2ee48873
This diff is collapsed.
Click to expand it.
cms/static/sass/_subsection.scss
View file @
2ee48873
...
...
@@ -182,106 +182,106 @@
.gradable
{
label
{
display
:
inline-block
;
vertical-align
:
top
;
}
.gradable-status
{
position
:
relative
;
top
:
-4px
;
display
:
inline-block
;
margin-left
:
10px
;
width
:
65%
;
.status-label
{
margin
:
0
;
padding
:
0
;
background
:
transparent
;
color
:
$blue
;
border
:
none
;
font-size
:
11px
;
font-weight
:
bold
;
text-transform
:
uppercase
;
}
.menu-toggle
{
z-index
:
100
;
position
:
absolute
;
top
:
0
;
left
:
0
;
width
:
100%
;
height
:
20px
;
background
:
transparent
;
&
:hover
,
&
.is-active
{
color
:
$blue
;
}
}
.menu
{
z-index
:
1
;
position
:
absolute
;
top
:
-12px
;
left
:
-7px
;
display
:
none
;
width
:
100%
;
margin
:
0
;
padding
:
8px
12px
;
opacity
:
0
.0
;
background
:
$white
;
border
:
1px
solid
$mediumGrey
;
font-size
:
12px
;
@include
border-radius
(
4px
);
@include
box-shadow
(
0
1px
2px
rgba
(
0
,
0
,
0
,
.2
));
@include
transition
(
opacity
.15s
);
li
{
margin-bottom
:
3px
;
padding-bottom
:
3px
;
border-bottom
:
1px
solid
$lightGrey
;
&
:last-child
{
margin-bottom
:
0
;
padding-bottom
:
0
;
border
:
none
;
}
}
a
{
&
.is-selected
{
font-weight
:
bold
;
}
}
}
// dropdown state
&
.is-active
{
.menu
{
z-index
:
10000
;
display
:
block
;
opacity
:
1
.0
;
}
.menu-toggle
{
z-index
:
1000
;
}
}
// set state
&
.is-set
{
.menu-toggle
{
color
:
$blue
;
}
.status-label
{
display
:
block
;
color
:
$blue
;
}
}
}
}
\ No newline at end of file
label
{
display
:
inline-block
;
vertical-align
:
top
;
}
.gradable-status
{
position
:
relative
;
top
:
-4px
;
display
:
inline-block
;
margin-left
:
10px
;
width
:
65%
;
.status-label
{
margin
:
0
;
padding
:
0
;
background
:
transparent
;
color
:
$blue
;
border
:
none
;
font-size
:
11px
;
font-weight
:
bold
;
text-transform
:
uppercase
;
}
.menu-toggle
{
z-index
:
100
;
position
:
absolute
;
top
:
0
;
left
:
0
;
width
:
100%
;
height
:
20px
;
background
:
transparent
;
&
:hover
,
&
.is-active
{
color
:
$blue
;
}
}
.menu
{
z-index
:
1
;
position
:
absolute
;
top
:
-12px
;
left
:
-7px
;
display
:
none
;
width
:
100%
;
margin
:
0
;
padding
:
8px
12px
;
opacity
:
0
.0
;
background
:
$white
;
border
:
1px
solid
$mediumGrey
;
font-size
:
12px
;
@include
border-radius
(
4px
);
@include
box-shadow
(
0
1px
2px
rgba
(
0
,
0
,
0
,
.2
));
@include
transition
(
opacity
.15s
);
li
{
margin-bottom
:
3px
;
padding-bottom
:
3px
;
border-bottom
:
1px
solid
$lightGrey
;
&
:last-child
{
margin-bottom
:
0
;
padding-bottom
:
0
;
border
:
none
;
}
}
a
{
&
.is-selected
{
font-weight
:
bold
;
}
}
}
// dropdown state
&
.is-active
{
.menu
{
z-index
:
10000
;
display
:
block
;
opacity
:
1
.0
;
}
.menu-toggle
{
z-index
:
1000
;
}
}
// set state
&
.is-set
{
.menu-toggle
{
color
:
$blue
;
}
.status-label
{
display
:
block
;
color
:
$blue
;
}
}
}
}
\ No newline at end of file
cms/static/sass/_variables.scss
View file @
2ee48873
...
...
@@ -12,7 +12,6 @@ $body-line-height: golden-ratio(.875em, 1);
$white
:
rgb
(
255
,
255
,
255
);
$black
:
rgb
(
0
,
0
,
0
);
$pink
:
rgb
(
182
,
37
,
104
);
$error-red
:
rgb
(
253
,
87
,
87
);
...
...
@@ -21,12 +20,6 @@ $offBlack: #3c3c3c;
$black
:
rgb
(
0
,
0
,
0
);
$white
:
rgb
(
255
,
255
,
255
);
$blue
:
#5597dd
;
$lightBlue
:
tint
(
$blue
,
75%
);
$extraLightBlue
:
tint
(
$lightBlue
,
75%
);
$darkBlue
:
shade
(
$blue
,
25%
);
$extraDarkBlue
:
shade
(
$darkBlue
,
25%
);
$lightTransparentBlue
:
rgba
(
167
,
192
,
221
,
0
.3
);
$orange
:
#edbd3c
;
$red
:
#b20610
;
$green
:
#108614
;
...
...
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