diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2018-11-11 22:04:49 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2018-11-11 22:04:49 +0100 |
commit | a64af357ff41a61f5248e2052274315b390e979c (patch) | |
tree | f08323727b1b2a1fc86f8290777cf847f9604334 /assets/css/edit.css | |
parent | cea923a1e82a7e8ce696418c3a5a0f7703871101 (diff) | |
download | wcms-a64af357ff41a61f5248e2052274315b390e979c.tar.gz wcms-a64af357ff41a61f5248e2052274315b390e979c.zip |
clean
Diffstat (limited to 'assets/css/edit.css')
-rw-r--r-- | assets/css/edit.css | 181 |
1 files changed, 181 insertions, 0 deletions
diff --git a/assets/css/edit.css b/assets/css/edit.css new file mode 100644 index 0000000..e5f6cda --- /dev/null +++ b/assets/css/edit.css @@ -0,0 +1,181 @@ +div#options { + float: left; +} + +div#main { + display: inline-block; +} + +body { + margin: 0; + height: 100%; + background-color: #b1b1b1; +} + +.menu { + position: fixed; + right: 0; +} + +.editor div#leftbar { + position: relative; + height: 100%; +} + +.editor .tabs { + flex: 2; + position: relative; + height: 100%; +} + + + +.editor #leftbarpanel, .editor #rightbarpanel { + width: 250px; + display: none; + height: 100%; + overflow-y: auto; +} + +.editor #showleftpanel:checked ~ #leftbarpanel { + display: block; + overflow-y: auto; + height: 100%; +} + +.editor #showrightpanel:checked ~ #rightbarpanel { + display: block; +} + +.editor input.toggle { + display: none; +} + +.editor label.toogle:hover { + color: white; + cursor: pointer; + background-color: #e2e2e2; +} + +.editor label.toogle { + height: 100%; + line-height: 100%; + text-align: center; +} + +.editor #leftbar label.toogle { + float: right; +} + +.editor #rightbar label.toogle { + float: left; +} + + +#rightbarpanel { + display: none; + width: 250px; +} +#rightbar:target #rightbarpanel { + display: inline-block; + overflow-y: scroll; + height: 100%; +} +#rightbar:target #open { + display: none; +} + + + + + + +.editor #workspace { + display: flex; + height: calc(100% - 30px); + position: relative; +} + + +.tabs .tab +{ + float: left; +} + +.tabs .tab .content +{ + position: absolute; + background-color: #dc8ad2; + left: 0px; + width: 100%; + height: calc(100% - 30px); +} + +.checkboxtab +{ + display: none; +} + +.tab label +{ + margin-right: 10px; + border: outset; + background-color: var(--color1); +} + +.checkboxtab:checked ~ label +{ + border: inset; +} + +.checkboxtab:checked ~ .content +{ + z-index: 1; +} + + + +section.editor { + position: fixed; + width: 100%; + height: 100%; +} + + +html { + height: 100%; +} + +.tabs textarea {height: 100%;width: 100%;border: none;resize: none;} + +* { + box-sizing: border-box; +} + +.editor .tabs label { + line-height: 30px; +} + +.editor #topbar { + line-height: 30px; +} + +.editor ul { + list-style: none; + padding: 0; +} + +.editor #leftbar select { + width: 100%; +} + +.editor .panel input { + width: 100%; +} + + +.editor a {color: black;text-decoration: none;} + +.editor a:hover { + color: white; +} |