X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/16c1f6ba31642aa189c514d21dcdc1b27e1dcd4e..759c804d6c3b8db0ad99dcd5d155396b29ebedd7:/project/static/css/master.css diff --git a/project/static/css/master.css b/project/static/css/master.css index 66997a93..5f81f17e 100644 --- a/project/static/css/master.css +++ b/project/static/css/master.css @@ -1,155 +1,339 @@ body { - margin: 0; - font: 14px Helvetica, Verdana, sans-serif; + margin: 0; + + font: 12px Helvetica, Verdana, sans-serif; overflow: hidden; + background: #AAA; } -#breadcrumbs { - padding: 5px 10px; - background-color: #CDCDCD; - border-bottom: 1px solid #858585; -} +/* fix icon buttons */ -ul { - margin: 20px; - padding: 0; +button img { + vertical-align: middle; + margin: 0px; } -li { - margin: 0; - padding: 0; - list-style: none; +/* default form style hacks */ +select { + border: none; + margin-left: 0.1em; } -a { - text-decoration: none; +#body-wrap { + margin: 0px; + padding: 0px; } -a:hover { - text-decoration: underline; -} +#header { + position: absolute; + padding: 2px 0.5em; + background-color: #CDCDCD; /* !unused */ + border-bottom: 2px solid black; -li a { - display: block; - padding: 5px 20px; - width: 480px; + font-size: 14px; + + line-height: 26px; + vertical-align: middle; + + /* height: 30px; */ + top: 0px; left: 0px; right: 0px; + z-index: 300; } -li a:hover { - background-color: #BCD6E9; +#content { + position: absolute; + top: 32px; left: 0px; right: 0px; bottom: 0px; + overflow: auto; + background-color: white; } -#tabs { - border-bottom: 1px solid #858585; - background-color: #B7B7B7; +#header #breadcrumbs { } -#tabs a { - display: block; - border-right: 1px solid #858585; - float: left; - padding: 5px 10px; +#header-right-toolbar { + position: absolute; + right: 1em; } -#tabs a.active { - background-color: #909090; +#header button { + vertical-align: middle; } -.theme-begin { - display: none; +/* ========== */ +/* = Panels = */ +/* ========== */ + +/* #panels { + height: 100%; + width: 100%; } -label { - display: block; +.panel-wrap { + overflow: hidden; + position: absolute; + top: 0px; + bottom: 0px; } -#text_id { - width: 480px; - height: 480px; +#left-panel-wrap { + left: 0px; + width: 8px; } -#file-text { - padding: 5px 10px; - overflow-x: hidden; - overflow-y: scroll; +#right-panel-wrap { + right: 0px; + width: auto; + left: 8px; } -#images-wrap { - width: 0px; - height: 480px; - border-right: 1px solid #999; - overflow-y: scroll; +.panel-content { + position: absolute; + overflow: auto; overflow-x: hidden; - background-color: #fff; - float: left; + top: 25px; left: 0px; bottom:0px; right: 0px; } -#sidebar { - float: left; - width: 8px; +.panel-overlay { + position: absolute; + top: 0px; bottom: 0px; left: 0px; right: 0px; + z-index: 100; + background: gray; + opacity: 0.8; + text-align: center; overflow: hidden; + display: none; + cursor: col-resize; } -#toggle-sidebar { +.panel-content-overlay { +} + +.panel-wrap.last-panel .panel-content { + right: 0px; +} + +.panel-wrap.last-panel .panel-slider { + display: none; +} + +.panel-wrap .panel-toolbar { + position: absolute; + top: 0px; left:0px; right: 0px; height: 26px; + padding: 0px; + + border-bottom: 1px solid #AAA; + z-index: 80; +} +.panel-wrap .panel-slider { + position: absolute; background-color: #DDD; - width: 7px; - height: 100%; - float: left; + + top: 0px; bottom: 0px; right: 0px; width: 4px; + + border-left: 1px solid #999; + border-right: 1px solid #999; + border-top: none; + border-bottom: none; + + z-index: 90; + cursor: col-resize; } -#toggle-sidebar:hover { +.panel-wrap .panel-slider:hover { background-color: #999; - cursor: pointer; } -#status-bar { - border-top: 1px solid #999; - background-color: #EEE; - padding: 2px 10px; +.panel-content-overlay.panel-wrap .panel-slider { + background-color: #DDD; } -.errorlist { +*/ + +/* OLD STUFF AGAIN */ + +/* Commit dialog */ +#commit-dialog-error-empty-message { color: red; - margin: 0 20px 0 0; - padding: 0; - float: left; + display: none; + font-weight: bold; } -.errorlist:before { - content: ''; - clear: both; +text#commit-dialog-message { + width: 80%; + margin: auto; } -p { - margin: 0; +#split-dialog .container-box form { + margin: 0.2em 1em; } -.image-box { - border-top: 1px solid #DDD; +#split-dialog .container-box fieldset { + margin: 0.5em; } -#toolbar, #toolbar ol { - display: block; - margin: 0; + + + +/* ======= */ +/* = New = */ +/* ======= */ +#splitview { + width: 100%; + height: 100%; padding: 0; + margin: 0; +} + +.splitview-splitbar { + width: 5px; + border-left: 1px solid #999; + border-right: 1px solid #999; + height: 100%; background-color: #CCC; - border-bottom: 1px solid #AAA; + z-index: 100; +} + +.splitview-overlay { + z-index: 90; + background: #FFF; + opacity: 0.5; +} + +.panel-container { + height: 100%; + position: relative; +} + +.content-view { + position: absolute; + top: 25px; + right: 0; + bottom: 0; + left: 0; + overflow: hidden; +} + +.panel-main-toolbar { + z-index: 1100; + position: absolute; + + top: 0px; + right: 0px; + left: 0px; + height: 24px; + + border-bottom: 1px solid black; + background: gray; + + padding: 0px; +} + +.panel-main-toolbar p { + margin: 0px; + padding: 2px; + line-height: 20px; + font-size: 13px; +} + +.xmlview { + height: 100%; } -#toolbar li { +.view-overlay { + z-index: 1000; + background: #FFF; + opacity: 0.8; + text-align: center; + text-valign: center; +} + +.view-overlay p { display: block; - float: left; - margin: 0; - padding: 0; - border-left: 1px solid #EEE; - border-right: 1px solid #AAA; + position: relative; + top: auto; + bottom: auto; + height: 40px; } -#toolbar li p, #toolbar ol li { - padding: 2px 10px; +/* .buttontoolbarview { + display: block; + background-color: #CCC; +} + +.buttontoolbarview a { + color: #000; + text-decoration: none; +} */ /* Similar classes already exist in toolbar.css */ + + +/* ================= */ +/* = Gallery panel = */ +/* ================= */ +.image-gallery-view-template { + position: absolute; + top: 0px; left: 0px; right: 0px; bottom: 0px; + overflow: hidden; +} + +.image-gallery-header { + position: absolute; + bottom: 0px; + left: 0px; + right: 0px; + height: 30px; + + background: gray; + border-top: 1px solid #780000; + z-index: 100; +} + +input.image-gallery-current-page { + text-align: center; +} + +.image-gallery-header p { + margin: 0px; + padding: 3px 1em; + height: 30px; + line-height: 24px; + text-align: center; + white-space: nowrap; +} + +.image-gallery-page-list { + position: absolute; + top: 0px; + left: 0px; + right: 0px; + bottom: 31px; + background: black; + z-index: 0; + + overflow: hidden; +} + +.image-gallery-page-container { + display: none; + border: none; + + position: absolute; + top: 0px; left: 0px; + + text-align: center; + padding: 0px; +} + +.htmlview { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + overflow: auto; + margin: 0; } -#toolbar li p:hover { - cursor:pointer; - background-color: #EEE; +.image-gallery-page-container img { + /* border: 2px solid green; */ + margin: 0px; } \ No newline at end of file