Files
@ 1bf6c5c1eb85
Branch filter:
Location: SlatePermutate/styles/output.css
1bf6c5c1eb85
4.2 KiB
text/css
Generalize setting a CSS class based on the type of section on the input page, move cedarville-specific CSS to schools.d/cedarville.inc and add ILB to CSS. Fixes bug #121.
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 214 215 216 | /*
* Copyright 2011 Nathan Gelderloos, Ethan Zonca, Nathan Phillip Brink
*
* This file is part of SlatePermutate.
*
* SlatePermutate is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SlatePermutate is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with SlatePermutate. If not, see <http://www.gnu.org/licenses/>.
*/
/* Output Table Styling */
.top,
.multi
{
background-color:#dddddd;
-moz-border-radius-topright: 5px;
border-top-right-radius: 5px;
-moz-border-radius-topleft: 5px;
border-top-left-radius: 5px;
}
.top
{
border-style:solid solid none solid;
}
.mid
{
border-style:none solid none solid;
background-color:#dddddd;
}
.end,
.multi
{
background-color:#dddddd;
-moz-border-radius-bottomright: 5px;
border-bottom-right-radius: 5px;
-moz-border-radius-bottomleft: 5px;
border-bottom-left-radius: 5px;
}
.end
{
border-style:none solid solid solid;
}
.multi
{
border-style: solid;
}
.none{
border-style:none;
border-bottom: 1px solid #DDD;
}
.single
{
border-style:solid;
background-color:#dddddd;
}
td{
text-align:center;
width:7em;
}
.time
{
border-style:none none solid none;
border-bottom: 1px solid #aaa;
white-space: nowrap;
}
.day{
border-style:none none solid solid;
background: #F0F0F0;
}
.prof,
.location,
.synonym
{
color: #444444;
font-size: small;
}
/* Class Coloring */
.multi { }
.class0 { background: #69c76f; }
.class1 { background: #c5c769; }
.class2 { background: #c76b69; }
.class3 { background: #696fc7; }
.class4 { background: #69a7c7; }
.class5 { background: #c769c6; }
.class6 { background: #989898; }
.class7 { background: #e8e8e8; }
.class8 { background: #111111; color: #fff; }
.class9 { background: #00437d; color: #fff; }
.class10 { background: #7e2400; color: #fff; }
.permuteNum { border-bottom: 1px solid #000; font-weight: bold; color: #fff; background: #222; }
.top, .multi, .end {
-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.1), -1px 2px 2px rgba(0,0,0,0.6);
-moz-box-shadow:0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
box-shadow:0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
}
#tabs table {
clear: both;
}
#tabs ul {
text-align: center;
margin: auto;
margin-top: 10px;
margin-bottom: 2px;
}
/* don't let the user see a tall stack of tabs before jQuery().tabs() is called. */
#tabs li
{
display: inline-block;
}
#tabs table {
margin: auto;
}
#tabs li a
{
-moz-border-radius-topright: 10px;
border-top-right-radius: 10px;
-moz-border-radius-topleft: 10px;
border-top-left-radius: 10px;
text-decoration: none;
background: rgb(0,35,0); /* Fallback */
background: rgba(0,35,0,0.9);
padding: 2px;
}
#tabs li a:link
{
color: rgb(255,255,255);
color: rgba(255,255,255,1);
}
#tabs li a:visited
{
color: rgb(255,255,255);
color: rgba(255,255,255,1);
}
#tabs li a:hover, .ui-tabs-selected a
{
background: rgb(200,200,200) !important; /* fallback */
background: rgba(200,200,200,1)!important;
color: rgb(0,0,0)!important;
}
#tabs li a:active {
color: rgba(200,200,200,1);
}
#tabs {
min-width: 400px;
max-width: 750px;
margin: auto;
}
#tabs li /* , .ui-corner-all, .ui-corner-top */ { background: none!important; }
#tabs li { border: none!important; }
.show-buttons {
width: 99%;
margin: auto;
padding: 2px;
background: #EEE;
border: 1px solid #AAA;
border-radius: 3px;
-moz-border-radus: 3px;
}
.show-buttons label {
padding-right: .5em;
}
.pager
{
display: inline-block;
clear: none;
}
.pager a
{
text-decoration: none;
}
#pager-previous
{
float: left;
}
#pager-next
{
float: right;
}
table {
border-radius: 5px;
}
.none {
border-bottom: 1px dotted #ccc;
}
.section
{
page-break-before: always;
}
.section:first-child
{
page-break-before: auto;
}
|