annotate .svn/pristine/31/31fa227633ea6c4259f0d7dd6d5668da6f1d4647.svn-base @ 1519:afce8026aaeb redmine-2.4-integration

Merge from branch "live"
author Chris Cannam
date Tue, 09 Sep 2014 09:34:53 +0100
parents cbb26bc654de
children
rev   line source
Chris@909 1 /* The main calendar widget. DIV containing a table. */
Chris@909 2
Chris@909 3 img.calendar-trigger {
Chris@909 4 cursor: pointer;
Chris@909 5 vertical-align: middle;
Chris@909 6 margin-left: 4px;
Chris@909 7 }
Chris@909 8
Chris@909 9 div.calendar { position: relative; z-index: 30;}
Chris@909 10
Chris@909 11 div.calendar, div.calendar table {
Chris@909 12 border: 1px solid #556;
Chris@909 13 font-size: 11px;
Chris@909 14 color: #000;
Chris@909 15 cursor: default;
Chris@909 16 background: #fafbfc;
Chris@909 17 font-family: tahoma,verdana,sans-serif;
Chris@909 18 }
Chris@909 19
Chris@909 20 /* Header part -- contains navigation buttons and day names. */
Chris@909 21
Chris@909 22 div.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
Chris@909 23 text-align: center; /* They are the navigation buttons */
Chris@909 24 padding: 2px; /* Make the buttons seem like they're pressing */
Chris@909 25 }
Chris@909 26
Chris@909 27 div.calendar .nav {
Chris@909 28 background: #467aa7;
Chris@909 29 }
Chris@909 30
Chris@909 31 div.calendar thead .title { /* This holds the current "month, year" */
Chris@909 32 font-weight: bold; /* Pressing it will take you to the current date */
Chris@909 33 text-align: center;
Chris@909 34 background: #fff;
Chris@909 35 color: #000;
Chris@909 36 padding: 2px;
Chris@909 37 }
Chris@909 38
Chris@909 39 div.calendar thead .headrow { /* Row <TR> containing navigation buttons */
Chris@909 40 background: #467aa7;
Chris@909 41 color: #fff;
Chris@909 42 }
Chris@909 43
Chris@909 44 div.calendar thead .daynames { /* Row <TR> containing the day names */
Chris@909 45 background: #bdf;
Chris@909 46 }
Chris@909 47
Chris@909 48 div.calendar thead .name { /* Cells <TD> containing the day names */
Chris@909 49 border-bottom: 1px solid #556;
Chris@909 50 padding: 2px;
Chris@909 51 text-align: center;
Chris@909 52 color: #000;
Chris@909 53 }
Chris@909 54
Chris@909 55 div.calendar thead .weekend { /* How a weekend day name shows in header */
Chris@909 56 color: #a66;
Chris@909 57 }
Chris@909 58
Chris@909 59 div.calendar thead .hilite { /* How do the buttons in header appear when hover */
Chris@909 60 background-color: #80b0da;
Chris@909 61 color: #000;
Chris@909 62 padding: 1px;
Chris@909 63 }
Chris@909 64
Chris@909 65 div.calendar thead .active { /* Active (pressed) buttons in header */
Chris@909 66 background-color: #77c;
Chris@909 67 padding: 2px 0px 0px 2px;
Chris@909 68 }
Chris@909 69
Chris@909 70 /* The body part -- contains all the days in month. */
Chris@909 71
Chris@909 72 div.calendar tbody .day { /* Cells <TD> containing month days dates */
Chris@909 73 width: 2em;
Chris@909 74 color: #456;
Chris@909 75 text-align: right;
Chris@909 76 padding: 2px 4px 2px 2px;
Chris@909 77 }
Chris@909 78 div.calendar tbody .day.othermonth {
Chris@909 79 font-size: 80%;
Chris@909 80 color: #bbb;
Chris@909 81 }
Chris@909 82 div.calendar tbody .day.othermonth.oweekend {
Chris@909 83 color: #fbb;
Chris@909 84 }
Chris@909 85
Chris@909 86 div.calendar table .wn {
Chris@909 87 padding: 2px 3px 2px 2px;
Chris@909 88 border-right: 1px solid #000;
Chris@909 89 background: #bdf;
Chris@909 90 }
Chris@909 91
Chris@909 92 div.calendar tbody .rowhilite td {
Chris@909 93 background: #def;
Chris@909 94 }
Chris@909 95
Chris@909 96 div.calendar tbody .rowhilite td.wn {
Chris@909 97 background: #80b0da;
Chris@909 98 }
Chris@909 99
Chris@909 100 div.calendar tbody td.hilite { /* Hovered cells <TD> */
Chris@909 101 background: #80b0da;
Chris@909 102 padding: 1px 3px 1px 1px;
Chris@909 103 border: 1px solid #bbb;
Chris@909 104 }
Chris@909 105
Chris@909 106 div.calendar tbody td.active { /* Active (pressed) cells <TD> */
Chris@909 107 background: #cde;
Chris@909 108 padding: 2px 2px 0px 2px;
Chris@909 109 }
Chris@909 110
Chris@909 111 div.calendar tbody td.selected { /* Cell showing today date */
Chris@909 112 font-weight: bold;
Chris@909 113 border: 1px solid #000;
Chris@909 114 padding: 1px 3px 1px 1px;
Chris@909 115 background: #fff;
Chris@909 116 color: #000;
Chris@909 117 }
Chris@909 118
Chris@909 119 div.calendar tbody td.weekend { /* Cells showing weekend days */
Chris@909 120 color: #a66;
Chris@909 121 }
Chris@909 122
Chris@909 123 div.calendar tbody td.today { /* Cell showing selected date */
Chris@909 124 font-weight: bold;
Chris@909 125 color: #f00;
Chris@909 126 }
Chris@909 127
Chris@909 128 div.calendar tbody .disabled { color: #999; }
Chris@909 129
Chris@909 130 div.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
Chris@909 131 visibility: hidden;
Chris@909 132 }
Chris@909 133
Chris@909 134 div.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
Chris@909 135 display: none;
Chris@909 136 }
Chris@909 137
Chris@909 138 /* The footer part -- status bar and "Close" button */
Chris@909 139
Chris@909 140 div.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
Chris@909 141 text-align: center;
Chris@909 142 background: #556;
Chris@909 143 color: #fff;
Chris@909 144 }
Chris@909 145
Chris@909 146 div.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
Chris@909 147 background: #fff;
Chris@909 148 color: #445;
Chris@909 149 border-top: 1px solid #556;
Chris@909 150 padding: 1px;
Chris@909 151 }
Chris@909 152
Chris@909 153 div.calendar tfoot .hilite { /* Hover style for buttons in footer */
Chris@909 154 background: #aaf;
Chris@909 155 border: 1px solid #04f;
Chris@909 156 color: #000;
Chris@909 157 padding: 1px;
Chris@909 158 }
Chris@909 159
Chris@909 160 div.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
Chris@909 161 background: #77c;
Chris@909 162 padding: 2px 0px 0px 2px;
Chris@909 163 }
Chris@909 164
Chris@909 165 /* Combo boxes (menus that display months/years for direct selection) */
Chris@909 166
Chris@909 167 div.calendar .combo {
Chris@909 168 position: absolute;
Chris@909 169 display: none;
Chris@909 170 top: 0px;
Chris@909 171 left: 0px;
Chris@909 172 width: 4em;
Chris@909 173 cursor: default;
Chris@909 174 border: 1px solid #655;
Chris@909 175 background: #def;
Chris@909 176 color: #000;
Chris@909 177 font-size: 90%;
Chris@909 178 z-index: 100;
Chris@909 179 }
Chris@909 180
Chris@909 181 div.calendar .combo .label,
Chris@909 182 div.calendar .combo .label-IEfix {
Chris@909 183 text-align: center;
Chris@909 184 padding: 1px;
Chris@909 185 }
Chris@909 186
Chris@909 187 div.calendar .combo .label-IEfix {
Chris@909 188 width: 4em;
Chris@909 189 }
Chris@909 190
Chris@909 191 div.calendar .combo .hilite {
Chris@909 192 background: #acf;
Chris@909 193 }
Chris@909 194
Chris@909 195 div.calendar .combo .active {
Chris@909 196 border-top: 1px solid #46a;
Chris@909 197 border-bottom: 1px solid #46a;
Chris@909 198 background: #eef;
Chris@909 199 font-weight: bold;
Chris@909 200 }
Chris@909 201
Chris@909 202 div.calendar td.time {
Chris@909 203 border-top: 1px solid #000;
Chris@909 204 padding: 1px 0px;
Chris@909 205 text-align: center;
Chris@909 206 background-color: #f4f0e8;
Chris@909 207 }
Chris@909 208
Chris@909 209 div.calendar td.time .hour,
Chris@909 210 div.calendar td.time .minute,
Chris@909 211 div.calendar td.time .ampm {
Chris@909 212 padding: 0px 3px 0px 4px;
Chris@909 213 border: 1px solid #889;
Chris@909 214 font-weight: bold;
Chris@909 215 background-color: #fff;
Chris@909 216 }
Chris@909 217
Chris@909 218 div.calendar td.time .ampm {
Chris@909 219 text-align: center;
Chris@909 220 }
Chris@909 221
Chris@909 222 div.calendar td.time .colon {
Chris@909 223 padding: 0px 2px 0px 3px;
Chris@909 224 font-weight: bold;
Chris@909 225 }
Chris@909 226
Chris@909 227 div.calendar td.time span.hilite {
Chris@909 228 border-color: #000;
Chris@909 229 background-color: #667;
Chris@909 230 color: #fff;
Chris@909 231 }
Chris@909 232
Chris@909 233 div.calendar td.time span.active {
Chris@909 234 border-color: #f00;
Chris@909 235 background-color: #000;
Chris@909 236 color: #0f0;
Chris@909 237 }