X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/f938afb8ab4cb091d12e0ef0311eaea14b774798..b7cc868621c5c2e7976cd12c4eb0ba81da8ca87c:/redakcja/static/css/master.css diff --git a/redakcja/static/css/master.css b/redakcja/static/css/master.css index ae742667..a87d5a6f 100644 --- a/redakcja/static/css/master.css +++ b/redakcja/static/css/master.css @@ -1,6 +1,6 @@ a, a:visited, a:active { color: blue; - text-decoration: none; + text-decoration: none; } a:hover { @@ -23,15 +23,41 @@ body { bottom: 0; right: 0; width: 26px; - background: #C1C1C1 url(../img/gallery.png) no-repeat scroll center center; + /*background: #C1C1C1 url(../img/gallery.png) no-repeat scroll center center;*/ border-left: 2px solid #999; border-right: 2px solid #999; - cursor: pointer; + cursor: pointer; + background: #C1C1C1; + z-index:100; + cursor: col-resize; } .vsplitbar:hover { - background-color: yellow; - border-color: orange; + background-color: #E6E6E6; +} + +.vsplitbar p { + font: 12px Helvetica,Verdana,sans-serif; + + -moz-transform: rotate(270deg); + -moz-transform-origin: 50% 50%; + -webkit-transform: rotate(270deg); + -webkit-transform-origin: 50% 50%; + -o-transform: rotate(-270deg); + -o-transform-origin: bottom left; + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); + margin: 250px auto; +} + +#drag-layer { + position:absolute; + top:0; + bottom:0; + left:0; + right:0; + z-index:1000; + display: none; + cursor: col-resize; } .editor { @@ -43,6 +69,29 @@ body { overflow: hidden; } +.sideless .editor { + right: 0; +} +.image-object { + padding-left: 1em; + font: 12px Sans, Helvetica, Verdana, sans-serif; +} +.image-object:hover { + cursor: pointer; +} +#objects-list .delete { + padding-left: 3px; + font: 10px Sans, Helvetica, Verdana, sans-serif; +} +#objects-list .delete:hover { + cursor: pointer; +} + +#objects-list .active { + color: #800; +} + + #editor.readonly .editor { right: 0px; } @@ -73,29 +122,64 @@ body { right: 0px; left: 0px; height: 30px; - border-bottom: 1px solid #999; - + border-bottom: 1px solid #999; + margin: 0; padding: 0; background-color: #C1C1C1; background-image: -webkit-gradient(linear, left top, left bottom, from(#C1C1C1), color-stop(0.9, #A2A2A2)); - + /* Firefox 3.6 */ background-image: -moz-linear-gradient(top left, #C1C1C1, #A2A2A2, 90%); - + font: 11px Helvetica, Verdana, sans-serif; font-weight: bold; + + z-index: 100; +} + + +#header.saving { + background-color: #E1C1C1; +} +#header.saving #save-button { + display: none; +} +#save-attempt-info { + color: #801000; + display: none; +} +.saving #save-attempt-info { + display: inline; + font-weight: normal; +} + + +#header.out-of-date { + background-color: #E1C1C1; +} +#header.out-of-date #save-button { + display: none; +} +#out-of-date-info { + color: #801000; + display: none; } +.out-of-date #out-of-date-info { + display: inline; +} + + #header h1, #header h1 a { margin: 0; padding: 0; - font: 17px Helvetica, Verdana, sans-serif; + font: 9px Helvetica, Verdana, sans-serif; font-weight: bold; float: left; - padding: 3px 6px 2px 6px; + padding: 3px 3px 2px 3px; color: #222; - line-height: 20px; + #line-height: 20px; } #header h1 a { @@ -103,123 +187,91 @@ body { color: #222; } -#tabs { +#header img { + border: 0; +} + +.tabs { overflow: hidden; margin: 0; padding: 0; height: 31px; - border: 0px; - padding-left: 1em; + border: 0px; + padding-left: 1em; + float: left; } -#tabs li { - height: 18px; +.tabs a { + color: black; +} + +#tabs-right { + float: right; + padding-right: 1em; +} + +.tabs li { margin-top: 6px; - margin-bottom: 0px; - - -webkit-user-select: none; + margin-bottom: 0px; + + -webkit-user-select: none; cursor: pointer; display: block; float: left; - - padding-left: 12px; - padding-right: 12px; - padding-top: 5px; - + font-weight: bold; color: #222; - margin-left: 4px; - + margin-left: 4px; + background-color: #A2A2A2; - + -moz-box-shadow: 1px -1px 2px rgba(127, 127, 127, 0.25); -webkit-box-shadow: 1px -1px 2px rgba(127, 127, 127, 0.25); border: 1px solid #999; - border-bottom-width: 0px; + border-bottom-width: 0px; -moz-border-radius: 4px 4px 0px 0px; -webkit-border-radius: 4px; -webkit-border-bottom-left-radius: 0px; -webkit-border-bottom-right-radius: 0px; } -#tabs li.active { - background-color: #C1C1C1; +#tabs li { + height: 18px; + padding-left: 12px; + padding-right: 12px; + padding-top: 5px; +} + +.tabs li.active { + background-color: #C1C1C1; +} + + +#tabs-right li { + height: 20px; + padding-left: 12px; + padding-right: 12px; + padding-top: 3px; } + + #tools { float: right; clear: right; overflow: hidden; margin: 0; padding: 0; - height: 30px; + height: 30px; margin-right: 5px; line-height: 30px; font-size: 10px; vertical-align: middle; } - -/* - * Toolbars - */ - -.toolbar { - width: 100%; - border-bottom: 1px solid #777; - background-color: #C1C1C1; - margin: 0; - padding: 2px; - z-index: 100; - height: 28px; -} - -.toolbar button { - display: block; - float: left; - margin: 4px 0 2px 0; - padding: 2px 5px; - border: none; - background: none; -} - -.toolbar button img { - margin: 0; - padding: 0; - margin-bottom: -3px; -} - - -.toolbar select { - float: left; - margin: 1px 5px 1px 0; - background: none; - border: 1px solid #999; - padding: 1px; -} - -.toolbar input { - float: left; - font-size: 11px; - padding: 0; - margin: 4px 5px 0px 5px; - vertical-align:baseline; -} - -.toolbar-end { - clear: both; -} - -.toolbar button:hover, .toolbar button:active { - background: #777; - color: #FFF; - -webkit-border-radius: 10px; - -moz-border-radius: 10px; -} - /* Remove extra padding in Firefox */ -button::-moz-focus-inner { +button::-moz-focus-inner { border: 0; padding: 0; } @@ -265,12 +317,12 @@ p { margin: 0;} } /* - * CodeMirror + * CodeMirror */ .CodeMirror-line-numbers { padding: 0px; - padding-top: 5px; + padding-top: 5px; text-align: right; overflow: hidden; width: 40px; @@ -279,7 +331,7 @@ p { margin: 0;} } .CodeMirror-line-numbers div { - display: block; + display: block; font-family:"Lucida Console", monospace; font-size: 13px; line-height: 18px; @@ -289,25 +341,20 @@ p { margin: 0;} img.tabclose { padding-left: 8px; width: 16px; - height: 16px; + height: 16px; vertical-align: middle; vertical-align: text-bottom; } - /* * HTML Editor view - */ - + */ + .htmlview { z-index: 1; overflow: hidden; } -.htmlview *[x-editable] { - background-color: white; - -} .htmlview .active[x-editable] { background-color: #FAFAFA; border: 1px solid #DDD; @@ -318,3 +365,43 @@ img.tabclose { background-color: black; opacity: 0.4; } + +.poezja_cyt { + margin:1.5em 2em 0; + font-size:0.875em +} + +.wers_akap { + padding-left: 1em; +} + +.saveNotify { + position:absolute; + bottom:22px; + right:7px; + z-index:800; + background-color: #FFFF69; + padding:10px; + border: 1px solid black; + border-radius: 5px; + -moz-border-radius: 15px; +} + +.notifyTip { + font-size:12px; float:right; +} + +.saveNotify span { + font-weight: bold; +} + + + +.scrolled { + position: absolute; + top: 29px; + left: 0; + right: 0; + bottom: 0; + overflow: auto; +}