]> git.plutz.net Git - confetti/blob - templates/courses.css.sh
Added AGPL License notice to every file
[confetti] / templates / courses.css.sh
1 # Copyright 2014 Paul Hänsch
2 #
3 # This file is part of Confetti.
4
5 # Confetti is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU Affero General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
9
10 # Confetti is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU Affero General Public License for more details.
14
15 # You should have received a copy of the GNU Affero General Public License
16 # along with Confetti.  If not, see <http://www.gnu.org/licenses/>. 
17
18 cat <<EOF
19
20 .sort {
21   display: block;
22   width: 126ex;
23   border-width: 1px;
24   border-style: solid;
25   border-radius: 4px 4px 0 0 ;
26   margin: 1em auto .25em auto;
27   padding: .25em 2ex .25em 2ex;
28   background: #EFF;
29 }
30 .sort .label {
31   font-weight: bold;
32 }
33
34 .newcourse {
35   display: block;
36   width: 126ex;
37   border-width: 1px;
38   border-style: solid;
39   border-radius: 0 0 4px 4px;
40   margin: .25em auto 1em auto;
41   padding: .25em 2ex .25em 2ex;
42   background: #EFF;
43 }
44
45 .courselist .course {
46   display: block;
47   width: 130ex;
48   border-style: solid;
49   border-width: 1px;
50   margin: .25em auto;
51   padding: 0;
52   overflow: auto;
53   background: #FFF;
54 }
55
56 .courselist .course .section {
57   display: inline-block;
58   float:left;
59   width: 25ex;
60   margin: .125em .5ex .5ex .5ex;
61   padding: 0 .2em .2em .2em;
62   background: #EEE;
63 }
64
65 .courselist .course .attendance {
66   width:50ex;
67 }
68 .courselist .course .attendance a {
69   display: inline-block;
70   max-width: 13.75ex;
71   color: #008;
72   border-style: solid;
73   border-width: 1px;
74   margin: .25em .125ex .25em .125ex;
75   padding: .125em 1ex .125em 1ex;
76   background: #EFF;
77 }
78
79 .courselist .course .dtstart {
80   width: 35ex;
81 }
82 .courselist .course .dtstart .DTSYEAR{
83   display: inline-block;
84   text-align: center;
85   font-weight: bold;
86   width: 11ex;
87 }
88 .courselist .course .dtstart .DTSMONTH{
89   display: inline-block;
90   text-align: center;
91   font-weight: bold;
92   width: 18ex;
93 }
94 .courselist .course .dtstart .DTS{
95   display: inline-block;
96   text-align: center;
97   font-weight: bold;
98   width: 4ex;
99 }
100 .courselist .course .dtstart .DTSCALHEAD{
101   display: inline-block;
102   font-weight: bold;
103   width: 4ex;
104   margin: .25ex;
105 }
106 .courselist .course .dtstart .DTSCAL{
107   display: inline-block;
108   width: 4ex;
109   margin: .25ex;
110 }
111 .courselist .course .dtstart .selected {
112   font-weight: bold;
113 }
114 .courselist .course .dtstart .DTSTIME{
115   display: inline-block;
116   width: 10ex;
117 }
118 .courselist .course .dtstart span.DTSTIME{
119   font-weight: bold;
120 }
121
122 .courselist .course .recur{
123   width: 35ex;
124 }
125
126 .courselist .course .control {
127   float: right;
128   max-width: 22ex;
129   text-align: right;
130   margin-right: 0;
131   background: #EEF;
132 }
133 .courselist .course .control .item {
134   color: #008;
135   margin-top: .2em;
136   margin-right: 1ex;
137 }
138 .courselist .course .control a.item {
139   min-width: 10ex;
140   border-style: solid double solid solid;
141   border-width: 1px 3px 1px 1px;
142   border-color: #000;
143   padding: .1em 1ex;
144   background: #FFF;
145 }
146 .courselist .course .control a.item:hover{
147   border-width: 1px 1px 1px 1px;
148 }
149
150 .courselist .course .section .sectitle {
151   display: block;
152   font-weight: bold;
153   margin: .2em .2em .2em .2em;
154 }
155
156 .courselist .course .section .item {
157   display: block;
158   max-width: 25ex;
159   word-wrap: break-word;
160 }
161 .courselist .course .section input[type="text"] {
162   width: 24ex;
163 }
164
165 .courselist .course .section textarea.COMMENT {
166   width: 24ex;
167   min-height: 6em;
168 }
169
170 EOF
171
172 # vi:set filetype=css: