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
5ebe91e1
Commit
5ebe91e1
authored
Jun 17, 2015
by
Chris
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7395 from Stanford-Online/kluo/fix-modal-display-issue
Fix modal css to be hidden immediately
parents
7dd7e652
8d56fe3b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
51 additions
and
62 deletions
+51
-62
cms/static/sass/_base.scss
+51
-55
common/static/css/vendor/normalize.css
+0
-7
No files found.
cms/static/sass/_base.scss
View file @
5ebe91e1
...
...
@@ -666,67 +666,63 @@ hr.divider {
}
}
// +JS Dependent
// ====================
body
.js
{
// lean/simple modal window
.content-modal
{
@include
border-bottom-radius
(
2px
);
@include
box-sizing
(
border-box
);
box-shadow
:
0
2px
4px
$shadow-d1
;
position
:
relative
;
display
:
none
;
width
:
700px
;
overflow
:
hidden
;
border
:
1px
solid
$gray-d1
;
padding
:
(
$baseline
);
background
:
$white
;
.action-modal-close
{
@include
transition
(
top
$tmg-f3
ease-in-out
0s
);
@include
border-bottom-radius
(
3px
);
position
:
absolute
;
top
:
-3px
;
right
:
$baseline
;
padding
:
(
$baseline
/
4
)
(
$baseline
/
2
)
0
(
$baseline
/
2
);
background
:
$gray-l3
;
text-align
:
center
;
.label
{
@extend
%cont-text-sr
;
}
.icon
{
@extend
%t-action1
;
color
:
$white
;
}
// lean/simple modal window
.content-modal
{
@include
border-bottom-radius
(
2px
);
@include
box-sizing
(
border-box
);
position
:
relative
;
display
:
none
;
width
:
700px
;
padding
:
(
$baseline
);
border
:
1px
solid
$gray-d1
;
background
:
$white
;
box-shadow
:
0
2px
4px
$shadow-d1
;
overflow
:
hidden
;
&
:hover
{
background
:
$blue
;
top
:
0
;
}
.action-modal-close
{
@include
transition
(
top
$tmg-f3
ease-in-out
0s
);
@include
border-bottom-radius
(
3px
);
position
:
absolute
;
top
:
-3px
;
right
:
$baseline
;
padding
:
(
$baseline
/
4
)
(
$baseline
/
2
)
0
(
$baseline
/
2
);
background
:
$gray-l3
;
text-align
:
center
;
.label
{
@extend
%cont-text-sr
;
}
img
{
@include
box-sizing
(
border-box
);
width
:
100%
;
overflow-y
:
scroll
;
padding
:
(
$baseline
/
10
);
border
:
1px
solid
$gray-l4
;
.icon
{
@extend
%t-action1
;
color
:
$white
;
}
.title
{
@extend
%t-title5
;
@extend
%t-strong
;
margin
:
0
0
(
$baseline
/
2
)
0
;
color
:
$gray-d3
;
&
:hover
{
top
:
0
;
background
:
$blue
;
}
}
.description
{
@extend
%t-copy-sub2
;
margin-top
:
(
$baseline
/
2
);
color
:
$gray-l1
;
}
img
{
@include
box-sizing
(
border-box
);
width
:
100%
;
overflow-y
:
scroll
;
padding
:
(
$baseline
/
10
);
border
:
1px
solid
$gray-l4
;
}
.title
{
@extend
%t-title5
;
@extend
%t-strong
;
margin
:
0
0
(
$baseline
/
2
)
0
;
color
:
$gray-d3
;
}
.description
{
@extend
%t-copy-sub2
;
margin-top
:
(
$baseline
/
2
);
color
:
$gray-l1
;
}
}
common/static/css/vendor/normalize.css
View file @
5ebe91e1
...
...
@@ -405,10 +405,3 @@ table {
border-spacing
:
0
;
}
/**
* Hide staticpage preview on load (Studio).
*/
#preview-lms-staticpages
{
display
:
none
;
}
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