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
0052b87c
Commit
0052b87c
authored
Sep 09, 2013
by
Brian Talbot
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #886 from edx/talbs/lms-disabledui
LMS: General Disabled Link/Button State Styling
parents
b53d5554
422c6282
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
lms/static/sass/base/_base.scss
+6
-0
lms/static/sass/shared/_forms.scss
+7
-2
No files found.
lms/static/sass/base/_base.scss
View file @
0052b87c
...
...
@@ -82,6 +82,12 @@ a:link, a:visited {
&
:hover
{
text-decoration
:
underline
;
}
&
:disabled
,
&
.is-disabled
,
&
.disabled
{
pointer-events
:
none
;
opacity
:
0
.5
;
cursor
:
not
-
allowed
;
}
}
a
:focus
{
...
...
lms/static/sass/shared/_forms.scss
View file @
0052b87c
...
...
@@ -43,8 +43,7 @@ textarea {
input
[
type
=
"submit"
],
input
[
type
=
"button"
],
button
,
.button
{
button
,
.button
{
border-radius
:
3px
;
@include
button
(
shiny
,
$button-color
);
font
:
normal
1
.2rem
/
1
.6rem
$sans-serif
;
...
...
@@ -53,4 +52,10 @@ button,
text-transform
:
uppercase
;
vertical-align
:
top
;
-webkit-font-smoothing
:
antialiased
;
&
:disabled
,
&
.is-disabled
,
&
.disabled
{
pointer-events
:
none
;
opacity
:
0
.5
;
cursor
:
not
-
allowed
;
}
}
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