Files
neoCMS/cms/css/editor.css
T

169 lines
2.8 KiB
CSS

html,
body {
height: 100%;
margin: 0;
}
.pageContainer {
display: flex;
flex-flow: column;
height: 100%;
}
.pageContainer .controls {
flex: 0 1 auto;
height: 60px;
background-color: #1a1d20;
border-bottom: 1px solid #1a1a1a;
-webkit-box-shadow: 0 10px 13px -7px #000000, -1px -1px 15px 5px rgba(0, 0, 0, 0);
box-shadow: 0 10px 13px -7px #000000, -1px -1px 15px 5px rgba(0, 0, 0, 0);
}
.pageContainer .frame {
flex: 1 1 auto;
border: 0;
}
.controls .logo {
background-image: url("/cms/img/logo.png");
width: 60px;
height: 60px;
display: block;
position: absolute;
}
.controls .buttonContainer {
width: 400px;
margin: 12px 0;
position: absolute;
right: 110px;
}
/* CSS */
.headerButton {
/*display: flex;*/
flex-direction: column;
align-items: center;
padding: 6px 14px;
font-family: -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
border-radius: 6px;
border: none;
background: #6E6D70;
box-shadow: 0px 0.5px 1px rgba(0, 0, 0, 0.1), inset 0px 0.5px 0.5px rgba(255, 255, 255, 0.5), 0px 0px 0px 0.5px rgba(0, 0, 0, 0.12);
color: #DFDEDF;
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
}
.headerButton:focus {
box-shadow: inset 0px 0.8px 0px -0.25px rgba(255, 255, 255, 0.2), 0px 0.5px 1px rgba(0, 0, 0, 0.1), 0px 0px 0px 3.5px rgba(58, 108, 217, 0.5);
outline: 0;
}
.headerButton.dangerButton {
background-color: #6E4D50;
}
.controls #urlbox {
margin: 15px 70px;
text-align: center;
font-size: 1.5em;
position: absolute;
color: #dee2e6;
}
.controls #urlbox div {
float: right;
margin-left: 10px;
}
.controls .loggedInDetails {
position: absolute;
top: 20px;
right: 10px;
color: #dee2e6;
}
.controls .buttonContainer ul {
list-style-type: none;
margin: 0;
padding: 0;
}
.controls .buttonContainer li {
display: inline;
margin-right: 10px;
}
/**
New Page Modal
*/
#newPageDialog {
display: none;
}
.newpage-content {
padding: 20px;
background-color: #fefefe;
border: 1px solid #888;
width: 400px;
margin: auto;
}
.newpage-content form {
display: flex;
flex-direction: column;
}
.newpage-content label {
margin-bottom: 10px;
}
.newpage-content input[type="text"] {
margin-bottom: 20px;
padding: 5px;
}
#newPageForm label {
display: block;
}
/**
File List Modal
*/
#fileListDialog {
display: none;
}
.filelist-content {
padding: 20px;
background-color: #fefefe;
border: 1px solid #888;
width: 400px;
margin: auto;
}
#fileList {
list-style-type: none;
padding: 0;
}
#fileList li {
padding: 10px;
cursor: pointer;
background-color: #f0f0f0;
margin-bottom: 5px;
}
#fileList li:hover {
background-color: #e0e0e0;
}
.redText {
color: #ff4d4d;
}