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
623769e9
Commit
623769e9
authored
Jan 15, 2013
by
Brian Talbot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
separated common editor UI from problem and HTML editor SCSS - wip
parent
0a7de9aa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
57 additions
and
2 deletions
+57
-2
common/lib/xmodule/xmodule/css/editor/display.scss
+55
-0
common/lib/xmodule/xmodule/editing_module.py
+2
-2
No files found.
common/lib/xmodule/xmodule/css/editor/display.scss
0 → 100644
View file @
623769e9
*
{
border
:
1px
solid
red
!
important
;
}
.editor-bar
{
position
:
relative
;
@include
linear-gradient
(
top
,
#d4dee8
,
#c9d5e2
);
padding
:
5px
;
border
:
1px
solid
#3c3c3c
;
border-radius
:
3px
3px
0
0
;
border-bottom-color
:
#a5aaaf
;
@include
clearfix
;
// TODO: I added this -- Brian to fix roperly
height
:
34px
;
a
{
display
:
block
;
float
:
left
;
padding
:
3px
10px
7px
;
margin-left
:
7px
;
border-radius
:
2px
;
&
:hover
{
background
:
rgba
(
255
,
255
,
255
,
.5
);
}
}
.editor-tabs
{
position
:
absolute
;
top
:
10px
;
right
:
10px
;
li
{
float
:
left
;
}
.tab
{
height
:
24px
;
padding
:
7px
20px
3px
;
border
:
1px
solid
#a5aaaf
;
border-radius
:
3px
3px
0
0
;
@include
linear-gradient
(
top
,
rgba
(
0
,
0
,
0
,
0
)
87%
,
rgba
(
0
,
0
,
0
,
.06
));
background-color
:
#e5ecf3
;
font-size
:
13px
;
color
:
#3c3c3c
;
box-shadow
:
1px
-1px
1px
rgba
(
0
,
0
,
0
,
.05
);
&
.current
{
background
:
#fff
;
border-bottom-color
:
#fff
;
}
}
}
}
\ No newline at end of file
common/lib/xmodule/xmodule/editing_module.py
View file @
623769e9
...
...
@@ -30,7 +30,7 @@ class XMLEditingDescriptor(EditingDescriptor):
any validation of its definition
"""
css
=
{
'scss'
:
[
resource_string
(
__name__
,
'css/codemirror/codemirror.scss'
)]}
css
=
{
'scss'
:
[
resource_string
(
__name__
,
'css/
editor/display.scss'
),
resource_string
(
__name__
,
'css/
codemirror/codemirror.scss'
)]}
js
=
{
'coffee'
:
[
resource_string
(
__name__
,
'js/src/raw/edit/xml.coffee'
)]}
js_module_name
=
"XMLEditingDescriptor"
...
...
@@ -42,7 +42,7 @@ class JSONEditingDescriptor(EditingDescriptor):
any validation of its definition
"""
css
=
{
'scss'
:
[
resource_string
(
__name__
,
'css/codemirror/codemirror.scss'
)]}
css
=
{
'scss'
:
[
resource_string
(
__name__
,
'css/
editor/display.scss'
),
resource_string
(
__name__
,
'css/
codemirror/codemirror.scss'
)]}
js
=
{
'coffee'
:
[
resource_string
(
__name__
,
'js/src/raw/edit/json.coffee'
)]}
js_module_name
=
"JSONEditingDescriptor"
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