-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
214 lines (179 loc) · 4.21 KB
/
style.css
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
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
body {
padding-top: 60px
}
.code {
background: #d0d0d0;
}
.MeetingGrid_meeting_default {
border-style: double;
cursor: move
}
.MeetingGrid_meeting_selected {
border-style: double;
cursor: move;
background-color: green
}
.MeetingGrid_meeting_conflict {
border-style: double;
cursor: move;
background-color: red
}
table.Calendar_calendar {
width: 100%;
margin-bottom: 20px;
}
table.Calendar_calendar tr td {
border-style: solid;
width: 14%;
height: 5em;
vertical-align: top;
padding-left: 5px;
padding-right: 5px;
padding-bottom: 10px;
}
.Calendar_date {
text-decoration: underline;
}
.Calendar_time {
font-style: italic;
}
.Calendar_buttn {
float: right;
clear: right;
}
div.Calendar_fields {
margin-top: 20px;
}
div.Calendar_item {
margin-bottom: 5px;
display: inline-table;
width: 100%;
}
.PsetGrade_summary {
width: 100%;
border-style: solid;
cursor: pointer;
}
.PsetGrade_fullHeader {
width: 100%;
border-style: solid;
cursor: pointer;
margin-bottom: 10px;
}
.PsetGrade_full {
width: 100%;
border-style: solid;
padding: 10px;
}
.PsetGrade_editingHeader {
width: 100%;
border-style: solid;
}
.PsetGrade_editing {
width: 100%;
border-style: solid;
padding: 10px;
}
.PsetSub_file {
width: 100%;
border-style: solid;
padding: 10px;
}
.Discussion_post {
width: 100%;
border-style: solid;
padding: 10px;
margin-bottom: 10px;
}
.Discussion_post_header {
border-style: solid;
padding: 5px;
}
.LinearStateMachine_downArrow {
text-align: center
}
.LinearStateMachine_label {
text-align: center
}
.Auth_alert_fixed {
width: 50%;
height: 100px;
background-color: aqua;
position: fixed;
top:0;
bottom: 0;
left: 0;
right: 0;
margin: auto;
padding: 0px 10px 10px 10px;
border-style: solid;
}
/* Fixed-header stuff from http://jsfiddle.net/drueter/yqgB5/16/ */
/*
Force table width to 100%
*/
table.MeetingGrid_table_fixedheader {
width: 100%;
}
/*
Set table elements to block mode. (Normally they are inline).
This allows a responsive table, such as one where columns can be stacked
if the display is narrow.
*/
table.MeetingGrid_table_fixedheader,
table.MeetingGrid_table_fixedheader>thead,
table.MeetingGrid_table_fixedheader>tbody,
table.MeetingGrid_table_fixedheader>thead>tr,
table.MeetingGrid_table_fixedheader>tbody>tr,
table.MeetingGrid_table_fixedheader>thead>tr>th,
table.MeetingGrid_table_fixedheader>tbody>td {
display: block;
}
table.MeetingGrid_table_fixedheader>thead>tr:after,
table.MeetingGrid_table_fixedheader>tbody>tr:after {
content: ' ';
display: block;
visibility: hidden;
clear: both;
}
/*
When scrolling the table, actually it is only the tbody portion of the
table that scrolls (not the entire table: we want the thead to remain
fixed). We must specify an explicit height for the tbody. We include
100px as a default, but it can be overridden elsewhere.
Also, we force the scrollbar to always be displayed so that the usable
width for the table contents doesn't change (such as becoming narrower
when a scrollbar is visible and wider when it is not).
*/
table.MeetingGrid_table_fixedheader>tbody {
overflow-y: scroll;
height: 100px;
}
/*
We really don't want to scroll the thead contents, but we want to force
a scrollbar to be displayed anyway so that the usable width of the thead
will exactly match the tbody.
*/
table.MeetingGrid_table_fixedheader>thead {
overflow-y: scroll;
}
/*
For browsers that support it (webkit), we set the background color of
the unneeded scrollbar in the thead to make it invisible. (Setting
visiblity: hidden defeats the purpose, as this alters the usable width
of the thead.)
*/
table.MeetingGrid_table_fixedheader>thead::-webkit-scrollbar{
background-color: inherit;
}
/*
We want to set <th> and <td> elements to float left.
We also must explicitly set the width for each column (both for the <th>
and the <td>). We set to 20% here a default placeholder, but it can be
overridden elsewhere.
*/
table.MeetingGrid_table_fixedheader>thead>tr>th,
table.MeetingGrid_table_fixedheader>tbody>tr>td {
width: 20%;
float: left;
}