base.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586
  1. /**
  2. * Common CSS for all themes
  3. */
  4. * {
  5. outline :none;
  6. }
  7. input {
  8. -moz-border-radius:5px;
  9. -webkit-border-radius:5px;
  10. border-radius:5px;
  11. -x-system-font:none;
  12. border:1px solid #CCCCCC;
  13. color:#666666;
  14. font-family:Arial,Helvetica,sans-serif;
  15. font-size:120%;
  16. line-height:normal;
  17. padding:4px;
  18. }
  19. textarea {
  20. border:1px solid #CCCCCC;
  21. padding:5px;
  22. -moz-border-radius:5px;
  23. -webkit-border-radius:5px;
  24. border-radius:5px;
  25. color:#666666;
  26. }
  27. select {
  28. color:#555;
  29. border: 1px solid #CCC;
  30. padding: 4px;
  31. background-color: #F3F3F3;
  32. font-size: 12px;
  33. -moz-border-radius:5px;
  34. -webkit-border-radius:5px;
  35. border-radius:5px;
  36. }
  37. input[type=checkbox], input[type=radio], input[type=button], input[type=submit] {
  38. cursor: pointer;
  39. font-size: 12px;
  40. -moz-border-radius:5px;
  41. -webkit-border-radius:5px;
  42. -border-radius:5px;
  43. border:1px solid #E1E1E0;
  44. }
  45. input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
  46. border: 1px solid #849FB3;
  47. box-shadow: 0 0 5px #C9D2D9;
  48. background-image:none;
  49. background-color:white;
  50. -moz-border-radius:5px;
  51. -border-radius:5px;
  52. -webkit-border-radius:5px;
  53. border-radius:5px;
  54. }
  55. /* Fixes the FB input*/
  56. input.maininput:focus {
  57. box-shadow:0 0 0px #fff;
  58. border:none;
  59. }
  60. /* Big icons course home page styles */
  61. .big_icon {
  62. /*width:205px; */
  63. padding:10px;
  64. }
  65. .big_icon img {
  66. margin:0 auto 0 auto;
  67. }
  68. .courseadminview .big_icon a {
  69. font-size:12px;
  70. }
  71. /* Fixes the administration block section */
  72. .admin_section div {
  73. margin: 5px 0 14px 5px;
  74. margin-left: 39px;
  75. }
  76. .rounded_div {
  77. background: none repeat scroll 0 0 #FFFFFF;
  78. border: 1px solid #E5E5E5;
  79. -webkit-border-radius: 11px;
  80. -opera-border-radius: 11px;
  81. -moz-border-radius: 11px;
  82. border-radius: 11px;
  83. -webkit-box-shadow: 0 4px 18px #C8C8C8;
  84. -opera-box-shadow: 0 4px 18px #C8C8C8;
  85. -moz-box-shadow: 0 4px 18px #C8C8C8;
  86. box-shadow: 0 4px 18px #C8C8C8;
  87. float: left;
  88. height: auto;
  89. margin: 10px 8px 15px 15px;
  90. padding: 16px 12px 5px;
  91. }
  92. /* Categories courses*/
  93. #course-picture {
  94. position:absolute;
  95. top:8%;
  96. left:85%;
  97. padding:4px;
  98. border:1pt solid #ccc;
  99. }
  100. #categories-content-first {
  101. width:290px;
  102. //padding:5px;
  103. float:left;
  104. }
  105. #categories-search {
  106. text-align:center;
  107. /*height:55px; */
  108. float: right;
  109. }
  110. #categories-list {
  111. -moz-border-radius-topleft:8px;
  112. -moz-border-radius-topright:8px;
  113. -webkit-border-top-left-radius: 8px;
  114. -webkit-border-top-right-radius: 8px;
  115. border-top-left-radius: 8px;
  116. border-top-right-radius: 8px;
  117. -moz-box-shadow:0 -1px 10px 2px #CCCCCC;
  118. -Webkit-box-shadow: 0 -1px 10px 2px #CCCCCC;
  119. box-shadow: 0 -1px 10px 2px #CCCCCC;
  120. border:1px solid #CCCCCC;
  121. float:left;
  122. margin:8px;
  123. width:240px;
  124. min-height:132px;
  125. padding:18px;
  126. font-size:11pt;
  127. }
  128. #categories-content-second {
  129. margin-left: 308px;
  130. //padding:5px;
  131. margin-top:5px;
  132. }
  133. .course-block-main-item {
  134. height:32px;
  135. }
  136. .categories-block-course {
  137. -moz-border-radius-topleft:8px;
  138. -moz-border-radius-topright:8px;
  139. -webkit-border-top-left-radius: 8px;
  140. -webkit-border-top-right-radius: 8px;
  141. border-top-left-radius: 8px;
  142. border-top-right-radius: 8px;
  143. -moz-box-shadow:0 -1px 10px 2px #CCCCCC;
  144. -Webkit-box-shadow: 0 -1px 10px 2px #CCCCCC;
  145. box-shadow: 0 -1px 10px 2px #CCCCCC;
  146. border:1px solid #CCCCCC;
  147. float:left;
  148. margin:10px;
  149. padding:12px;
  150. width:240px;
  151. min-height:180px;
  152. color: #BBBBBB;
  153. }
  154. .categories-course-picture {
  155. width:95px;
  156. height:95px;
  157. float:left;
  158. -moz-border-radius-topleft:4px;
  159. -moz-border-radius-topright:4px;
  160. -webkit-border-top-left-radius: 4px;
  161. -webkit-border-top-right-radius: 4px;
  162. border-top-left-radius: 4px;
  163. border-top-right-radius: 4px;
  164. -moz-box-shadow:0 -1px 5px 2px #CCCCCC;
  165. -Webkit-box-shadow: 0 -1px 5px 2px #CCCCCC;
  166. box-shadow: 0 -1px 5px 2px #CCCCCC;
  167. margin-left: 8px;
  168. }
  169. .categories-course-picture img {
  170. width: 95px;
  171. height: 95px;
  172. background-color: #eeeeee;
  173. }
  174. .categories-course-description {
  175. margin-left:10px;
  176. font-family:arial;
  177. font-size:11px;
  178. margin-bottom: 10px;
  179. }
  180. .categories-course-description .course-block-title {
  181. font-family: arial;
  182. font-size: large;
  183. margin-bottom: 10px;
  184. color: #222222;
  185. }
  186. .categories-course-description .course-block-teacher {
  187. font-size: large;
  188. font-style: italic;
  189. text-align: right;
  190. color: #444444;
  191. line-height: 10px;
  192. }
  193. .categories-course-description .course-block-date {
  194. font-size: large;
  195. font-style: italic;
  196. text-align: right;
  197. color: #444444;
  198. line-height: 10px;
  199. }
  200. .course-block-popularity {
  201. width: 90px;
  202. margin-left:120px;
  203. font-size: x-small;
  204. font-style: italic;
  205. text-align: right;
  206. background-color: #eeeeee;
  207. min-height:95px;
  208. padding-right: 5px;
  209. -moz-border-radius-topleft:4px;
  210. -moz-border-radius-topright:4px;
  211. -webkit-border-top-left-radius: 4px;
  212. -webkit-border-top-right-radius: 4px;
  213. border-top-left-radius: 4px;
  214. border-top-right-radius: 4px;
  215. -moz-box-shadow:0 -1px 5px 2px #CCCCCC;
  216. -Webkit-box-shadow: 0 -1px 5px 2px #CCCCCC;
  217. box-shadow: 0 -1px 5px 2px #CCCCCC;
  218. }
  219. .course-block-popularity-score {
  220. font-size: 3em;
  221. text-align: center;
  222. color: #000000;
  223. padding-top: 10px;
  224. text-shadow: gray 3px 3px 2px;
  225. }
  226. .categories-course-links {
  227. margin-top:20px;
  228. height:16px;
  229. padding:2px;
  230. }
  231. .course-link-desc {
  232. //padding:10px 10px 0px;
  233. float:left;
  234. }
  235. /* Attendance */
  236. .attendance-users-table td {
  237. height:66px;
  238. }
  239. .attendance-calendar-table td {
  240. height:66px;
  241. }
  242. /* Agenda */
  243. .rounded_div_agenda {
  244. background: none repeat scroll 0 0 #FFFFFF;
  245. -webkit-border-radius: 6px;
  246. -opera-border-radius: 6px;
  247. -moz-border-radius: 6px;
  248. border-radius: 6px;
  249. -webkit-box-shadow: 0 2px 5px #C8C8C8;
  250. -opera-box-shadow: 0 2px 5px #C8C8C8;
  251. -moz-box-shadow: 0 2px 5px #C8C8C8;
  252. box-shadow: 0 2px 5px #C8C8C8;
  253. float: left;
  254. height: auto;
  255. margin: 2px 4px 15px;
  256. padding: 8px;
  257. width: 85%;
  258. }
  259. .agenda_day {
  260. float:left;
  261. width:100%;
  262. background-color: #F8F9FF;
  263. color: #666666;
  264. line-height: 16px;
  265. overflow: hidden;
  266. margin-bottom:5px;
  267. }
  268. .days_today .agenda_day {
  269. float:left;
  270. width:100%;
  271. background-color: #FAD163;
  272. color: #666666;
  273. line-height: 16px;
  274. overflow: hidden;
  275. margin-bottom:5px;
  276. }
  277. a.tag {
  278. background-color: #E0EAF1;
  279. border-bottom: 1px solid #3E6D8E;
  280. border-right: 1px solid #7F9FB6;
  281. color: #3E6D8E;
  282. font-size: 90%;
  283. line-height: 2.4;
  284. margin: 2px 2px 2px 0;
  285. padding: 3px 4px;
  286. text-decoration: none;
  287. white-space: nowrap;
  288. }
  289. #agenda_list th {
  290. background-color: #F2F2F2;
  291. }
  292. #agenda_list .days_week {
  293. height: 100px;
  294. }
  295. /* Makes the course elements more readable */
  296. .userportal-course-item{
  297. padding:15px;
  298. }
  299. .session_course_item {
  300. padding: 6px 0px 6px 5px ;
  301. }
  302. /* LP tool*/
  303. div.lp_resource {
  304. padding:5px 10px;
  305. width:450px;
  306. list-style-type: none;
  307. margin: 0;
  308. padding: 0;
  309. }
  310. .lp_resource_element, .lp_resource_element_no_link {
  311. background-image:-moz-linear-gradient(top,#fefefe,#eee);
  312. background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#fdfdfd),color-stop(1,#eee));
  313. border: 1px solid #CCCCCC;
  314. color: #444444;
  315. cursor: pointer;
  316. font-weight: bold;
  317. text-decoration: none;
  318. text-shadow: 0 1px 1px #F6F6F6;
  319. margin:5px;
  320. padding:5px;
  321. }
  322. .doc_resource {
  323. margin:5px;
  324. }
  325. div.lp_tree {
  326. height: 100%;
  327. overflow: auto;
  328. padding: 3px 10px 3px 0;
  329. width: 230px;
  330. }
  331. table.lp_build td.tree {
  332. border:none;
  333. }
  334. #resource_tab {
  335. min-height:380px;
  336. }
  337. /* Breadcrumb */
  338. .bread {
  339. //border: 1px solid #DEDEDE;
  340. height: 25px;
  341. margin: 0px;
  342. padding:0px;
  343. }
  344. .bread li {
  345. color: #777777;
  346. float: left;
  347. line-height: 25px;
  348. }
  349. .bread span {
  350. display: block;
  351. font-size:11px;
  352. padding: 0 15px 0 9px;
  353. }
  354. .bread a {
  355. display: block;
  356. font-size:11px;
  357. }
  358. .bread a:hover {
  359. color:#35acc5;
  360. }
  361. .bread li {
  362. display: block;
  363. }
  364. .bread li a {
  365. background: url("crumbs.gif") no-repeat scroll right center transparent;
  366. display: block;
  367. background-repeat:no-repeat;
  368. background-position:right;
  369. }
  370. .bread .home {
  371. padding:5px 15px 4px 8px;
  372. }
  373. #logo {
  374. height:85px;
  375. overflow:hidden;
  376. margin-left:4%;
  377. }
  378. #document_quota {
  379. margin:15px;
  380. font-weight:bold;
  381. color:#006633;
  382. text-align:center;
  383. }
  384. /* fixes bug in ie7 */
  385. #menu {
  386. width:180px;
  387. }
  388. /* Nice buttons*/
  389. .left {
  390. float:left;
  391. }
  392. .right {
  393. float:right;
  394. }
  395. /* New button style experimental */
  396. button {
  397. border:1px solid #ccc;
  398. -opera-border-radius: 8px;
  399. -webkit-border-radius: 8px;
  400. border-radius: 8px;
  401. -opera-shadow: 2px 2px 1px rgba(0, 0, 0, 0.5);
  402. -webkit-shadow: 2px 2px 1px rgba(0, 0, 0, 0.5);
  403. box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.5);
  404. font-weight:bold;
  405. font-size: 105%;
  406. }
  407. button:hover {
  408. color:#000;
  409. border-style: inset;
  410. background-color:#eee;
  411. border:1px solid #ccc;
  412. }
  413. /* Nice buttons v2 */
  414. .a_button {
  415. display: inline-block;
  416. zoom: 1; /* zoom and *display = ie7 hack for display:inline-block */
  417. display: inline;
  418. vertical-align: baseline;
  419. margin: 0 2px;
  420. outline: none;
  421. cursor: pointer;
  422. text-align: center;
  423. text-decoration: none;
  424. font: 14px/100% Arial, Helvetica, sans-serif;
  425. padding: .5em 2em .55em;
  426. text-shadow: 0 1px 1px rgba(0,0,0,.3);
  427. -webkit-border-radius: .5em;
  428. -moz-border-radius: .5em;
  429. border-radius: .5em;
  430. -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
  431. -moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
  432. box-shadow: 0 1px 2px rgba(0,0,0,.2);
  433. }
  434. .a_button:hover {
  435. text-decoration: none;
  436. }
  437. .a_button:active {
  438. position: relative;
  439. top: 1px;
  440. }
  441. .bigrounded {
  442. -webkit-border-radius: 2em;
  443. -moz-border-radius: 2em;
  444. border-radius: 2em;
  445. }
  446. .medium {
  447. font-size: 12px;
  448. padding: .4em 1.5em .42em;
  449. }
  450. .small {
  451. font-size: 11px;
  452. padding: .2em 1em .275em;
  453. }
  454. /* white */
  455. .a_button .white {
  456. color: #606060;
  457. }
  458. .white {
  459. color: #606060 !important;
  460. border: solid 1px #b7b7b7;
  461. background: #fff;
  462. background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ededed));
  463. background: -moz-linear-gradient(top, #fff, #ededed);
  464. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ededed');
  465. }
  466. .white:hover {
  467. color: #606060;
  468. background: #ededed;
  469. background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#dcdcdc));
  470. background: -moz-linear-gradient(top, #fff, #dcdcdc);
  471. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#dcdcdc');
  472. }
  473. .white:active {
  474. color: #999;
  475. background: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#fff));
  476. background: -moz-linear-gradient(top, #ededed, #fff);
  477. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#ffffff');
  478. }
  479. /* orange */
  480. .orange {
  481. color: #fef4e9 !important;
  482. border: solid 1px #da7c0c;
  483. background: #f78d1d;
  484. background: -webkit-gradient(linear, left top, left bottom, from(#faa51a), to(#f47a20));
  485. background: -moz-linear-gradient(top, #faa51a, #f47a20);
  486. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#faa51a', endColorstr='#f47a20');
  487. }
  488. .orange:hover {
  489. color: #fef4e9;
  490. background: #f47c20;
  491. background: -webkit-gradient(linear, left top, left bottom, from(#f88e11), to(#f06015));
  492. background: -moz-linear-gradient(top, #f88e11, #f06015);
  493. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f88e11', endColorstr='#f06015');
  494. }
  495. .orange:active {
  496. color: #fcd3a5;
  497. background: -webkit-gradient(linear, left top, left bottom, from(#f47a20), to(#faa51a));
  498. background: -moz-linear-gradient(top, #f47a20, #faa51a);
  499. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f47a20', endColorstr='#faa51a');
  500. }