X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/b993aa15c106eadf473fd64edbb9f3d9ddb7754a..d798a69cb177ba4dabd2d917e1da6ab94707aa7d:/project/static/css/master.css?ds=inline diff --git a/project/static/css/master.css b/project/static/css/master.css index 3f5741c1..c321c782 100644 --- a/project/static/css/master.css +++ b/project/static/css/master.css @@ -35,6 +35,7 @@ body { top: 2.4em; left: 0px; right: 0px; bottom: 0px; overflow: auto; background-color: white; + padding: 0.2em 1em; } ul { @@ -219,69 +220,6 @@ label { /* = XML Editor panel = */ /* ==================== */ -.toolbar { - overflow: hidden; - z-index: 70; -} - -.toolbar, .toolbar ol { -/* overflow: hidden;*/ - display: block; - margin: 0; - padding: 0; - background-color: #CCC; - border-top: 1px solid #AAA; -} - -.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; -} - -.toolbar-tabs { - height: 21px; -} - -.toolbar-tabs li:hover, .toolbar-tabs li.active { - cursor: default; - background-color: #EEE; - border-bottom: 1px solid #EEE; -} - -.toolbar-buttons { - background-color: #EEE; - border-bottom: 1px solid #AAA; - z-index: 71; -} - -.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; -} - -.toolbar-buttons li:hover { - background-color: #777; - color: #FFF; - cursor: default; -} - .change-font-size { width: 45px; height: 18px; @@ -352,12 +290,13 @@ div.isection p { #message-box { position: fixed; top: 2px; - left: 40%; + left: 35%; + width: 33%; } -.msg-error, .msg-success, .msg-warning { +.msg-error, .msg-success, .msg-warning, .msg-info { overflow: hidden; - padding: 0.1em 0.2em; + padding: 0.1em 0.5em; text-align: center; border: 1px solid; -moz-border-radius: 8px; @@ -366,13 +305,19 @@ div.isection p { line-height: 11pt; display: none; - width: 200px; + width: 100%; } +#message-box * p { + padding: 0em; + margin: 0.1em; +} .msg-error { background-color: red; border-color: red; + color: white; + font-weight: bold; } .msg-success { @@ -380,8 +325,44 @@ div.isection p { border-color: lightgreen; } +.msg-info { + background-color: lightblue; + border-color: lightblue; +} + .msg-warning { background-color: yellow; - border-color: yellow; - + border-color: yellow; } + + +/* + * Object list table + */ + table.object-list { + border-top: 2px solid black; + border-left: 2px solid black; + border-right: 1px solid black; + border-bottom: 1px solid black; + width: 60%; + margin: auto; + } + + + table.object-list td, table.object-list th { + border-bottom: 1px solid black; + border-right: 1px solid black; + padding: 0.2em 0.5em; + } + + table.object-list th { + text-align: center; + background-color: #8080d0; + font-size: 120% + } + + table.object-list td.page-navigation { + position: relative; + text-align: center; + background-color: #CCC; + }