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
a7887721
Commit
a7887721
authored
Jan 10, 2013
by
Christina Roberts
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1255 from MITx/bug/btalbot/unit-editing
Moving Static Component View Under Modal While Editing
parents
e5d73107
4128f37a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
cms/static/sass/_unit.scss
+7
-2
cms/templates/component.html
+5
-1
No files found.
cms/static/sass/_unit.scss
View file @
a7887721
...
@@ -245,7 +245,7 @@
...
@@ -245,7 +245,7 @@
&
.editing
{
&
.editing
{
border
:
1px
solid
$lightBluishGrey2
;
border
:
1px
solid
$lightBluishGrey2
;
z-index
:
9999
;
z-index
:
auto
;
.drag-handle
,
.drag-handle
,
.component-actions
{
.component-actions
{
...
@@ -284,12 +284,17 @@
...
@@ -284,12 +284,17 @@
overflow-x
:
auto
;
overflow-x
:
auto
;
}
}
.wrapper-component-editor
{
z-index
:
9999
;
position
:
relative
;
}
.component-editor
{
.component-editor
{
@include
edit-box
;
@include
edit-box
;
@include
box-shadow
(
none
);
display
:
none
;
display
:
none
;
padding
:
20px
;
padding
:
20px
;
border-radius
:
2px
2px
0
0
;
border-radius
:
2px
2px
0
0
;
@include
box-shadow
(
none
);
.metadata_edit
{
.metadata_edit
{
margin-bottom
:
20px
;
margin-bottom
:
20px
;
...
...
cms/templates/component.html
View file @
a7887721
<div
class=
"component-editor"
>
<div
class=
"wrapper wrapper-component-editor"
>
<div
class=
"component-editor"
>
<div
class=
"module-editor"
>
<div
class=
"module-editor"
>
${editor}
${editor}
</div>
</div>
<a
href=
"#"
class=
"save-button"
>
Save
</a>
<a
href=
"#"
class=
"save-button"
>
Save
</a>
<a
href=
"#"
class=
"cancel-button"
>
Cancel
</a>
<a
href=
"#"
class=
"cancel-button"
>
Cancel
</a>
</div>
</div>
</div>
<div
class=
"component-actions"
>
<div
class=
"component-actions"
>
<a
href=
"#"
class=
"edit-button standard"
><span
class=
"edit-icon"
></span>
Edit
</a>
<a
href=
"#"
class=
"edit-button standard"
><span
class=
"edit-icon"
></span>
Edit
</a>
<a
href=
"#"
class=
"delete-button standard"
><span
class=
"delete-icon"
></span>
Delete
</a>
<a
href=
"#"
class=
"delete-button standard"
><span
class=
"delete-icon"
></span>
Delete
</a>
</div>
</div>
<a
data-tooltip=
"Drag to reorder"
href=
"#"
class=
"drag-handle"
></a>
<a
data-tooltip=
"Drag to reorder"
href=
"#"
class=
"drag-handle"
></a>
${preview}
${preview}
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