Commit 5ebe91e1 by Chris

Merge pull request #7395 from Stanford-Online/kluo/fix-modal-display-issue

Fix modal css to be hidden immediately
parents 7dd7e652 8d56fe3b
...@@ -666,22 +666,18 @@ hr.divider { ...@@ -666,22 +666,18 @@ hr.divider {
} }
} }
// +JS Dependent // lean/simple modal window
// ==================== .content-modal {
body.js {
// lean/simple modal window
.content-modal {
@include border-bottom-radius(2px); @include border-bottom-radius(2px);
@include box-sizing(border-box); @include box-sizing(border-box);
box-shadow: 0 2px 4px $shadow-d1;
position: relative; position: relative;
display: none; display: none;
width: 700px; width: 700px;
overflow: hidden;
border: 1px solid $gray-d1;
padding: ($baseline); padding: ($baseline);
border: 1px solid $gray-d1;
background: $white; background: $white;
box-shadow: 0 2px 4px $shadow-d1;
overflow: hidden;
.action-modal-close { .action-modal-close {
@include transition(top $tmg-f3 ease-in-out 0s); @include transition(top $tmg-f3 ease-in-out 0s);
...@@ -703,8 +699,8 @@ body.js { ...@@ -703,8 +699,8 @@ body.js {
} }
&:hover { &:hover {
background: $blue;
top: 0; top: 0;
background: $blue;
} }
} }
...@@ -728,5 +724,5 @@ body.js { ...@@ -728,5 +724,5 @@ body.js {
margin-top: ($baseline/2); margin-top: ($baseline/2);
color: $gray-l1; color: $gray-l1;
} }
}
} }
...@@ -405,10 +405,3 @@ table { ...@@ -405,10 +405,3 @@ table {
border-spacing: 0; border-spacing: 0;
} }
/**
* Hide staticpage preview on load (Studio).
*/
#preview-lms-staticpages {
display: none;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment