Maor UI polish for editing with live preview

This commit is contained in:
Mathias Biilmann Christensen
2016-09-12 11:14:21 +02:00
parent fcd0ce718a
commit 8221c9c170
17 changed files with 242 additions and 109 deletions

View File

@ -43,12 +43,6 @@ h1{
font-size: 25px;
}
input{
width:100%;
padding:3px;
font-size:14px;
margin-bottom:10px;
}
header input{
margin-bottom:0;
}
@ -61,6 +55,59 @@ button{
cursor: pointer;
}
:global {
& .cms-widget {
border-bottom: 1px solid #e8eae8;
position: relative;
}
& .cms-widget:after {
content: '';
position: absolute;
left: 42px;
bottom: -7px;
width: 12px;
height: 12px;
background-color: #f2f5f4;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
z-index: 1;
border-right: 1px solid #e8eae8;
border-bottom: 1px solid #e8eae8;
}
& .cms-widget:last-child {
border-bottom: none;
}
& .cms-widget:last-child:after {
display: none;
}
& .cms-control {
color: #7c8382;
position: relative;
padding: 20px 0;
& label {
color: #AAB0AF;
font-size: 12px;
margin-bottom: 18px;
}
& input,
& textarea,
& select,
& .cms-editor-raw {
font-family: monospace;
display: block;
width: 100%;
padding: 0;
margin: 0;
border: none;
outline: 0;
box-shadow: none;
background: 0 0;
font-size: 18px;
color: #7c8382;
}
}
}
:global {
& .rdt {
position: relative;