From 78d5b3620e7a2d3fd6d22b3591bc35f13dbf0a96 Mon Sep 17 00:00:00 2001 From: Benjamin Kellermann Date: Thu, 29 Oct 2009 08:14:44 +0100 Subject: css updated --- dudle.css | 35 ++++++++++++++++++++++++++++++++--- poll.rb | 2 +- print.css | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++------- 3 files changed, 89 insertions(+), 11 deletions(-) diff --git a/dudle.css b/dudle.css index a44f4e0..99118b9 100644 --- a/dudle.css +++ b/dudle.css @@ -6,17 +6,21 @@ td.ayes, td.bmaybe, td.cno { cursor:default; } -label { cursor: pointer; } td.ayes, input.choosen { background-color:#0F0; } td.cno { background-color:#F00; } td.bmaybe { background-color:#FF0; } td.undecided { background-color:#DDD;color:#666 } + +label { cursor: pointer; } + td.name { text-align:right; } + #active, #activedeletebutton{ background-color:#A00; } + input.deletebutton{ border-width: 0px; border-style: solid; @@ -25,9 +29,11 @@ input.deletebutton{ background-color: black; color: white; } + th.weekday{ width: 2.5em; } + input.navigation, input.disabled, input.choosen, input.notchoosen { border-width: 1px; border-style: solid; @@ -36,58 +42,69 @@ input.navigation, input.disabled, input.choosen, input.notchoosen { cursor: pointer; width: 100%; height: 100%; -/* width: 3.5em; - height: 3.5ex;*/ } + input.navigation { color: white; background-color: black; } + input.disabled { background-color:#DDD;color:#BBB} td.calendarday{ border: 1px; padding: 0px; margin: 0px; } + table { border: none; } + td.create_poll{ text-align:left; } + td { vertical-align:middle; text-align:center; border-width: 0px; padding: 1px 3px; } + td.sum, tr.participantrow, tr#add_participant, tr#summary { background-color:Silver; } + td.polls { text-align:left; } + tr.participantrow:hover { background: #AAA; } + th { padding: 1px 3px; color: white; background-color:black; font-weight: normal; } + th a{ color: white; text-decoration: none; } + td.date { color: Gray; text-align: left; } + html { background: #CCCCD3; color: black; } + #main { background: white; padding: 2em; @@ -97,36 +114,45 @@ html { top: 0px; margin-top: 0px; } + body#main, div#tabs ul{ margin-top: 2em; } + div#tabs ul, p#history{ font-size: 80%; } + div#tabs ul{ margin-left 0em; margin-bottom: 0em; padding: 0em; list-style-type: none; } + div#tabs li{ background: white; border-width: 1px; display: inline; } + div#tabs a{ text-decoration:none; } + li#active_tab{ border-style: solid solid none; padding-bottom: 1px; } + li.nonactive_tab{ border-style: solid; } + li.nonactive_tab a:hover { background: #CCC; } + pre#configwarning { font-family:Courier New,Courier,monospace; letter-spacing:0; @@ -134,10 +160,12 @@ pre#configwarning { line-height:95%; margin-left: -2ex; } + h1 { text-align: center; } + div.comment { margin-top: 1ex; } div#config{ @@ -146,3 +174,4 @@ div#config{ width:20ex; } + diff --git a/poll.rb b/poll.rb index 4942859..e4815c1 100644 --- a/poll.rb +++ b/poll.rb @@ -216,7 +216,7 @@ COMMENT # ADD COMMENT ret += < -
+
says  diff --git a/print.css b/print.css index caa204e..515b902 100644 --- a/print.css +++ b/print.css @@ -4,61 +4,110 @@ * see License * *******************************/ -td.yes, input.choosen { background-color:#0F0; } -td.no { background-color:#F00; } -td.maybe { background-color:#FF0; } + +td.ayes, td.bmaybe, td.cno { cursor:default; } +td.ayes, input.choosen { background-color:#0F0; } +td.cno { background-color:#F00; } +td.bmaybe { background-color:#FF0; } td.undecided { background-color:#DDD;color:#666 } + +label { cursor: pointer; } + td.name { text-align:right; } + +#active, #activedeletebutton{ + background-color:#A00; +} + +th.weekday{ + width: 2.5em; +} + input.navigation, input.disabled, input.choosen, input.notchoosen { border-width: 1px; border-style: solid; border-color: black; padding: 0px; cursor: pointer; - width: 3.5em; - height: 3.5ex; + width: 100%; + height: 100%; } + input.navigation { color: white; background-color: black; } + input.disabled { background-color:#DDD;color:#BBB} td.calendarday{ border: 1px; padding: 0px; margin: 0px; } + table { border: none; } + +td.create_poll{ + text-align:left; +} + td { vertical-align:middle; text-align:center; border-width: 0px; padding: 1px 3px; } -td.sum, td.date, td.name, td.checkboxes { + +td.sum, tr.participantrow, tr#add_participant, tr#summary { background-color:Silver; } -div#add_comment,div#edit_column, div#history, div#backlink, input.delete_comment_button, tr#add_participant, div#configlink{ + +td.polls { + text-align:left; +} + +tr.participantrow:hover { + background: #AAA; +} + +div#add_comment,div#edit_column, div#history, div#backlink, input.delete_comment_button, tr#add_participant, div#configlink, div#tabs, p#history{ visibility: collapse; } + th { padding: 1px 3px; color: white; background-color:black; font-weight: normal; } + th a{ color: white; text-decoration: none; } + td.date { color: Gray; text-align: left; } + + +pre#configwarning { + font-family:Courier New,Courier,monospace; + letter-spacing:0; + margin-top: -12ex; + line-height:95%; + margin-left: -2ex; +} + + h1 { text-align: center; } + + +div.comment { margin-top: 1ex; } -- cgit v1.2.3