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
018a3d8a
Commit
018a3d8a
authored
May 03, 2013
by
marco
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branch now runs, but none of the styles are there yet. pushing this mostly to view component.html
parent
370df65d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
cms/static/sass/views/_unit.scss
+5
-6
cms/templates/component.html
+2
-2
No files found.
cms/static/sass/views/_unit.scss
View file @
018a3d8a
...
...
@@ -438,24 +438,23 @@ body.course.unit {
@include
edit-box
;
@include
box-shadow
(
none
);
display
:
none
;
padding
:
20px
;
padding
:
0
;
border-radius
:
2px
2px
0
0
;
// Edit Menu (Component Name, Mode-Editor, Mode-Settings)
.component-edit-menu
{
@include
box-sizing
(
border-box
);
position
:
absolute
;
width
:
100%
;
padding
:
15px
;
//
padding: 15px;
top
:
0
;
right
:
0
;
border-bottom
:
1px
solid
$lightBluishGrey2
;
background
:
$
lightGrey
;
background
:
$
gray-l4
;
//Component Name
h
3
{
h
4
{
//TO-DO
//determine proper h-level
}
...
...
@@ -463,11 +462,11 @@ body.course.unit {
//Nav-Edit Modes
.nav-edit-modes
{
list-style
:
none
;
//move to the right,
li
{
//TO-DO
//inherit button styling
float
:
right
;
//no idea what it currently inherits...
&
:hover
{
...
...
cms/templates/component.html
View file @
018a3d8a
...
...
@@ -28,13 +28,13 @@
<button
type=
"button"
name=
"setting-clear"
value=
"Clear"
class=
"setting-clear "
data-tooltip=
"Clear"
>
<i
class=
"ss-icon ss-symbolicons-block undo"
>
↩
</i>
</button>
<span
class=
"settings-help"
>
${helpstring}
</span>
<span
class=
"settings-help"
>
helpstring
</span>
</li>
<!--% showing second example mostly to see is-set style difference -->
<li
class=
"settings-row"
>
<label
for=
"setting-name-as-id"
>
Setting Display Name Goes Here
</label>
<input
type=
"type2"
id=
"firstname"
/>
<span
class=
"settings-help"
>
${helpstring}
</span>
<span
class=
"settings-help"
>
helpstring
</span>
<!--% showing dropdown example -->
<li
class=
"settings-row"
>
...
...
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