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
6e01f532
Commit
6e01f532
authored
Jul 27, 2016
by
Andy Armstrong
Committed by
GitHub
Jul 27, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #12610 from OmarIthawi/edraak/forum-post-button
Corrected RTL issues new forum post button
parents
747be14e
0d71d0d6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
26 deletions
+18
-26
lms/static/sass/discussion/_mixins.scss
+18
-26
No files found.
lms/static/sass/discussion/_mixins.scss
View file @
6e01f532
// discussion - mixins and extends
// ====================
@mixin
blue-button
{
@include
linear-gradient
(
top
,
#6dccf1
,
#38a8e5
);
@mixin
discussion-button
()
{
display
:
block
;
border
:
1px
solid
#2d81ad
;
border
:
1px
solid
;
border-radius
:
3px
;
padding
:
0
(
$baseline
*
0
.75
);
height
:
35px
;
color
:
$white
;
text-shadow
:
none
;
font-size
:
13px
;
line-height
:
35px
;
font-size
:
13px
;
white-space
:
nowrap
;
// Prevent word-break in Arabic in Google Chrome
text-shadow
:
none
;
padding
:
0
(
$baseline
*
0
.75
);
box-shadow
:
0
1px
0
rgba
(
255
,
255
,
255
,
0
.4
)
inset
,
0
1px
1px
rgba
(
0
,
0
,
0
,
.15
);
}
@mixin
blue-button
{
@include
discussion-button
();
@include
linear-gradient
(
top
,
#6dccf1
,
#38a8e5
);
border-color
:
#2d81ad
;
color
:
$white
;
&
:hover
,
&
:focus
{
@include
linear-gradient
(
top
,
#4fbbe4
,
#2090d0
);
...
...
@@ -21,17 +27,10 @@
}
@mixin
white-button
{
@include
discussion-button
();
@include
linear-gradient
(
top
,
$white
,
$gray-l5
);
display
:
block
;
border
:
1px
solid
#aaa
;
border-radius
:
3px
;
padding
:
0
(
$baseline
*
0
.75
);
height
:
35px
;
box-shadow
:
0
1px
0
rgba
(
255
,
255
,
255
,
0
.4
)
inset
,
0
1px
1px
rgba
(
0
,
0
,
0
,
.15
);
border-color
:
#aaa
;
color
:
$dark-gray
;
text-shadow
:
none
;
font-size
:
13px
;
line-height
:
35px
;
&
:hover
,
&
:focus
{
@include
linear-gradient
(
top
,
$white
,
$gray-l6
);
...
...
@@ -39,17 +38,10 @@
}
@mixin
dark-grey-button
{
display
:
block
;
border
:
1px
solid
#222
;
border-radius
:
3px
;
padding
:
0
(
$baseline
*
0
.75
);
height
:
35px
;
background
:
-webkit-linear-gradient
(
top
,
#777
,
#555
);
box-shadow
:
0
1px
0
rgba
(
255
,
255
,
255
,
0
.4
)
inset
,
0
1px
1px
rgba
(
0
,
0
,
0
,
.15
);
@include
discussion-button
();
@include
linear-gradient
(
top
,
#777
,
#555
);
border-color
:
#222
;
color
:
$white
;
text-shadow
:
none
;
font-size
:
13px
;
line-height
:
35px
;
&
:hover
,
&
:focus
{
background
:
-webkit-linear-gradient
(
top
,
#888
,
#666
);
...
...
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