X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/8fabff2f05c0e1a5a3075d2e5f4293fa29029c3a..653c75b6951e028fe4c68e27cc9852e45fa418a6:/project/static/css/master.css diff --git a/project/static/css/master.css b/project/static/css/master.css index 3f5741c1..31d811b3 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,12 @@ 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; }