X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/bc45c0b826b50a6d5f472d0ebcbe92bb1b5a68c4..213b1af47b5f2c279db50304d318eb972289e3aa:/project/static/css/master.css diff --git a/project/static/css/master.css b/project/static/css/master.css index 84a91294..ae51e475 100644 --- a/project/static/css/master.css +++ b/project/static/css/master.css @@ -1,268 +1,415 @@ body { - margin: 0; - font: 14px Helvetica, Verdana, sans-serif; + margin: 0; + + font: 12px Helvetica, Verdana, sans-serif; overflow: hidden; + background: #AAA; +} + +/* fix icon buttons */ + +button img { + vertical-align: middle; + margin: 0px; +} + +/* default form style hacks */ +select { + border: none; + margin-left: 0.1em; +} + +#body-wrap { + margin: 0px; + padding: 0px; } #header { - position: relative; + position: absolute; padding: 2px 0.5em; - background-color: #CDCDCD; - border-bottom: 1px solid black; - clear: both; + background-color: #CDCDCD; /* !unused */ + border-bottom: 2px solid black; + + font-size: 14px; + + line-height: 26px; + vertical-align: middle; + + /* height: 30px; */ + top: 0px; left: 0px; right: 0px; + z-index: 300; } -#header #breadcrumbs { +#content { + position: absolute; + top: 32px; left: 0px; right: 0px; bottom: 0px; + overflow: auto; + background-color: white; +} +#header #breadcrumbs { } -#header #login_info { - position: absolute; - right: 1em; +#header-right-toolbar { + position: absolute; + right: 1em; } -ul { - margin: 20px; - padding: 0; +#header button { + vertical-align: middle; } -li { - margin: 0; - padding: 0; - list-style: none; +/* ========== */ +/* = Panels = */ +/* ========== */ + +/* #panels { + height: 100%; + width: 100%; } -a { - text-decoration: none; +.panel-wrap { + overflow: hidden; + position: absolute; + top: 0px; + bottom: 0px; } -a:hover { - text-decoration: underline; +#left-panel-wrap { + left: 0px; + width: 8px; } -li a { - display: block; - padding: 5px 20px; - width: 480px; +#right-panel-wrap { + right: 0px; + width: auto; + left: 8px; } -li a:hover { - background-color: #BCD6E9; +.panel-content { + position: absolute; + overflow: auto; + overflow-x: hidden; + top: 25px; left: 0px; bottom:0px; right: 0px; } -#tabs { - border-bottom: 1px solid #858585; - background-color: #B7B7B7; +.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; } -#tabs a { - display: block; - border-right: 1px solid #858585; - float: left; - padding: 5px 10px; +.panel-content-overlay { } -#tabs a.active { - background-color: #909090; +.panel-wrap.last-panel .panel-content { + right: 0px; } -.theme-begin { +.panel-wrap.last-panel .panel-slider { display: none; } -label { - display: block; +.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; + + top: 0px; bottom: 0px; right: 0px; width: 4px; -#text_id { - width: 480px; - height: 480px; + border-left: 1px solid #999; + border-right: 1px solid #999; + border-top: none; + border-bottom: none; + + z-index: 90; + cursor: col-resize; } -#file-text { - padding: 5px 10px; - overflow-x: hidden; - overflow-y: scroll; +.panel-wrap .panel-slider:hover { + background-color: #999; } -/* ========== */ -/* = Panels = */ -/* ========== */ +.panel-content-overlay.panel-wrap .panel-slider { + background-color: #DDD; +} -#panels { - position: absolute; - bottom: 0px; left: 0px; right: 0px; top: 50px; +*/ + +/* OLD STUFF AGAIN */ + +/* Commit dialog */ +#commit-dialog-error-empty-message { + color: red; + display: none; + font-weight: bold; } -.panels-mouse-overlay { - position: absolute; - top: 0px; bottom: 0px; left: 0px; right: 0px; - z-index: 0; - background: transparent; +text#commit-dialog-message { + width: 80%; + margin: auto; } -.panel-wrap { - overflow: hidden; - position: absolute; /* absolute to relation with #panels */ - top: 0px; - bottom: 0px; +#split-dialog .container-box form { + margin: 0.2em 1em; } -#left-panel-wrap { - left: 0px; - width: 8px; /* initial width */ +#split-dialog .container-box fieldset { + margin: 0.5em; } -#right-panel-wrap { - right: 0px; - width: auto; - left: 8px; /* initial width of the left panel */ + + + +/* ======= */ +/* = New = */ +/* ======= */ +#splitview { + width: 100%; + height: 100%; + padding: 0; + margin: 0; } -/* contents */ -.panel-contents { - position: absolute; - top: 22px; left: 0px; right: 8px; bottom:0px; +.splitview-splitbar { + width: 5px; + border-left: 1px solid #999; + border-right: 1px solid #999; + height: 100%; + background-color: #CCC; + z-index: 100; } -.panel-wrap.no-slider .panel-contents { - right: 0px; +.splitview-overlay { + z-index: 90; + background: #FFF; + opacity: 0.5; } -/* Toolbars with select box to change panel contents*/ -.panel-toolbar { - position: absolute; - top: 0px; left:0px; right: 0px; height: 20px; +.panel-container { + height: 100%; + position: relative; +} - padding: 0 0 2px 0; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - font-size: 12px; - line-height: 20px; - background-color: #DDD; - white-space: nowrap; +.content-view { + position: absolute; + top: 25px; + right: 0; + bottom: 0; + left: 0; overflow: hidden; } -.panel-toolbar label { - display: block; - float: left; - margin: 0 10px 0 2px; +.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; } -/* Slider between panels */ -.panel-wrap .panel-slider { - position: absolute; +.panel-main-toolbar p { + margin: 0px; + padding: 2px; + line-height: 20px; + font-size: 13px; +} - top: 0px; bottom: 0px; right: 0px; width: 6px; +.xmlview { + height: 100%; +} - border-left: 1px solid #999; - border-right: 1px solid #999; - border-top: none; - border-bottom: none; +.view-overlay { + z-index: 1000; + background: #FFF; + opacity: 0.8; + text-align: center; + text-valign: center; } -.panel-wrap .panel-slider:hover { - background-color: #999; - cursor: col-resize; +.view-overlay p { + display: block; + position: relative; + top: auto; + bottom: auto; + height: 40px; } +/* .buttontoolbarview { + display: block; + background-color: #CCC; +} + +.buttontoolbarview a { + color: #000; + text-decoration: none; +} */ /* Similar classes already exist in toolbar.css */ + + /* ================= */ /* = Gallery panel = */ /* ================= */ -.images-wrap, .htmleditor { - overflow-x: hidden; - overflow-y: scroll; +.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; -/* ==================== */ -/* = XML Editor panel = */ -/* ==================== */ - -#toolbar { - height: 48px; - overflow: hidden; + background: gray; + border-top: 1px solid #780000; + z-index: 100; } -#toolbar, #toolbar ol, #sidebar-toolbar, #sidebar-toolbar ol { -/* overflow: hidden;*/ - display: block; - margin: 0; - padding: 0; - background-color: #CCC; - border-top: 1px solid #AAA; +input.image-gallery-current-page { + text-align: center; } -#sidebar-toolbar { - width: 0; +.image-gallery-header p { + margin: 0px; + padding: 3px 1em; + height: 30px; + line-height: 24px; + text-align: center; + white-space: nowrap; } -#sidebar-toolbar, #sidebar-toolbar ol { +.image-gallery-page-list { + position: absolute; + top: 0px; + left: 0px; + right: 0px; + bottom: 31px; + background: black; + z-index: 0; + overflow: hidden; } -#sidebar-tabs li, #toolbar-tabs li { - font-size: 14px; - display: block; - float: left; - margin: 4px 0 -1px 4px; - padding: 2px 10px 0 10px; - background-color: #CCC; - border: 1px solid #AAA; - border-radius-topleft: 8px; - border-radius-topright: 8px; - -moz-border-radius-topleft: 8px; - -moz-border-radius-topright: 8px; - -webkit-border-top-left-radius: 8px; - -webkit-border-top-right-radius: 8px; +.image-gallery-page-container { + display: none; + border: none; + + position: absolute; + top: 0px; left: 0px; + + text-align: center; + padding: 0px; } -#sidebar-tabs, #toolbar-tabs { - height: 21px; - z-index: 1000; -/* overflow: hidden;*/ +.htmlview { + position: absolute; + top: 25px; + right: 0; + bottom: 0; + left: 0; + overflow: auto; + margin: 0; } -#sidebar-tabs li:hover, #sidebar-tabs li.active, #toolbar-tabs li:hover, #toolbar-tabs li.active { - cursor: default; - background-color: #EEE; - border-bottom: 1px solid #EEE; +.image-gallery-page-container img { + /* border: 2px solid green; */ + margin: 0px; +} + +body#base button { + background-color: #DDD; + border-width: 1px; + padding: 0px 0.5em; + font-family: Sans-Serif; + /* color: #000; */ + margin: 2px 4px; } -#toolbar-buttons { +body#base button:hover { background-color: #EEE; - border-bottom: 1px solid #AAA; } -#toolbar-buttons li { - display: block; - font-size: 12px; - padding: 1px 8px; - margin: 4px; - border-radius: 10px; - -moz-border-radius: 10px; - -webkit-border-radius: 8px; - float: left; +/* HTML editor interactive elements */ + +.html-editarea { + border: 2px solid black; + background-color: gray; + padding: 1px; + + z-index: 2000; } -#toolbar-buttons li:hover { - background-color: #777; - color: #FFF; - cursor: default; +.html-editarea textarea +{ + + border: 0px; + margin: 0px; + padding: 0px; + + width: 100%; + height: 100%; + + z-index: 0; + font-size: 10pt; + background-color: ivory; } +.html-editarea p.html-editarea-toolbar { + position: absolute; + background: gray; -div.isection { - margin: 1em auto; - border: 1px solid black; - padding: 0.5em 2em; - background: #9f9ffa; + bottom: -26px; + height: 24px; + + left: 0px; + right: 0px; + + border: 2px solid black; + + margin: 0px; + padding: 0px; + + z-index: 100; +} + +/* ================= */ +/* = Message boxes = */ +/* ================= */ +.info { + background-color: gray; +} + +.success { + background-color: green; +} - width: 60%; +.error { + background-color: yellow; } -div.isection p { - margin: 0.5em 1em; +.critical { + background-color: red; }