liquid_feedback_frontend
diff static/lf2.css @ 215:1dab81353eb1
More enhancements for second generation frontend
author | bsw |
---|---|
date | Sat Mar 05 15:34:17 2011 +0100 (2011-03-05) |
parents | acf92c2d33f4 |
children | 4f6e6b213fb8 |
line diff
1.1 --- a/static/lf2.css Thu Mar 03 23:47:35 2011 +0100 1.2 +++ b/static/lf2.css Sat Mar 05 15:34:17 2011 +0100 1.3 @@ -56,11 +56,11 @@ 1.4 body { 1.5 font-family: sans-serif; 1.6 background-color: #7df; 1.7 + xbackground-image: url('lf2/back.jpg'); 1.8 color: #000; 1.9 } 1.10 1.11 a { 1.12 - background-color: #ffffff; 1.13 color: #000; 1.14 } 1.15 1.16 @@ -141,23 +141,6 @@ 1.17 color: #46a; 1.18 } 1.19 1.20 -.boxhead, 1.21 -a.boxhead { 1.22 - /* position */ 1.23 - display: block; 1.24 - margin-bottom: 0.5ex; 1.25 - margin-top: 1ex; 1.26 - margin-left: 0.5em; 1.27 - 1.28 - /* color */ 1.29 - background-color: #7df; 1.30 - color: #000; 1.31 - 1.32 - /* text format */ 1.33 - font-weight: bold; 1.34 - text-shadow: 2px 2px 2px #fff; 1.35 -} 1.36 - 1.37 .box { 1.38 /* position */ 1.39 position: relative; 1.40 @@ -181,7 +164,7 @@ 1.41 /* position */ 1.42 1.43 /* border */ 1.44 - border-top: 1px solid #ccc; 1.45 + border-bottom: 1px solid #ccc; 1.46 } 1.47 1.48 .box .row .col { 1.49 @@ -189,7 +172,7 @@ 1.50 padding: 0.5ex 0.2em 0.5ex 0.2em; 1.51 1.52 /* text format */ 1.53 - line-height: 125%; 1.54 + line-height: 115%; 1.55 } 1.56 1.57 .box .row .col.left { 1.58 @@ -200,65 +183,28 @@ 1.59 float: right; 1.60 } 1.61 1.62 -.box .row .col.clearleft { 1.63 - clear: left; 1.64 -} 1.65 - 1.66 -.box .row .col.clearright { 1.67 - clear: right; 1.68 -} 1.69 - 1.70 -.box .row .col.toggle { 1.71 - float: left; 1.72 - /* position */ 1.73 - padding-left: 0.4em; 1.74 -} 1.75 - 1.76 -.box .row .col.toggle:hover { 1.77 - /* color */ 1.78 - background-color: #7cf; 1.79 - 1.80 - /* cursor */ 1.81 - cursor: pointer; 1.82 +.box .row:last-child { 1.83 + /* border */ 1.84 + border-bottom: none; 1.85 } 1.86 1.87 -.box .row.first .col.toggle { 1.88 - /* border */ 1.89 - border-radius: 1ex 0 0 0; 1.90 -} 1.91 - 1.92 -.box .row.last .col.toggle { 1.93 - /* border */ 1.94 - border-radius: 0 0 0 1ex; 1.95 -} 1.96 - 1.97 -.box .row.toggled .col.first { 1.98 - /* position */ 1.99 - margin-left: 1.5em; 1.100 -} 1.101 - 1.102 -.box .row.first { 1.103 - /* border */ 1.104 - border-top: none; 1.105 -} 1.106 - 1.107 -.box .row .col.first { 1.108 +.box .row .col:first-child { 1.109 /* position */ 1.110 padding-left: 0.5em; 1.111 } 1.112 1.113 -.box .row.toggled .col.first { 1.114 - /* position */ 1.115 - padding-left: 0.2em; 1.116 +.box .row:first-child.head, 1.117 +.box .row:first-child.head2 { 1.118 + border-radius: 1ex 1ex 0 0; 1.119 } 1.120 1.121 .box .row.head { 1.122 - background-color: #e4e7f0; 1.123 + background-color: #fafcff; 1.124 color: #000; 1.125 - border-radius: 1ex 1ex 0 0; 1.126 + border-bottom-color: #777; 1.127 } 1.128 1.129 -.box .row.last { 1.130 +.box .row:last-child { 1.131 border-radius: 0 0 1ex 1ex; 1.132 } 1.133 1.134 @@ -268,20 +214,32 @@ 1.135 } 1.136 1.137 .box .row.head .col a { 1.138 - background-color: #e4e7f0; 1.139 + background-color: #fafcff; 1.140 color: #3B6E7F; 1.141 } 1.142 1.143 .box .row.head2 { 1.144 - background-color: #f2f3f7; 1.145 + background-color: #fafcff; 1.146 color: #000; 1.147 } 1.148 1.149 +.box .row.head2 .col.head { 1.150 + font-weight: bold; 1.151 +} 1.152 + 1.153 .box .row.head2 .col a { 1.154 - background-color: #f2f3f7; 1.155 + background-color: #fafcff; 1.156 color: #3B6E7F; 1.157 } 1.158 1.159 +.box .row.subhead .col { 1.160 + margin-top: 2ex; 1.161 + font-weight: bold; 1.162 +} 1.163 + 1.164 +.box .row.subhead { 1.165 + border-bottom-color: #777; 1.166 +} 1.167 1.168 .box .row .col a { 1.169 color: #3B6E7F; 1.170 @@ -349,6 +307,11 @@ 1.171 padding: 0.5ex 0.2em 0.5ex 0.5em; 1.172 } 1.173 1.174 +.box .row.last-child .hoverbutton { 1.175 + border-radius: 0 0 1ex 1ex; 1.176 +} 1.177 + 1.178 + 1.179 /* Scrolled col */ 1.180 1.181 .box .row .col.scrolled { 1.182 @@ -496,6 +459,7 @@ 1.183 font-weight: bold; 1.184 } 1.185 1.186 +.draft .authors, 1.187 .initiative .authors { 1.188 /* color */ 1.189 color: #777; 1.190 @@ -505,6 +469,7 @@ 1.191 font-style: italic; 1.192 } 1.193 1.194 +.draft .authors a, 1.195 .initiative .authors a { 1.196 /* color */ 1.197 } 1.198 @@ -513,10 +478,9 @@ 1.199 font-weight: bold; 1.200 } 1.201 1.202 -.drafts .draft .author_name { 1.203 - font-style: italic; 1.204 +.box.issue .row.unit_name { 1.205 + border-bottom-color: #ccc; 1.206 } 1.207 - 1.208 /* Draft */ 1.209 1.210 .draft {