create boundaries (bottom only)
This commit is contained in:
@@ -4,9 +4,11 @@
|
||||
|
||||
#editor_container {
|
||||
|
||||
padding:1em;
|
||||
border: 1em solid #EDE0D0;
|
||||
border-radius: 0.5em;
|
||||
height: calc(100% - 4em);
|
||||
overflow: hidden;
|
||||
position:relative;
|
||||
|
||||
#editor_content {
|
||||
|
||||
@@ -23,6 +25,24 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.shade {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
background:red;
|
||||
|
||||
&.top {
|
||||
top:0;
|
||||
}
|
||||
|
||||
&.bottom {
|
||||
bottom:0;
|
||||
}
|
||||
&.bottomplus {
|
||||
top:100%;
|
||||
height:2em;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user