-
Notifications
You must be signed in to change notification settings - Fork 1
/
quorum.sass
191 lines (152 loc) · 3.44 KB
/
quorum.sass
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
!title_blue = #3333ff
// size of icons from Silk set
!silk_icon_size = 16px
// margin around icons
!default_icon_margin = 3px
body
:color black
:font
:size 12px
:family Helvetica, Arial, Geneva, sans-serif
:background-color white
:margin 0px
.name
:color red
:font-weight bolder
.hidden
:display none
.siteName
:color #00c
:font
:style oblique
:weight bolder
:size 116%
.footer
:border-top 1px solid black
:padding-top 2px
#navbar
:color white
:background-color = !title_blue
:margin
:top 0px
:left 0px
:right 0px
:padding .25em
*
:color white
#navbar a, th a
:color white
:font-weight bold
&:hover
:background-color white
:color = !title_blue
#content
:margin .5em
td
:background-color #ccc
th
:background-color = !title_blue
:color white
.hint
:font
:size 90%
:weight lighter
span.yes
:color #0f0
:font-weight bolder
span.no
:font-weight bolder
:color #f00
span.maybe
:color #ff0
:font-weight bolder
!circle_size = 12px
!green_circle_url = "url('../images/circle_0f0.png')"
!red_circle_url = "url('../images/circle_f00.png')"
!yellow_circle_url = "url('../images/circle_ff0.png')"
td.yes p
:background-image = !green_circle_url
td.no p
:background-image = !red_circle_url
td.maybe p
:background-image = !yellow_circle_url
td.yes, td.no, td.maybe
:background-color black
:color white
p
:padding-left = !circle_size + !default_icon_margin
:background-repeat no-repeat
td.actions
:background-color transparent
:font-size 90%
:min-width 6em
a
:display inline-block
// Toolbar links with icons
=icon(!icon_url, !icon_size = !silk_icon_size, !icon_margin = !default_icon_margin)
:background
:image = !icon_url
:repeat no-repeat
:min-height = !icon_size + !icon_margin
:padding-left = !icon_size + !icon_margin
!edit_icon_url = "url('../images/pencil.png')"
a.edit
+icon(!edit_icon_url)
!delete_icon_url = "url('../images/cross.png')"
a.delete
+icon(!delete_icon_url)
!ical_icon_url = "url('../images/date.png')"
a.ical
+icon(!ical_icon_url)
!map_icon_url = "url('../images/map.png')"
a.map
+icon(!map_icon_url)
!subscribe_icon_url = "url('../images/add.png')"
a.subscribe
+icon(!subscribe_icon_url)
!unsubscribe_icon_url = "url('../images/delete.png')"
a.unsubscribe
+icon(!unsubscribe_icon_url)
// Other links with icons
!rss_icon_url = "url('../images/feed-icon-14x14.png')"
!rss_icon_size = 14px
.rss
:font-size 90%
+icon(!rss_icon_url, !rss_icon_size)
.url
:font-weight bolder
!pdf_icon_url = "url('../images/pdf-icon-16x16.png')"
!pdf_icon_size = 16px
.pdf
+icon(!pdf_icon_url, !pdf_icon_size, 0px)
.fieldWithErrors
:background-color red
input
:background-color #fcc
:color black
!notice_icon_url = "url('../images/accept.png')"
!warning_icon_url = "url('../images/star.png')"
!error_icon_url = "url('../images/exclamation.png')"
#flash
:background
:position 2px 2px
:repeat no-repeat
:min-height = !silk_icon_size + 4px
:min-width = !silk_icon_size + 4px
:padding-left = !silk_icon_size + !default_icon_margin
&.notice
:background-image = !notice_icon_url
:background-color #cfc
&.warning
:background-image = !warning_icon_url
:background-color #ffc
&.error
:background-image = !error_icon_url
:background-color #fcc
p
:padding 0.25em
/* Some hCalendar properties...
abbr
:text-decoration inherit
.uid
:display none