1 | /* Force from/to dates to float using inline-block, where it works, otherwise inline. */ |
---|
2 | .container-inline-date { |
---|
3 | width:auto; |
---|
4 | clear:both; |
---|
5 | display: inline-block; |
---|
6 | vertical-align:top; |
---|
7 | margin-right: 0.5em; /* LTR */ |
---|
8 | } |
---|
9 | .container-inline-date .form-item { |
---|
10 | float:none; |
---|
11 | padding:0; |
---|
12 | margin:0; |
---|
13 | } |
---|
14 | .container-inline-date .form-item .form-item { |
---|
15 | float: left; /* LTR */ |
---|
16 | } |
---|
17 | .container-inline-date .form-item, |
---|
18 | .container-inline-date .form-item input { |
---|
19 | width:auto; |
---|
20 | } |
---|
21 | .container-inline-date .description { |
---|
22 | clear: both; |
---|
23 | } |
---|
24 | |
---|
25 | .container-inline-date .form-item input, |
---|
26 | .container-inline-date .form-item select, |
---|
27 | .container-inline-date .form-item option { |
---|
28 | margin-right: 5px; /* LTR */ |
---|
29 | } |
---|
30 | |
---|
31 | .container-inline-date .date-spacer { |
---|
32 | margin-left: -5px; /* LTR */ |
---|
33 | } |
---|
34 | .views-right-60 .container-inline-date div { |
---|
35 | padding:0; |
---|
36 | margin:0; |
---|
37 | } |
---|
38 | |
---|
39 | .container-inline-date .date-timezone .form-item { |
---|
40 | float:none; |
---|
41 | width:auto; |
---|
42 | clear:both; |
---|
43 | } |
---|
44 | |
---|
45 | /* Fixes for date popup css so it will behave in Drupal */ |
---|
46 | #calendar_div, #calendar_div td, #calendar_div th { |
---|
47 | margin:0; |
---|
48 | padding:0; |
---|
49 | } |
---|
50 | #calendar_div, |
---|
51 | .calendar_control, |
---|
52 | .calendar_links, |
---|
53 | .calendar_header, |
---|
54 | .calendar { |
---|
55 | width: 185px; |
---|
56 | border-collapse: separate; |
---|
57 | margin: 0; |
---|
58 | } |
---|
59 | .calendar td { |
---|
60 | padding: 0; |
---|
61 | } |
---|
62 | |
---|
63 | /* formatting for from/to dates in nodes and views */ |
---|
64 | span.date-display-single { |
---|
65 | } |
---|
66 | span.date-display-start { |
---|
67 | } |
---|
68 | span.date-display-end { |
---|
69 | } |
---|
70 | span.date-display-separator { |
---|
71 | } |
---|
72 | |
---|
73 | .date-repeat-input { |
---|
74 | float: left; /* LTR */ |
---|
75 | width:auto; |
---|
76 | margin-right: 5px; /* LTR */ |
---|
77 | } |
---|
78 | .date-repeat-input select { |
---|
79 | min-width:7em; |
---|
80 | } |
---|
81 | .date-repeat fieldset { |
---|
82 | clear:both; |
---|
83 | float:none; |
---|
84 | } |
---|
85 | |
---|
86 | .date-views-filter-wrapper { |
---|
87 | min-width:250px; |
---|
88 | } |
---|
89 | .date-views-filter input { |
---|
90 | float: left !important; /* LTR */ |
---|
91 | margin-right: 2px !important; /* LTR */ |
---|
92 | padding:0 !important; |
---|
93 | width:12em; |
---|
94 | min-width:12em; |
---|
95 | } |
---|
96 | |
---|
97 | .date-nav { |
---|
98 | width:100%; |
---|
99 | } |
---|
100 | .date-nav div.date-prev { |
---|
101 | text-align: left; /* LTR */ |
---|
102 | width:24%; |
---|
103 | float: left; /* LTR */ |
---|
104 | } |
---|
105 | .date-nav div.date-next { |
---|
106 | text-align: right; /* LTR */ |
---|
107 | width:24%; |
---|
108 | float: right; /* LTR */ |
---|
109 | } |
---|
110 | .date-nav div.date-heading { |
---|
111 | text-align:center; |
---|
112 | width:50%; |
---|
113 | float: left; /* LTR */ |
---|
114 | } |
---|
115 | .date-nav div.date-heading h3 { |
---|
116 | margin:0; |
---|
117 | padding:0; |
---|
118 | } |
---|
119 | |
---|
120 | .date-clear { |
---|
121 | float:none; |
---|
122 | clear:both; |
---|
123 | display:block; |
---|
124 | } |
---|
125 | |
---|
126 | .date-clear-block { |
---|
127 | float:none; |
---|
128 | width:auto; |
---|
129 | clear:both; |
---|
130 | } |
---|
131 | |
---|
132 | /* |
---|
133 | ** Markup free clearing that fixes unwanted scrollbars |
---|
134 | ** @see http://drupal.org/node/232959 |
---|
135 | */ |
---|
136 | .date-clear-block:after { |
---|
137 | content: " "; |
---|
138 | display: block; |
---|
139 | height: 0; |
---|
140 | clear: both; |
---|
141 | visibility: hidden; |
---|
142 | } |
---|
143 | .date-clear-block { |
---|
144 | display: inline-block; |
---|
145 | } |
---|
146 | /* Hides from IE-mac \*/ |
---|
147 | * html .date-clear-block { |
---|
148 | height: 1%; |
---|
149 | } |
---|
150 | .date-clear-block { |
---|
151 | display: block; |
---|
152 | } |
---|
153 | /* End hide from IE-mac */ |
---|
154 | |
---|
155 | .date-container .date-format-delete { |
---|
156 | margin-top: 1.8em; |
---|
157 | margin-left: 1.5em; |
---|
158 | float: left; |
---|
159 | } |
---|
160 | .date-container .date-format-name { |
---|
161 | float: left; |
---|
162 | } |
---|
163 | .date-container .date-format-type { |
---|
164 | float: left; |
---|
165 | padding-left: 10px; |
---|
166 | } |
---|
167 | |
---|
168 | .date-container .select-container { |
---|
169 | clear: left; |
---|
170 | float: left; |
---|
171 | } |
---|
172 | |
---|
173 | /* Calendar day css */ |
---|
174 | div.date-calendar-day { |
---|
175 | line-height: 1; |
---|
176 | width: 40px; |
---|
177 | float: left; |
---|
178 | margin: 6px 10px 0 0; |
---|
179 | background: #F3F3F3; |
---|
180 | border-top: 1px solid #eee; |
---|
181 | border-left: 1px solid #eee; |
---|
182 | border-right: 1px solid #bbb; |
---|
183 | border-bottom: 1px solid #bbb; |
---|
184 | color: #999; |
---|
185 | text-align: center; |
---|
186 | font-family: Georgia, Arial, Verdana, sans; |
---|
187 | } |
---|
188 | div.date-calendar-day span { |
---|
189 | display: block; |
---|
190 | text-align: center; |
---|
191 | } |
---|
192 | div.date-calendar-day span.month { |
---|
193 | font-size: .9em; |
---|
194 | background-color: #B5BEBE; |
---|
195 | color: white; |
---|
196 | padding: 2px; |
---|
197 | text-transform: uppercase; |
---|
198 | } |
---|
199 | div.date-calendar-day span.day { |
---|
200 | font-weight: bold; |
---|
201 | font-size: 2em; |
---|
202 | } |
---|
203 | div.date-calendar-day span.year { |
---|
204 | font-size: .9em; |
---|
205 | padding: 2px; |
---|
206 | } |
---|