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
e5817f53
Commit
e5817f53
authored
Sep 07, 2012
by
Tom Giannattasio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed sass error for toast notifications
parent
f7e20801
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
52 additions
and
11 deletions
+52
-11
lms/static/sass/_discussion.scss
+19
-0
lms/static/sass/course.scss
+1
-0
lms/static/sass/course/base/_base.scss
+12
-11
lms/static/sass/course/base/_mixins.scss
+20
-0
No files found.
lms/static/sass/_discussion.scss
View file @
e5817f53
...
...
@@ -37,6 +37,25 @@
}
}
@mixin
dark-grey-button
{
display
:
block
;
height
:
35px
;
padding
:
0
15px
;
border-radius
:
3px
;
border
:
1px
solid
#222
;
background
:
-webkit-linear-gradient
(
top
,
#777
,
#555
);
font-size
:
13px
;
font-weight
:
700
;
line-height
:
32px
;
color
:
#fff
;
text-shadow
:
0
-1px
0
rgba
(
0
,
0
,
0
,
0
.6
);
box-shadow
:
0
1px
0
rgba
(
255
,
255
,
255
,
0
.4
)
inset
,
0
1px
1px
rgba
(
0
,
0
,
0
,
.15
);
&
:hover
{
background
:
-webkit-linear-gradient
(
top
,
#888
,
#666
);
}
}
@mixin
discussion-wmd-input
{
width
:
100%
;
height
:
240px
;
...
...
lms/static/sass/course.scss
View file @
e5817f53
...
...
@@ -12,6 +12,7 @@
// Course base / layout styles
@import
'course/layout/courseware_header'
;
@import
'course/layout/footer'
;
@import
'course/base/mixins'
;
@import
'course/base/base'
;
@import
'course/base/extends'
;
@import
'module/module-styles.scss'
;
...
...
lms/static/sass/course/base/_base.scss
View file @
e5817f53
...
...
@@ -39,11 +39,6 @@ a {
}
}
form
{
label
{
display
:
block
;
...
...
@@ -132,6 +127,9 @@ img {
}
}
.test-class
{
border
:
1px
solid
#f00
;
}
.toast-notification
{
...
...
@@ -143,13 +141,16 @@ img {
padding
:
15px
20px
17px
;
border-radius
:
3px
;
border
:
1px
solid
#333
;
@include
linear-gradient
(
top
,
rgba
(
255
,
255
,
255
,
.1
)
,
rgba
(
255
,
255
,
255
,
0
));
background-color
:
rgba
(
30
,
30
,
30
,
.92
);
@include
box-shadow
(
0
1px
3px
rgba
(
0
,
0
,
0
,
.3
)
,
0
1px
0
rgba
(
255
,
255
,
255
,
.1
)
inset
);
background
:
-webkit-linear-gradient
(
top
,
rgba
(
255
,
255
,
255
,
.1
)
,
rgba
(
255
,
255
,
255
,
0
))
rgba
(
30
,
30
,
30
,
.92
);
box-shadow
:
0
1px
3px
rgba
(
0
,
0
,
0
,
.3
)
,
0
1px
0
rgba
(
255
,
255
,
255
,
.1
)
inset
;
font-size
:
13px
;
color
:
#fff
;
opacity
:
0
;
@include
transition
(
all
.2s
);
-webkit-transition
:
all
.2s
;
p
,
span
{
color
:
#fff
;
}
.error-icon
{
display
:
block
;
...
...
@@ -191,5 +192,4 @@ img {
margin-top
:
10px
;
text-align
:
center
;
}
}
}
\ No newline at end of file
lms/static/sass/course/base/_mixins.scss
View file @
e5817f53
...
...
@@ -35,4 +35,23 @@
&
:hover
{
@include
linear-gradient
(
top
,
#fff
,
#ddd
);
}
}
@mixin
dark-grey-button
{
display
:
block
;
height
:
35px
;
padding
:
0
15px
;
border-radius
:
3px
;
border
:
1px
solid
#222
;
background
:
-webkit-linear-gradient
(
top
,
#777
,
#555
);
font-size
:
13px
;
font-weight
:
700
;
line-height
:
32px
;
color
:
#fff
;
text-shadow
:
0
-1px
0
rgba
(
0
,
0
,
0
,
0
.6
);
box-shadow
:
0
1px
0
rgba
(
255
,
255
,
255
,
0
.4
)
inset
,
0
1px
1px
rgba
(
0
,
0
,
0
,
.15
);
&
:hover
{
background
:
-webkit-linear-gradient
(
top
,
#888
,
#666
);
}
}
\ No newline at end of file
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