cas.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481
  1. /* $Id$ */
  2. /* GLOBAL/UTILITIES
  3. --------------------------------- */
  4. /* reset margins and padding for all elements since defaults are not crossbrowser */
  5. /*
  6. * Licensed to Jasig under one or more contributor license
  7. * agreements. See the NOTICE file distributed with this work
  8. * for additional information regarding copyright ownership.
  9. * Jasig licenses this file to you under the Apache License,
  10. * Version 2.0 (the "License"); you may not use this file
  11. * except in compliance with the License. You may obtain a
  12. * copy of the License at the following location:
  13. *
  14. * http://www.apache.org/licenses/LICENSE-2.0
  15. *
  16. * Unless required by applicable law or agreed to in writing,
  17. * software distributed under the License is distributed on an
  18. * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  19. * KIND, either express or implied. See the License for the
  20. * specific language governing permissions and limitations
  21. * under the License.
  22. */
  23. * {
  24. margin:0;
  25. padding:0;
  26. font-size:1em;
  27. }
  28. /* browser default font-size is 16px which is too big so we make it 16px x 62.5% = 10px */
  29. body {
  30. font:normal 62.5%/1 Verdana,Arial,Helvetica,sans-serif;
  31. min-width:992px;
  32. }
  33. form {
  34. float:left;
  35. margin:0 1%;
  36. padding:0;
  37. width:77%;
  38. }
  39. /* general positioning styles */
  40. .ac {text-align:center !important;}
  41. /* HEADER
  42. --------------------------------- */
  43. #header #nav-system {
  44. float:right;
  45. padding:0;
  46. }
  47. #header #nav-system ul {
  48. list-style:none;
  49. margin:0;
  50. padding:0;
  51. }
  52. #header #nav-system li {
  53. float:left;
  54. margin:0;
  55. padding:0;
  56. }
  57. #header #nav-system li a {
  58. float:left;
  59. margin:0 0 0 1px;
  60. padding:2px 10px;
  61. font:normal 1.1em/1.5 Verdana,Arial,Helvetica,sans-serif;
  62. text-decoration:none;
  63. background-color:#323265;
  64. color:#fff;
  65. white-space:nowrap;
  66. }
  67. #header #nav-system li a:hover,
  68. #header #nav-system li a:focus {
  69. background-color:#fff;
  70. color:#323265;
  71. }
  72. #header p#tagline {
  73. padding:0 0 2px 3px;
  74. background: #323265;
  75. color:#fff;
  76. font-size:1.2em;
  77. line-height:1.6;
  78. }
  79. #header h1#app-name {
  80. clear:both;
  81. padding:0 0 0 15px;
  82. background:#323265;
  83. color:#fff;
  84. font:2.4em/2em Arial,Helvetica,sans-serif;
  85. }
  86. /* MAIN MENU
  87. --------------------------------- */
  88. #nav-main {
  89. float: left;
  90. width: 100%;
  91. background: #999;
  92. font-size: 1.1em;
  93. line-height: normal;
  94. padding: 0;
  95. xmargin:0 0 1.5em 0;
  96. color:#eee;
  97. }
  98. #nav-main ul {
  99. margin: 0;
  100. padding: 0;
  101. list-style: none;
  102. line-height: 1.4em;
  103. }
  104. #nav-main li {
  105. display: inline;
  106. margin: 0;
  107. padding: 0;
  108. }
  109. #nav-main a {
  110. float: left;
  111. margin: 0;
  112. padding: 0;
  113. text-decoration: none;
  114. }
  115. #nav-main a span {
  116. float:left;
  117. display:block;
  118. padding:5px 10px;
  119. background:transparent;
  120. color:#eee;
  121. }
  122. /* Hide from IE5Mac only \*/
  123. #nav-main a span {float:none;}
  124. /* End hack */
  125. #nav-main a:hover {background:#eee;}
  126. #nav-main a:hover span {
  127. background:#eee;
  128. color:#333;
  129. }
  130. .highlightBottom td {background:#FFEFF3; color:#666; font-weight:400;}
  131. .highlightBottom td a {display:inline; background:#fff; padding:5px 10px; color:#666; font-weight: normal;}
  132. .highlightBottom a:hover {background:#b00; color:#fff;}
  133. /* CONTENT
  134. --------------------------------- */
  135. #content {
  136. clear:both;
  137. width:auto;
  138. padding:1px 0;
  139. margin:0 2% 2em;
  140. }
  141. #content h1 {
  142. margin:15px 0;
  143. font:normal 2.2em "Times New Roman",serif;
  144. color:#333;
  145. background:transparent;
  146. text-transform:capitalize;
  147. }
  148. #content p {margin:1em 0;}
  149. /* FOOTER
  150. ---------------------------------------------------------- */
  151. #footer {
  152. color:#999;
  153. background:transparent;
  154. clear:both;
  155. margin:0 2% 2em;
  156. padding:0 0 1px 0;
  157. border-top:1px solid #ccc;
  158. position:relative;
  159. }
  160. #footer div {
  161. margin:1em 5px .5em;
  162. clear:left;
  163. overflow:hidden;
  164. }
  165. #footer h4 {
  166. font:normal 1em/1.2 Verdana,Arial,Helvetica,sans-serif;
  167. clear:left;
  168. margin:0;
  169. padding:0;
  170. float:left;
  171. }
  172. #footer a#jasig {
  173. position:relative;
  174. float:right;
  175. clear:both;
  176. display: block;
  177. background-image: url(../../images/ja-sig-logo.gif);
  178. width: 118px;
  179. height: 31px;
  180. margin:1em 5px .5em;
  181. }
  182. #footer #nav-campus-sites {
  183. list-style:none;
  184. float:left;
  185. margin:0 0 0 5px;
  186. padding:0;
  187. }
  188. #footer #nav-campus-sites li {
  189. display:inline;
  190. padding:0;
  191. margin:0;
  192. font:normal 1em/1.2 Verdana,Arial,Helvetica,sans-serif;
  193. }
  194. #footer #nav-campus-sites li:before {} /* content: " | " */
  195. #footer #nav-campus-sites li:first-child:before {}
  196. /* All IE browsers */
  197. * html #footer {height:1px;}
  198. * html #footer #nav-campus-sites {
  199. padding:0 0.4em 0 0;
  200. margin:0;
  201. }
  202. /* Win IE browsers - hide from Mac IE\*/
  203. * html #footer #nav-campus-sites {height:1px; }
  204. * html #footer #nav-campus-sites li {
  205. display:block;
  206. float:left;
  207. }
  208. /* End hide from Mac IE 5 */
  209. * html #footer #nav-campus-sites li:first-child {border-left:0px none;}
  210. /*
  211. _______________________________
  212. --- CONTENT FRAGMENTS ---
  213. _______________________________
  214. */
  215. /* MESSAGES
  216. --------------------------------- */
  217. .errors, .success {
  218. clear:both;
  219. padding:20px 20px 20px 85px; /* bg */
  220. margin:0 0 1em;
  221. font-weight:bold;
  222. font-size:1.3em;
  223. line-height:1.5;
  224. }
  225. .success {
  226. border:1px dotted #390;
  227. color:#390;
  228. background:#dfa url('../../images/services/success.gif') no-repeat 2em 50%;
  229. }
  230. .errors {
  231. border:1px dotted #b00;
  232. color:#e71708; /* bg */
  233. background:#fed url('../../images/services/error.gif') no-repeat 2em 50%;
  234. }
  235. /* FORMS
  236. --------------------------------- */
  237. fieldset {
  238. border-left:0px solid #ddd; border-right:0px solid #ddd; border-top:1px solid #ddd; border-bottom:0px solid #ddd; margin:2em 0; padding:10px;
  239. }
  240. legend {
  241. margin:1em 5px;
  242. color:#b00;
  243. font-size:1.1em;
  244. font-weight:bold;
  245. text-transform:uppercase;
  246. }
  247. label {
  248. cursor:pointer;
  249. font-size:1em;
  250. color:#666;
  251. }
  252. input, select, textarea, option {font:normal 1.1em sans-serif;}
  253. input, textarea {padding:0px 2px;}
  254. select option {margin:auto .5em 0 0;}
  255. /* vertically aligned form*/
  256. input.check { margin:0 0 0 .5em; width:13px; height:13px; vertical-align:middle;}
  257. /* highlight errors */
  258. .required {background:#ff9;}
  259. .formError {
  260. background: #fafafa url('../../images/services/alert2.gif') no-repeat 0 50%;
  261. /* bg */
  262. color:#b00; /* bg */
  263. margin-left:.5em; /* bg */
  264. font-size:1.4em;
  265. line-height:20px; padding-left:24px; padding-right:0; padding-top:0; padding-bottom:0
  266. }
  267. /* TABLES
  268. --------------------------------- */
  269. /* table row highlighting (does not work in IE - JavaScript workaround) */
  270. table.highlight tr:hover td, table.highlight tr.over td {background:#ffc !important;}
  271. table.highlight tr.highlightBottom:hover td {background: #ffeff3 !important;}
  272. table {
  273. border:0px none;
  274. border-collapse:collapse;
  275. empty-cells:show;
  276. background-color:#fff;
  277. font-size:1.1em;
  278. border-collapse:separate;
  279. border-spacing: 0px;
  280. }
  281. .large {width:100%;}
  282. th {
  283. background:#eee;
  284. color:#666;
  285. padding:3px 5px;
  286. text-align:left;
  287. font-weight:normal;
  288. line-height: 24px;
  289. }
  290. tr.added {
  291. background-color: #ff3;
  292. }
  293. td {
  294. padding:3px 5px;
  295. border-bottom:1px solid #eee;
  296. height:38px;
  297. }
  298. td a {
  299. padding:10px 0pt 10px 35px;
  300. text-decoration: none;
  301. display:inline;
  302. line-height:32px;
  303. color:#c1c1c0;
  304. font-weight:400;
  305. }
  306. .add {
  307. min-width:952px;
  308. line-height:32px;
  309. height:32px;
  310. border-top: 5px solid #eee;
  311. color:#000;
  312. width:100%;
  313. text-indent:5px;
  314. padding-top: 5px;
  315. font-size:1.1em;
  316. }
  317. .add a {background: url('../../images/services/add_service.gif') no-repeat left center;
  318. text-decoration: none;
  319. display: inline;
  320. line-height:32px;
  321. color:#c1c1c0;
  322. font-weight:900; padding-left:35px; padding-right:0; padding-top:10px; padding-bottom:10px
  323. }
  324. .add a:hover {color:#b00;}
  325. td a.edit {background: url('../../images/services/edit_service.gif') no-repeat left center;}
  326. td a.del {background: url('../../images/services/delete_service.gif') no-repeat left center;}
  327. td a:hover {color:#b00;}
  328. p.instructions {
  329. margin:1em 0;
  330. font-size:1.2em;
  331. background:url('../../images/services/info.gif') no-repeat left center; padding-left:2em; padding-right:0; padding-top:5px; padding-bottom:5px
  332. }
  333. fieldset {
  334. padding:15px 10px;
  335. background-color:#fafafa;
  336. margin:20px 0;
  337. position:relative;
  338. border:1px solid #ddd;
  339. }
  340. legend {
  341. padding:2px 5px;
  342. color:#b00;
  343. font-size:1.3em;
  344. font-weight:900;
  345. background:#fff;
  346. }
  347. label.preField, .label {
  348. display:block;
  349. width:8em;
  350. float:left;
  351. font-size:1.1em;
  352. color:#666; /* + bg */
  353. line-height:20px; /* + bg */
  354. }
  355. label.postField {
  356. margin-right:1em;
  357. font-size:1.1em;
  358. vertical-align:middle; /*- bg */
  359. line-height:20px; /* + bg */
  360. }
  361. .check {border:0px none;}
  362. input,
  363. textarea,
  364. select {
  365. border:1px solid #ccc;
  366. border-color:#999 #eee #eee #999;
  367. padding:2px;
  368. margin-left:.5em; /* + bg */
  369. }
  370. input {
  371. /* margin-left:.5em; - bg */
  372. font-size:1.1em;
  373. vertical-align:top;
  374. }
  375. span.oneField {
  376. display:block;
  377. margin:1em 0; /* bg */
  378. padding:0;
  379. }
  380. button {font-size:1em;}
  381. .primaryAction {
  382. padding:.5em;
  383. color:green;
  384. font-weight:900;
  385. }
  386. @media screen {
  387. div#container {
  388. width:100%;
  389. min-width:952px;
  390. margin:0;
  391. padding:0;
  392. }
  393. table#headerTable {
  394. width:100%;
  395. min-width:952px;
  396. background:#999;
  397. margin:0;
  398. padding:0;
  399. border:0;
  400. border-collapse:collapse;
  401. }
  402. div.tableWrapper {
  403. width:100%;
  404. min-width:952px;
  405. max-height:250px;
  406. overflow:auto;
  407. overflow-x:hidden;
  408. }
  409. table#scrollTable {
  410. width:100%;
  411. min-width:935px;
  412. }
  413. table#scrollTable thead {display:none;}
  414. table#headerTable th, table#scrollTable td {padding:0 5px; border:0;}
  415. table#scrollTable td {text-align:left; border-bottom:1px solid #eee;}
  416. table#headerTable th {height:38px; border:0 !important;}
  417. th.th1, td.td1 {width:200px; overflow:hidden;}
  418. th.th2, td.td2 {overflow:hidden;}
  419. th.th3, td.td3 {width:50px;}
  420. th.th4, td.td4 {width:70px;}
  421. th.th5, td.td5 {width:50px;}
  422. th.th6, td.td6 {width:70px;}
  423. th.th7, td.td7 {width:102px;}
  424. th.th8, td.td8 {width:70px}
  425. th.th9, td.td9 {width:70px; text-align:right !important;}
  426. th.th10, td.td10 {width:102px; text-align:right !important;}
  427. .hint {margin-left:9.5em; margin-bottom:1em; line-height:1.5;}
  428. .actions {margin:1.5em 0;}
  429. #allowedAttributes {height:150px;}
  430. }
  431. /* Container that holds the error messages on the services manage page
  432. * This will be hidden by default and through JS calls, will be displayed
  433. * when appropriate.
  434. */
  435. #errorsDiv {
  436. display: none;
  437. }