new updates
This commit is contained in:
351
assets/src/css/main.css
Normal file
351
assets/src/css/main.css
Normal file
@@ -0,0 +1,351 @@
|
||||
body {
|
||||
font-family: 'Roboto', sans-serif;
|
||||
color: #212121;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
code {
|
||||
border-radius: .2em;
|
||||
}
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
#content {
|
||||
padding-top: 3em;
|
||||
}
|
||||
|
||||
.full {
|
||||
position: fixed;
|
||||
height: calc(100% - 3em);
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin: .83em 0;
|
||||
}
|
||||
|
||||
header {
|
||||
color: #fff;
|
||||
background-color: #37474f;
|
||||
padding: .67em 0;
|
||||
}
|
||||
|
||||
header h1 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.container {
|
||||
margin: 0 auto;
|
||||
width: 95%;
|
||||
max-width: 800px;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.left {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.right {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
|
||||
/* NAVIGATION */
|
||||
|
||||
body > nav {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 3em;
|
||||
width: 100%;
|
||||
background-color: #2196F3;
|
||||
padding: 0 1em;
|
||||
box-sizing: border-box;
|
||||
z-index: 999;
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
body > nav ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: -webkit-box;
|
||||
display: -moz-box;
|
||||
display: -ms-flexbox;
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
body > nav ul li {
|
||||
list-style-type: none;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
body > nav ul li:last-child {
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
body > nav img {
|
||||
height: 2em;
|
||||
}
|
||||
|
||||
body > nav ul li a {
|
||||
padding: .5em;
|
||||
line-height: 2em;
|
||||
display: block;
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
transition: .5s ease background-color;
|
||||
}
|
||||
|
||||
body > nav ul li a:hover {
|
||||
background-color: rgba(255, 255, 255, 0.57);
|
||||
}
|
||||
|
||||
|
||||
/* NOFICATIONS */
|
||||
|
||||
#noty_topRight_layout_container {
|
||||
font-family: sans-serif;
|
||||
top: 4em !important;
|
||||
right: 1em !important;
|
||||
position: fixed !important;
|
||||
width: 310px;
|
||||
height: auto;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style-type: none;
|
||||
z-index: 10000000;
|
||||
}
|
||||
|
||||
#noty_topRight_layout_container li {
|
||||
overflow: hidden;
|
||||
margin: 0 0 .25em;
|
||||
}
|
||||
|
||||
.noty_bar {
|
||||
color: #fff;
|
||||
background-color: #cfd8dc;
|
||||
border-radius: .3em;
|
||||
}
|
||||
|
||||
.noty_message {
|
||||
font-size: .75em;
|
||||
font-weight: bold;
|
||||
line-height: 1.2em;
|
||||
text-align: left;
|
||||
padding: 1em;
|
||||
width: auto;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.noty_text {
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
margin-left: 3em;
|
||||
top: 1em;
|
||||
}
|
||||
|
||||
.noty_icon {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
box-sizing: border-box;
|
||||
height: 100%;
|
||||
padding: 1em;
|
||||
background-color: rgba(0, 0, 0, .1);
|
||||
border-top-left-radius: .3em;
|
||||
border-bottom-left-radius: .3em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.noty_icon .fa {
|
||||
width: 1em !important;
|
||||
}
|
||||
|
||||
.noty_type_success {
|
||||
background-color: #00c853;
|
||||
}
|
||||
|
||||
.noty_type_error {
|
||||
background-color: #ff5252;
|
||||
}
|
||||
|
||||
.noty_type_warning {
|
||||
background-color: #ffd600;
|
||||
}
|
||||
|
||||
.noty_type_information {
|
||||
background-color: #448aff;
|
||||
}
|
||||
|
||||
|
||||
/* EDITOR */
|
||||
|
||||
.editor h1 textarea {
|
||||
width: 100%;
|
||||
border: 0;
|
||||
font-size: 2em;
|
||||
font-weight: 400;
|
||||
resize: none;
|
||||
overflow: hidden;
|
||||
line-height: 1em;
|
||||
height: 1em;
|
||||
}
|
||||
|
||||
button.add,
|
||||
button.delete,
|
||||
button.rename {
|
||||
border-radius: 0.2em;
|
||||
border: 0;
|
||||
color: #fff;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
button.add {
|
||||
background-color: #8BC34A;
|
||||
}
|
||||
|
||||
button.delete {
|
||||
background-color: #F44336;
|
||||
}
|
||||
|
||||
button.rename {
|
||||
background-color: #1565C0;
|
||||
}
|
||||
|
||||
.block > .actions,
|
||||
fieldset > .actions {
|
||||
position: absolute;
|
||||
top: 0.5em;
|
||||
right: 0.5em;
|
||||
}
|
||||
|
||||
.blocks {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.block,
|
||||
fieldset {
|
||||
background-color: #EAEAEA;
|
||||
padding: 0.6em;
|
||||
box-sizing: border-box;
|
||||
margin: 0 0 1em;
|
||||
position: relative;
|
||||
flex-basis: 49%;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.block label,
|
||||
fieldset label,
|
||||
fieldset h3 {
|
||||
font-weight: bold;
|
||||
display: block;
|
||||
margin-top: 0;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
.block textarea {
|
||||
width: 100%;
|
||||
resize: vertical;
|
||||
background-color: inherit;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.block input,
|
||||
fieldset input {
|
||||
border: 0;
|
||||
outline: 0;
|
||||
background-color: transparent;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
fieldset input {
|
||||
width: calc(100% - 1.57em);
|
||||
margin: 0.5em 0;
|
||||
}
|
||||
|
||||
.editor.complete .block[data-content="title"] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
/* TOGGLER, SOURCE AND PREVIEW */
|
||||
|
||||
.editor .content {
|
||||
border-radius: 0.5em;
|
||||
border: 1px solid #d8d8d8;
|
||||
background-color: #f7f7f7;
|
||||
}
|
||||
|
||||
.editor .content nav a {
|
||||
padding: 1em 1em;
|
||||
line-height: 3em;
|
||||
cursor: pointer;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
.ace_editor {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.ace_gutter {
|
||||
background-color: #f7f7f7 !important;
|
||||
}
|
||||
|
||||
|
||||
/* BROWSE */
|
||||
|
||||
.browse a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.browse table {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.browse .actions {
|
||||
background-color: #455a64;
|
||||
color: #fff;
|
||||
padding: 1.5em 0;
|
||||
}
|
||||
|
||||
.browse .actions .container {
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.browse .actions .fa {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.browse .actions .go-right {
|
||||
margin-left: auto;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.browse tr {
|
||||
line-height: 2em;
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.03);
|
||||
}
|
||||
|
||||
.browse #new-file {
|
||||
display: none;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 2.5em;
|
||||
background-color: #263238;
|
||||
color: rgba(255, 255, 255, .5);
|
||||
border-radius: .5em;
|
||||
padding: 1em;
|
||||
width: 182%;
|
||||
}
|
||||
1
assets/src/css/main.min.css
vendored
Normal file
1
assets/src/css/main.min.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.full,body{width:100%}.full,body>nav{position:fixed}.noty_icon,body>nav{left:0;box-sizing:border-box}.block,.noty_icon,.noty_text,body>nav,fieldset{box-sizing:border-box}.browse .actions .fa,body>nav ul li{vertical-align:middle}body{font-family:Roboto,sans-serif;color:#212121;height:100%}code{border-radius:.2em}img{max-width:100%}#content{padding-top:3em}.full{height:calc(100% - 3em)}h2{margin:.83em 0}header{color:#fff;background-color:#37474f;padding:.67em 0}header h1{margin:0}.container{margin:0 auto;width:95%;max-width:800px}.hidden{display:none}.left{text-align:left}.right{text-align:right}body>nav{top:0;height:3em;width:100%;background-color:#2196F3;padding:0 1em;z-index:999;color:#eee}body>nav ul{margin:0;padding:0;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex}body>nav ul li{list-style-type:none;display:inline-block}body>nav ul li:last-child{margin-left:auto}body>nav img{height:2em}body>nav ul li a{padding:.5em;line-height:2em;display:block;text-decoration:none;color:inherit;transition:.5s ease background-color}body>nav ul li a:hover{background-color:rgba(255,255,255,.57)}#noty_topRight_layout_container{font-family:sans-serif;top:4em!important;right:1em!important;position:fixed!important;width:310px;height:auto;margin:0;padding:0;list-style-type:none;z-index:10000000}#noty_topRight_layout_container li{overflow:hidden;margin:0 0 .25em}.noty_bar{color:#fff;background-color:#cfd8dc;border-radius:.3em}.noty_message{font-size:.75em;font-weight:700;line-height:1.2em;text-align:left;padding:1em;width:auto;position:relative}.noty_text{display:block;margin-left:3em;top:1em}.noty_icon{position:absolute;top:0;height:100%;padding:1em;background-color:rgba(0,0,0,.1);border-top-left-radius:.3em;border-bottom-left-radius:.3em;text-align:center}.noty_icon .fa{width:1em!important}.noty_type_success{background-color:#00c853}.noty_type_error{background-color:#ff5252}.noty_type_warning{background-color:#ffd600}.noty_type_information{background-color:#448aff}.editor h1 textarea{width:100%;border:0;font-size:2em;font-weight:400;resize:none;overflow:hidden;line-height:1em;height:1em}button.add,button.delete,button.rename{border-radius:.2em;border:0;color:#fff;font-weight:400}button.add{background-color:#8BC34A}button.delete{background-color:#F44336}button.rename{background-color:#1565C0}.block>.actions,fieldset>.actions{position:absolute;top:.5em;right:.5em}.blocks{display:flex;flex-wrap:wrap;justify-content:space-between}.block,fieldset{background-color:#EAEAEA;padding:.6em;margin:0 0 1em;position:relative;flex-basis:49%;border:0}.block label,fieldset h3,fieldset label{font-weight:700;display:block;margin-top:0;font-size:1em}.block textarea{width:100%;resize:vertical;background-color:inherit;border:0}.block input,fieldset input{border:0;outline:0;background-color:transparent;width:100%}fieldset input{width:calc(100% - 1.57em);margin:.5em 0}.editor.complete .block[data-content=title]{display:none}.editor .content{border-radius:.5em;border:1px solid #d8d8d8;background-color:#f7f7f7}.editor .content nav a{padding:1em;line-height:3em;cursor:pointer;font-size:1em}.ace_editor{margin:0}.ace_gutter{background-color:#f7f7f7!important}.browse a{color:inherit;text-decoration:none}.browse table{width:100%}.browse .actions{background-color:#455a64;color:#fff;padding:1.5em 0}.browse .actions .container{margin:0 auto;display:flex}.browse .actions .go-right{margin-left:auto;position:relative}.browse tr{line-height:2em;border-bottom:1px solid rgba(0,0,0,.03)}.browse #new-file{display:none;position:absolute;right:0;top:2.5em;background-color:#263238;color:rgba(255,255,255,.5);border-radius:.5em;padding:1em;width:182%}
|
||||
Reference in New Issue
Block a user