fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Oops #2
[redakcja.git]
/
project
/
static
/
css
/
master.css
diff --git
a/project/static/css/master.css
b/project/static/css/master.css
index
3f5741c
..
5f81f17
100644
(file)
--- a/
project/static/css/master.css
+++ b/
project/static/css/master.css
@@
-1,190
+1,132
@@
body {
body {
- margin: 0;
- font: 10pt Helvetica, Verdana, sans-serif;
+ margin: 0;
+
+ font: 12px Helvetica, Verdana, sans-serif;
overflow: hidden;
background: #AAA;
}
overflow: hidden;
background: #AAA;
}
-#header {
- position: absolute;
- padding: 0.2em 0.5em;
- background-color: #CDCDCD;
- border-bottom: 0.1px solid black;
- height: 1.8em;
- line-height: 1.8em;
- vertical-align: center;
+/* fix icon buttons */
- top: 0px; left: 0px; right: 0px;
- z-index: 300;
+button img {
+ vertical-align: middle;
+ margin: 0px;
}
}
-#header #breadcrumbs {
+/* default form style hacks */
+select {
+ border: none;
+ margin-left: 0.1em;
}
}
-#
header-right-toolbar
{
-
position: absolute
;
- right: 1em;
+#
body-wrap
{
+
margin: 0px
;
+ padding: 0px;
}
}
-#header button {
- vertical-align: center;
-}
-
-#content {
+#header {
position: absolute;
position: absolute;
- top: 2.4em; left: 0px; right: 0px; bottom: 0px;
- overflow: auto;
- background-color: white;
-}
+ padding: 2px 0.5em;
+ background-color: #CDCDCD; /* !unused */
+ border-bottom: 2px solid black;
-ul {
- margin: 20px;
- padding: 0;
-}
-
-li {
- margin: 0;
- padding: 0;
- list-style: none;
-}
-
-a {
- text-decoration: none;
-}
-
-a:hover {
- text-decoration: underline;
-}
-
-li a {
- display: block;
- padding: 5px 20px;
- width: 480px;
-}
-
-li a:hover {
- background-color: #BCD6E9;
-}
-
-#tabs {
- border-bottom: 1px solid #858585;
- background-color: #B7B7B7;
-}
+ font-size: 14px;
-#tabs a {
- display: block;
- border-right: 1px solid #858585;
- float: left;
- padding: 5px 10px;
-}
+ line-height: 26px;
+ vertical-align: middle;
-#tabs a.active {
- background-color: #909090;
+ /* height: 30px; */
+ top: 0px; left: 0px; right: 0px;
+ z-index: 300;
}
}
-.theme-begin {
- display: none;
+#content {
+ position: absolute;
+ top: 32px; left: 0px; right: 0px; bottom: 0px;
+ overflow: auto;
+ background-color: white;
}
}
-label {
- display: block;
+#header #breadcrumbs {
}
}
-#
text_id
{
-
width: 480px
;
-
height: 480px
;
+#
header-right-toolbar
{
+
position: absolute
;
+
right: 1em
;
}
}
-#file-text {
- padding: 5px 10px;
- overflow-x: hidden;
- overflow-y: scroll;
+#header button {
+ vertical-align: middle;
}
/* ========== */
/* = Panels = */
/* ========== */
}
/* ========== */
/* = Panels = */
/* ========== */
-#panels {
-
position: absolute
;
-
bottom: 0px; left: 0px; right: 0px; top: 0px
;
+
/*
#panels {
+
height: 100%
;
+
width: 100%
;
}
.panel-wrap {
overflow: hidden;
}
.panel-wrap {
overflow: hidden;
- position: absolute; /* absolute to relation with #panels */
-
top: 0px;
-
bottom: 0px;
+ position: absolute;
+ top: 0px;
+ bottom: 0px;
}
#left-panel-wrap {
}
#left-panel-wrap {
-
left: 0px;
- width: 8px; /* initial width */
+ left: 0px;
+ width: 8px;
}
#right-panel-wrap {
}
#right-panel-wrap {
-
right: 0px;
-
width: auto;
- left: 8px; /* initial width of the left panel */
+ right: 0px;
+ width: auto;
+ left: 8px;
}
}
-/* contents */
.panel-content {
.panel-content {
-
position: absolute;
-
overflow: auto;
-
overflow-x: hidden;
-
top: 22
px; left: 0px; bottom:0px; right: 0px;
+ position: absolute;
+ overflow: auto;
+ overflow-x: hidden;
+
top: 25
px; left: 0px; bottom:0px; right: 0px;
}
.panel-overlay {
}
.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;
+ 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;
}
.panel-content-overlay {
}
.panel-wrap.last-panel .panel-content {
}
.panel-content-overlay {
}
.panel-wrap.last-panel .panel-content {
-
right: 0px;
+ right: 0px;
}
.panel-wrap.last-panel .panel-slider {
display: none;
}
}
.panel-wrap.last-panel .panel-slider {
display: none;
}
-/* Toolbars with select box to change panel contents*/
-.panel-toolbar {
+.panel-wrap .panel-toolbar {
position: absolute;
position: absolute;
- top: 0px; left:0px; right: 0px; height: 20px;
+ top: 0px; left:0px; right: 0px; height: 26px;
+ padding: 0px;
- padding: 0 0 2px 0;
- /* border-top: 1px solid #AAA; */
border-bottom: 1px solid #AAA;
border-bottom: 1px solid #AAA;
- font-size: 12px;
- line-height: 20px;
- background-color: #DDD;
- white-space: nowrap;
- overflow: hidden;
z-index: 80;
}
z-index: 80;
}
-
-.panel-toolbar label {
- display: block;
- float: left;
- margin: 0 10px 0 2px;
-}
-
-/* Slider between panels */
.panel-wrap .panel-slider {
position: absolute;
.panel-wrap .panel-slider {
position: absolute;
-
background-color: #DDD;
+ background-color: #DDD;
top: 0px; bottom: 0px; right: 0px; width: 4px;
top: 0px; bottom: 0px; right: 0px; width: 4px;
@@
-193,8
+135,8
@@
label {
border-top: none;
border-bottom: none;
border-top: none;
border-bottom: none;
-
z-index: 90;
-
cursor: col-resize;
+ z-index: 90;
+ cursor: col-resize;
}
.panel-wrap .panel-slider:hover {
}
.panel-wrap .panel-slider:hover {
@@
-202,186
+144,196
@@
label {
}
.panel-content-overlay.panel-wrap .panel-slider {
}
.panel-content-overlay.panel-wrap .panel-slider {
-
background-color: #DDD;
+ background-color: #DDD;
}
}
+*/
-/* ================= */
-/* = Gallery panel = */
-/* ================= */
-.images-wrap {
- overflow-x: hidden;
- overflow-y: scroll;
+/* OLD STUFF AGAIN */
+
+/* Commit dialog */
+#commit-dialog-error-empty-message {
+ color: red;
+ display: none;
+ font-weight: bold;
}
}
+text#commit-dialog-message {
+ width: 80%;
+ margin: auto;
+}
-/* ==================== */
-/* = XML Editor panel = */
-/* ==================== */
+#split-dialog .container-box form {
+ margin: 0.2em 1em;
+}
-.toolbar {
- overflow: hidden;
- z-index: 70;
+#split-dialog .container-box fieldset {
+ margin: 0.5em;
}
}
-.toolbar, .toolbar ol {
-/* overflow: hidden;*/
- display: block;
- margin: 0;
+
+
+
+/* ======= */
+/* = New = */
+/* ======= */
+#splitview {
+ width: 100%;
+ height: 100%;
padding: 0;
padding: 0;
- background-color: #CCC;
- border-top: 1px solid #AAA;
+ margin: 0;
}
}
-.toolbar-tabs li {
- font-size: 14px;
- display: block;
- float: left;
- margin: 4px 0 -1px 4px;
- padding: 2px 10px 0 10px;
+.splitview-splitbar {
+ width: 5px;
+ border-left: 1px solid #999;
+ border-right: 1px solid #999;
+ height: 100%;
background-color: #CCC;
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;
+ z-index: 100;
}
}
-.toolbar-tabs {
- height: 21px;
+.splitview-overlay {
+ z-index: 90;
+ background: #FFF;
+ opacity: 0.5;
}
}
-.toolbar-tabs li:hover, .toolbar-tabs li.active {
- cursor: default;
- background-color: #EEE;
- border-bottom: 1px solid #EEE;
+.panel-container {
+ height: 100%;
+ position: relative;
}
}
-.toolbar-buttons {
- background-color: #EEE;
- border-bottom: 1px solid #AAA;
- z-index: 71;
+.content-view {
+ position: absolute;
+ top: 25px;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ overflow: hidden;
}
}
-.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;
-}
+.panel-main-toolbar {
+ z-index: 1100;
+ position: absolute;
+
+ top: 0px;
+ right: 0px;
+ left: 0px;
+ height: 24px;
+
+ border-bottom: 1px solid black;
+ background: gray;
-.toolbar-buttons li:hover {
- background-color: #777;
- color: #FFF;
- cursor: default;
+ padding: 0px;
}
}
-.change-font-size {
- width: 45px;
- height: 18px;
- padding: 3px 0 0;
- position: absolute;
- top: 0;
- right: 0;
+.panel-main-toolbar p {
+ margin: 0px;
+ padding: 2px;
+ line-height: 20px;
+ font-size: 13px;
}
}
-.change-font-size div {
- float: left;
- text-align: center;
- width: 20px;
- font-size: 13px;
- margin: 1px;
- cursor: default;
- border-radius: 2px;
- -moz-border-radius: 2px;
- -webkit-border-radius: 2px;
-}
-
-.change-font-size div:hover {
- background-color: #EEE;
- border: 1px solid #AAA;
- margin: 0;
+.xmlview {
+ height: 100%;
}
}
-/* =========================== */
-/* = DublinCore Editor panel = */
-/* =========================== */
-.panel-dceditor {
- padding: 10px;
+.view-overlay {
+ z-index: 1000;
+ background: #FFF;
+ opacity: 0.8;
+ text-align: center;
+ text-valign: center;
}
}
-.
panel-dceditor label
{
+.
view-overlay p
{
display: block;
display: block;
-
font-size: 12px
;
-
margin-top: 10px
;
-
color: #666
;
-
font-weight: bold
;
+
position: relative
;
+
top: auto
;
+
bottom: auto
;
+
height: 40px
;
}
}
-.panel-dceditor input, .panel-dceditor textarea {
- width: 400px;
+/* .buttontoolbarview {
display: block;
display: block;
+ background-color: #CCC;
}
}
-div.isection {
- margin: 1em auto;
- border: 1px solid black;
- padding: 0.5em 2em;
- background: #9f9ffa;
+.buttontoolbarview a {
+ color: #000;
+ text-decoration: none;
+} */ /* Similar classes already exist in toolbar.css */
- width: 60%;
-}
-div.isection p {
- margin: 0.5em 1em;
+/* ================= */
+/* = Gallery panel = */
+/* ================= */
+.image-gallery-view-template {
+ position: absolute;
+ top: 0px; left: 0px; right: 0px; bottom: 0px;
+ overflow: hidden;
}
}
-.change-notification {
- color: red;
-}
+.image-gallery-header {
+ position: absolute;
+ bottom: 0px;
+ left: 0px;
+ right: 0px;
+ height: 30px;
-/*
- * Popups
- */
-#message-box {
- position: fixed;
- top: 2px;
- left: 40%;
+ background: gray;
+ border-top: 1px solid #780000;
+ z-index: 100;
}
}
-.msg-error, .msg-success, .msg-warning {
- overflow: hidden;
- padding: 0.1em 0.2em;
+input.image-gallery-current-page {
text-align: center;
text-align: center;
- border: 1px solid;
- -moz-border-radius: 8px;
- -webkit-border-radius: 8px;
- font-size: 10pt;
- line-height: 11pt;
- display: none;
+}
- width: 200px;
+.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;
-.msg-error {
- background-color: red;
- border-color: red;
+ overflow: hidden;
}
}
-.msg-success {
- background-color: lightgreen;
- border-color: lightgreen;
+.image-gallery-page-container {
+ display: none;
+ border: none;
+
+ position: absolute;
+ top: 0px; left: 0px;
+
+ text-align: center;
+ padding: 0px;
}
}
-.msg-warning {
- background-color: yellow;
- border-color: yellow;
-
+.htmlview {
+ position: absolute;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ overflow: auto;
+ margin: 0;
}
}
+
+.image-gallery-page-container img {
+ /* border: 2px solid green; */
+ margin: 0px;
+}
\ No newline at end of file