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
f29f605f
Commit
f29f605f
authored
Nov 20, 2012
by
Brian Talbot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
settings - refactored radio/checkbox input formatting
parent
d3703079
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
94 deletions
+42
-94
cms/static/sass/_settings.scss
+42
-94
cms/templates/settings.html
+0
-0
No files found.
cms/static/sass/_settings.scss
View file @
f29f605f
...
@@ -151,6 +151,11 @@
...
@@ -151,6 +151,11 @@
}
}
}
}
input
[
type
=
"checkbox"
],
input
[
type
=
"radio"
]
{
}
.input-default
input
,
.input-default
textarea
{
.input-default
input
,
.input-default
textarea
{
color
:
$mediumGrey
;
color
:
$mediumGrey
;
background
:
$lightGrey
;
background
:
$lightGrey
;
...
@@ -165,98 +170,6 @@
...
@@ -165,98 +170,6 @@
font-size
:
13px
;
font-size
:
13px
;
}
}
.field.ui-status
{
>
.input
{
display
:
block
!
important
;
margin-bottom
:
15px
;
}
.ui-status-input-checkbox
input
,
.ui-status-input-radio
input
{
position
:
absolute
;
top
:
-9999px
;
left
:
-9999px
;
}
label
{
cursor
:
pointer
;
}
.ui-status-input-checkbox
input
~
label
,
.ui-status-input-radio
input
~
label
{
position
:
relative
;
left
:
-30px
;
display
:
inline-block
;
z-index
:
100
;
margin
:
0
0
0
5px
;
padding-left
:
30px
;
color
:
$offBlack
;
opacity
:
0
.50
;
cursor
:
pointer
;
@include
transition
(
opacity
0
.25s
ease-in-out
);
&
:before
{
display
:
inline-block
;
margin-right
:
10px
;
}
&
:after
{
display
:
inline-block
;
margin-left
:
10px
;
}
~
.tip
{
margin-top
:
0
;
@include
transition
(
color
0
.25s
ease-in-out
);
}
}
.ui-status-indic
{
background
:
transparent
url('../images/correct-icon.png')
0
0
no-repeat
;
z-index
:
10
;
display
:
inline-block
;
height
:
20px
;
width
:
30px
;
opacity
:
0
.50
;
@include
transition
(
opacity
0
.25s
ease-in-out
);
}
.ss-check
{
color
:
$green
;
}
.ss-delete
{
color
:
$red
;
}
.ui-status-input-checkbox
input
:checked
~
label
,
.ui-status-input-radio
input
:checked
~
label
{
opacity
:
0
.99
;
&
:after
{
}
&
:before
{
}
~
.tip
{
color
:
$darkGrey
;
}
}
.ui-status-input-checkbox
input
:checked
~
.ui-status-indic
,
.ui-status-input-radio
input
:checked
~
.ui-status-indic
{
background
:
transparent
url('../images/correct-icon.png')
0
0
no-repeat
;
opacity
:
0
.99
;
}
// disabled
.ui-status-input-checkbox
input
:disabled
,
.ui-status-input-radio
input
:disabled
{
color
:
$mediumGrey
;
}
.ui-status-input-checkbox
input
:disabled
~
.ui-status-indic
,
.ui-status-input-radio
input
:disabled
~
.ui-status-indic
{
color
:
$mediumGrey
;
}
}
.tip
{
.tip
{
color
:
$mediumGrey
;
color
:
$mediumGrey
;
font-size
:
13px
;
font-size
:
13px
;
...
@@ -388,6 +301,42 @@
...
@@ -388,6 +301,42 @@
}
}
}
}
//radio buttons and checkboxes
.input-radio
{
@include
clearfix
();
input
{
display
:
block
;
float
:
left
;
margin-right
:
10px
;
}
.copy
{
position
:
relative
;
top
:
-5px
;
float
:
left
;
width
:
350px
;
}
label
{
display
:
block
;
margin-bottom
:
0
;
}
.tip
{
display
:
block
;
margin-top
:
0
;
}
.message-error
{
}
}
.input-checkbox
{
}
// enumerated inputs
// enumerated inputs
&
.enum
{
&
.enum
{
}
}
...
@@ -405,7 +354,7 @@
...
@@ -405,7 +354,7 @@
}
}
&
.multi-inline
{
&
.multi-inline
{
@include
clearfix
;
@include
clearfix
()
;
.group
{
.group
{
width
:
170px
;
width
:
170px
;
...
@@ -516,7 +465,6 @@
...
@@ -516,7 +465,6 @@
}
}
.current-faculty-photo
{
.current-faculty-photo
{
overflow
:
hidden
;
padding
:
0
;
padding
:
0
;
img
{
img
{
...
...
cms/templates/settings.html
View file @
f29f605f
This diff is collapsed.
Click to expand it.
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