admin.css 26 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207
  1. /* Experimental code to hide header content in admin. Will not be used in deafult.
  2. /* Not checked since main theme was rewritten for the new look. Beware.
  3. /* Commenting out the entire block sets admin back to the default header.
  4. ------------------------------------------------------- */
  5. /*
  6. body.action_admin #header {
  7. padding: 2px 2px 0 2px;
  8. }
  9. body.action_admin #header .frame {
  10. padding: 0 0 50px 0;
  11. background: url(../images/theme/bars.png) 0 -560px repeat-x;
  12. }
  13. body.action_admin #top_section, body.action_admin #upper_section {
  14. display: none;
  15. }
  16. body.action_admin #upper_wrap {
  17. background: none;
  18. padding: 4px 8px 0 8px;
  19. }
  20. body.action_admin #main_content_section {
  21. margin: -45px 0 0 0;
  22. }
  23. body.action_admin .navigate_section ul {
  24. padding: 5px 8px;
  25. background: #fff url(../images/theme/lower_section.png) 0 100% repeat-x;
  26. border: 1px solid #b8b8b8;
  27. border-radius: 5px;
  28. box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  29. }
  30. body.action_admin .navigate_section ul li.unread_links {
  31. display: none;
  32. }
  33. body.action_admin .navigate_section ul li a {
  34. font-weight: bold;
  35. }*/
  36. /* End experimental header hiding stuffz. */
  37. /* Common admin center classes.
  38. ------------------------------------------------------- */
  39. /* @todo
  40. /* The CSS targeting for all this gets a bit convoluted and requires a good clean up.
  41. /* It's left over from when I started theming admin independently over a Curve forum.
  42. /* Can be simplified quite a lot before production builds. */
  43. /* Re-style default cat bars to get rid of header bar mania. */
  44. #manage_maintenance .cat_bar, #core_features .cat_bar, #support_credits .cat_bar {
  45. border: none;
  46. border-top: 1px solid #bbb;
  47. }
  48. #manage_maintenance .cat_bar .catbg, #manage_boards .cat_bar .catbg, #core_features .cat_bar .catbg,
  49. #support_credits .cat_bar .catbg, .generic_list_wrapper .cat_bar .catbg {
  50. border: none;
  51. border-top: 1px solid #fff;
  52. text-shadow: none;
  53. }
  54. #admin_main_section .cat_bar:first-child, #admin_main_section .cat_bar:first-child h3.catbg,
  55. #support_credits .cat_bar, #support_credits .cat_bar:first-child,
  56. #support_credits .cat_bar h3.catbg, #support_credits .cat_bar:first-child h3.catbg,
  57. #manage_maintenance .cat_bar, #manage_maintenance .cat_bar:first-child,
  58. #manage_maintenance .cat_bar h3.catbg, #manage_maintenance .cat_bar:first-child h3.catbg {
  59. color: #444;
  60. font-size: 1.1em;
  61. background: none;
  62. border-radius: 0;
  63. text-shadow: none;
  64. }
  65. #admin_main_section .cat_bar:first-child, #admin_main_section .cat_bar:first-child h3.catbg,
  66. #support_credits .cat_bar:first-child, #support_credits .cat_bar:first-child h3.catbg,
  67. #manage_maintenance .cat_bar:first-child, #manage_maintenance .cat_bar:first-child h3.catbg {
  68. border: none;
  69. }
  70. /* Special styling for admin descriptions. */
  71. .action_admin p.description, .action_admin .information {
  72. overflow: auto;
  73. background: none;
  74. border: 1px solid #ddd;
  75. border-top: none;
  76. border-radius: 0 0 7px 7px;
  77. margin: -1px 0 12px 0;
  78. padding: 12px 9px 8px 9px;
  79. }
  80. .action_admin p.description a {
  81. font-weight: bold;
  82. }
  83. .action_admin p.description img {
  84. vertical-align: middle;
  85. }
  86. .action_admin .generic_list_wrapper .information {
  87. background: #fff url(../images/theme/lower_section.png) 0 100% repeat-x;
  88. margin: 8px 0;
  89. padding: 4px 12px 2px 12px;
  90. border: 1px solid #ccc;
  91. border-radius: 2px;
  92. box-shadow: 0 2px 2px rgba(0,0,0,0.1);
  93. }
  94. .action_admin .generic_list_wrapper .information div {
  95. background: none;
  96. }
  97. .information a {
  98. font-weight: bold;
  99. }
  100. .action_admin .generic_list {
  101. overflow: auto;
  102. }
  103. #admin_content .windowbg, #admin_content .windowbg2 {
  104. margin-bottom: 5px;
  105. }
  106. #admincenter .content {
  107. padding: 12px;
  108. }
  109. /* Secondary menu corrections. */
  110. .action_admin #adm_submenus {
  111. margin: 0 0 -18px 0;
  112. padding: 10px 15px 0 15px;
  113. overflow: hidden;
  114. }
  115. /* A general admin wrapper class. */
  116. #admin_main_section, div.quick_tasks,
  117. #support_credits, #admin_newsletters,
  118. #core_features, #generate_reports_type,
  119. #groupForm, #mailqueue_stats, #manage_maintenance,
  120. #new_group, #view_group, #admin_form_wrapper, .action_admin .generic_list_wrapper{
  121. background: #f0f4f7;
  122. margin: 12px 0 0 0;
  123. padding: 8px 8px 16px 8px;
  124. border: 1px solid #ccc;
  125. border-radius: 7px;
  126. box-shadow: 0 -2px 2px rgba(0,0,0,0.1);
  127. overflow: auto;
  128. }
  129. div.quick_tasks {
  130. margin: -8px 0 0 0;
  131. }
  132. #admin_form_wrapper div.windowbg, #support_credits div.windowbg,
  133. #generate_reports_type div.windowbg, #new_group div.windowbg,
  134. #view_group div.windowbg, #admin_newsletters .windowbg {
  135. background: none;
  136. padding: 0;
  137. margin: 0 4px;
  138. }
  139. #mailqueue_stats {
  140. padding: 8px 8px 0 8px;
  141. }
  142. #mailqueue_stats .windowbg {
  143. background: none;
  144. padding: 0;
  145. }
  146. #mailqueue_stats .windowbg .content {
  147. padding: 12px 9px 0 9px;
  148. }
  149. #admin_form_wrapper div.cat_bar:first-child, #admin_newsletters div.cat_bar:first-child,
  150. #generate_reports_type div.cat_bar:first-child, #groupForm div.cat_bar:first-child,
  151. #admin_form_wrapper div.title_bar, #mailqueue_stats div.cat_bar:first-child,
  152. #new_group div.cat_bar:first-child, #view_group div.cat_bar, #view_group div.cat_bar:first-child {
  153. background: none;
  154. border: none;
  155. border-bottom: 1px solid #fff;
  156. box-shadow: none;
  157. }
  158. #admin_form_wrapper div.cat_bar:first-child h3.catbg, #admin_newsletters div.cat_bar:first-child h3.catbg,
  159. #generate_reports_type div.cat_bar:first-child h3.catbg, #groupForm div.cat_bar:first-child h3.catbg,
  160. #admin_form_wrapper h3.titlebg, #mailqueue_stats div.cat_bar:first-child h3.catbg,
  161. #new_group div.cat_bar:first-child h3.catbg, #view_group div.cat_bar h3.catbg, #view_group div.cat_bar:first-child h3.catbg {
  162. color: #444;
  163. text-shadow: none;
  164. padding: 3px 1px 5px 1px;
  165. margin: 0;
  166. border-bottom: 1px solid #bbb;
  167. }
  168. #admin_form_wrapper div.title_bar {
  169. background: #fff url(../images/theme/lower_section.png) 0 0 repeat-x;
  170. border: 1px solid #ccc;
  171. border-radius: 2px 2px 0 0;
  172. margin: 0;
  173. }
  174. .action_admin .generic_list_wrapper .title_bar {
  175. background: none;
  176. border-bottom: 1px solid #fff;
  177. }
  178. .action_admin .generic_list_wrapper .titlebg {
  179. border-bottom: 1px solid #bbb;
  180. }
  181. #admin_form_wrapper h3.titlebg {
  182. color: #666;
  183. border-bottom: none;
  184. padding: 8px 6px 5px 6px;
  185. }
  186. #view_group .title_bar {
  187. background: none;
  188. border-bottom: none;
  189. border-top: 1px solid #bbb;
  190. margin: -12px 0;
  191. }
  192. #view_group .titlebg {
  193. border-top: 1px solid #fff;
  194. border-bottom: none;
  195. }
  196. #view_group .table_grid {
  197. margin: 4px 0 8px 0;
  198. }
  199. .action_admin .table_grid th, .action_admin .table_grid .first_th, .action_admin .table_grid .last_th {
  200. border-radius: 0;
  201. border-top: 2px solid #ff9400;
  202. border-bottom: 2px solid #bf6900;
  203. padding: 6px 6px 5px 6px;
  204. background: #fff;
  205. color: #666;
  206. }
  207. .action_admin .table_grid tr.catbg th a:link {
  208. color: #666;
  209. }
  210. .action_admin .table_grid .first_th, .action_admin .table_grid td:first-child {
  211. border-left: 1px solid #ccc;
  212. }
  213. .action_admin .table_grid .last_th, .action_admin .table_grid td {
  214. border-right: 1px solid #ccc;
  215. }
  216. .action_admin .table_grid td {
  217. border-bottom: 1px solid #ccc;
  218. }
  219. .action_admin .table_grid tr:nth-child(even) td {
  220. background: #fdfdfd;
  221. }
  222. .action_admin .table_grid tr:nth-child(odd) td {
  223. background: #f8f8f8;
  224. }
  225. /* Newsletters screen.
  226. ---------------------------------------------*/
  227. #admin_newsletters .information {
  228. background: #fff url(../images/theme/lower_section.png) 0 50% repeat-x;
  229. margin: 8px 0;
  230. padding: 8px 12px 6px 12px;
  231. border: 1px solid #ccc;
  232. border-radius: 2px;
  233. box-shadow: 0 2px 2px rgba(0,0,0,0.1);
  234. }
  235. #advanced_panel_header {
  236. margin-bottom: 8px;
  237. background: #fff url(../images/theme/lower_section.png) 0 100% repeat-x;
  238. box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  239. border: 1px solid #ccc;
  240. border-radius: 2px;
  241. }
  242. #advanced_panel_header a {
  243. color: #444;
  244. }
  245. /*-------------------------------------------*/
  246. .action_admin .generic_list .flow_auto {
  247. padding: 4px 2px;
  248. }
  249. h3.titlebg form {
  250. font-size: 80%;
  251. }
  252. .windowbg.nopadding {
  253. margin: 4px 0 0 0;
  254. padding: 0;
  255. }
  256. .windowbg ol {
  257. margin-top: 0;
  258. margin-bottom: 0;
  259. }
  260. a.help .icon {
  261. margin: 0 0 0 0;
  262. padding: 0 4px 0 0;
  263. }
  264. .catbg a.help .icon {
  265. margin: -4px 0 0 0;
  266. }
  267. .table_caption, tr.table_caption td {
  268. color: #000;
  269. font-size: 10px;
  270. font-weight: bold;
  271. }
  272. .additional_row div.floatleft {
  273. padding: 0 10px;
  274. }
  275. fieldset {
  276. margin-bottom: 6px;
  277. border: 1px solid #cacdd3;
  278. padding: 6px;
  279. }
  280. fieldset dl {
  281. margin: 0;
  282. }
  283. legend {
  284. font-weight: bold;
  285. color: #000;
  286. }
  287. /* Styles for the admin home screen.
  288. ------------------------------------------------------- */
  289. /* Admin quick search bar, and results page. */
  290. h3.catbg #quick_search form {
  291. font-size: 0.9em;
  292. }
  293. h3.catbg #quick_search form input, h3.catbg #quick_search form select, h3.catbg #quick_search form .button_submit {
  294. margin: 0 3px;
  295. padding: 3px;
  296. border-radius: 4px;
  297. border: 1px solid #777;
  298. vertical-align: top;
  299. }
  300. h3.catbg #quick_search form select {
  301. font-size: 0.9em;
  302. margin: 0;
  303. padding: 2px;
  304. }
  305. h3.catbg #quick_search form select option {
  306. padding: 2px 4px;
  307. }
  308. h3.catbg #quick_search form .button_submit {
  309. font-weight: bold;
  310. background: #fff url(../images/theme/lower_section.png) 0 100% repeat-x;
  311. padding: 2px 6px 2px 6px;
  312. }
  313. h3.catbg #quick_search form .button_submit:hover {
  314. background: #fff;
  315. }
  316. /* Browser tweaks. */
  317. body#chrome #quick_search form input {
  318. padding: 4px 3px;
  319. }
  320. body#chrome #quick_search .button_submit, body#ie #quick_search .button_submit, body#opera #quick_search .button_submit {
  321. margin: 0 5px;
  322. padding: 5px 9px 4px 9px;
  323. }
  324. body#chrome #quick_search .button_submit {
  325. margin: -26px 5px 0 5px;
  326. }
  327. /* The welcome thingy. */
  328. #admincenter .roundframe {
  329. background: none;
  330. border: none;
  331. box-shadow: none;
  332. margin: 0;
  333. padding: 0;
  334. overflow: visible;
  335. }
  336. #welcome {
  337. border: 1px solid #ddd;
  338. border-top: none;
  339. border-radius: 0 0 7px 7px;
  340. font-size: 0.9em;
  341. padding: 12px 9px 8px 9px;
  342. }
  343. #welcome a {
  344. font-weight: bold;
  345. }
  346. #welcome img {
  347. vertical-align: middle;
  348. }
  349. .search_results {
  350. margin: 0 -6px;
  351. }
  352. .search_results li {
  353. margin: 0;
  354. padding: 5px 0;
  355. overflow: auto;
  356. line-height: 1.7em;
  357. border-bottom: double #ccc;
  358. }
  359. .search_results li a strong {
  360. color: #346;
  361. }
  362. .search_results li p {
  363. padding: 0 20px;
  364. line-height: 1.7em;
  365. }
  366. /* Cleaned this up a bit for less clutter.
  367. /* Admin and moderation could generally do with a clean up everywhere.
  368. /* Live news from smf.org and support information. */
  369. #admin_main_section {
  370. margin: 12px 0 0 0;
  371. padding: 8px 12px 4px 12px;
  372. border-radius: 7px 7px 0 0;
  373. border-bottom: none;
  374. }
  375. #admin_main_section .cat_bar {
  376. background: none;
  377. }
  378. #admin_main_section .catbg, #admin_main_section .catbg a {
  379. color: #444;
  380. max-height: 1.5em;
  381. overflow: hidden;
  382. }
  383. #live_news, #supportVersionsTable {
  384. width: 70%;
  385. -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
  386. }
  387. #supportVersionsTable {
  388. width: 30%;
  389. padding-left: 6px;
  390. }
  391. #admin_main_section .windowbg {
  392. padding: 6px 0;
  393. border: 1px solid #ccc;
  394. border-top: 1px solid #bbb;
  395. border-bottom: 1px solid #ddd;
  396. border-radius: 0;
  397. background: #fff url(../images/theme/upper_section.png) 0 -50px repeat-x;
  398. box-shadow: 0 2px 2px rgba(255,255,255,0.5), 0 -1px 2px rgba(0,0,0,0.1);
  399. height: 12em;
  400. overflow: auto;
  401. }
  402. #live_news div.content, #supportVersionsTable div.content {
  403. padding: 0;
  404. font-size: 0.9em;
  405. }
  406. #supportVersionsTable div.content {
  407. padding: 0 8px;
  408. }
  409. #live_news div.content dl {
  410. padding: 0;
  411. color: #111;
  412. }
  413. #smfAnnouncements dt {
  414. padding: 4px 6px 2px 6px;
  415. border-top: 1px solid #bf6900;
  416. }
  417. #smfAnnouncements dt a {
  418. color: #bf6900;
  419. font-weight: bold;
  420. display: block;
  421. }
  422. #smfAnnouncements dd {
  423. margin: 0;
  424. padding: 6px 12px;
  425. border-top: double #ddd;
  426. }
  427. /* The update warning. */
  428. #update_section {
  429. margin: 6px 0;
  430. }
  431. /* Links to handy sections of admin.
  432. ----------------------------------*/
  433. /* The <li>'s here have been set to a height in em with hidden overflow.
  434. /* Yes, this will clip the blurb when using very large font sizes on a narrowish screen.
  435. /* However, more than enough content is still available for clarity,
  436. /* and the advantage is that a clean layout is always maintained.
  437. /* The <li>'s could be set to auto overflow instead, but that just clutters things up with scrollbars.
  438. /* Scrollbars here look worse, take up space, and don't really add anything useful in this context. */
  439. div.quick_tasks {
  440. border-radius: 0 0 7px 7px;
  441. border-top: none;
  442. box-shadow: none;
  443. padding: 0 0 16px 0;
  444. }
  445. #quick_tasks {
  446. border-top: 1px solid #bbb;
  447. border-bottom: 1px solid #fff;
  448. }
  449. #quick_tasks li {
  450. list-style: none;
  451. padding: 10px 6px 10px 6px;
  452. border-top: 1px solid #fff;
  453. border-bottom: 1px solid #bbb;
  454. float: left;
  455. width: 50%;
  456. height: 6em;
  457. overflow: hidden;
  458. }
  459. #quick_tasks li a {
  460. line-height: 1.6em;
  461. }
  462. .home_image {
  463. float: left;
  464. margin: 2px 10px;
  465. }
  466. #quick_tasks li span {
  467. display: block;
  468. margin: 0 0 0 70px;
  469. }
  470. /* Styles for the support and credits page.
  471. /* Hey, people might actually want to put their names on it now!
  472. /* Only a couple of trivial markup hacks that wont break any mods or themes.
  473. /* The older I get, the more devious I get. :D
  474. /* Nobody ever themes admin anyway. That's why it looked like crap.
  475. -----------------------------------------------------------------*/
  476. #support_credits {
  477. position: relative;
  478. padding: 6px 12px 12px 12px;
  479. }
  480. #support_credits h3.catbg, #support_credits .cat_bar:first-child h3.catbg {
  481. padding: 12px 6px 6px 6px;
  482. }
  483. #support_resources {
  484. margin: 16px 0 -24px 0;
  485. }
  486. #credits_logo {
  487. position: absolute;
  488. right: 10px;
  489. top: 9px;
  490. }
  491. #support_credits .content {
  492. padding: 0 18px;
  493. line-height: 1.6em;
  494. }
  495. #support_credits .content p {
  496. margin: 12px 0 0 0;
  497. padding: 0;
  498. }
  499. #support_credits a {
  500. border-bottom: 1px solid #d2d2d2;
  501. }
  502. #support_credits a:hover {
  503. color: #00163d;
  504. text-decoration: none;
  505. border-bottom: 1px solid #556f82;
  506. }
  507. #support_credits img.icon {
  508. vertical-align: middle;
  509. }
  510. #support_credits .catbg a.help, #support_credits .catbg a.help:hover {
  511. border-bottom: none;
  512. }
  513. #latestSupport{
  514. padding: 0 25px 15px 25px;
  515. }
  516. #credits_sections {
  517. margin: 0 0 -24px 0;
  518. }
  519. #support_credits dl {
  520. padding: 0 6px;
  521. }
  522. #support_credits dt {
  523. float: left;
  524. padding: 6px 0.8em 0 0;
  525. text-indent: -4px;
  526. }
  527. #support_credits dd {
  528. padding: 6px 0;
  529. }
  530. /* Styles for the core features screen.
  531. /* Cleaned up a bit for clarity.
  532. ------------------------------------------------------- */
  533. #core_features {
  534. padding: 20px 0;
  535. }
  536. #core_features hr {
  537. padding: 0;
  538. margin: 4px 0 12px 0;
  539. }
  540. #core_features .content {
  541. padding: 0 12px;
  542. overflow: auto;
  543. }
  544. /* Keep your enemies close, and your submit buttons if your screen is huge. */
  545. /* Speaking of which, I can't see the last submit that is in the markup. */
  546. /* Still works without it if you reload the page, but rather odd that it's hiding. */
  547. .features_image {
  548. float: left;
  549. margin: 0 12px 0 0;
  550. }
  551. .features_switch {
  552. margin: -20px 0 6px 6px;
  553. float: right;
  554. }
  555. .features h4 {
  556. padding: 0;
  557. margin: 0 6px 0 105px;
  558. font-size: 1.1em;
  559. overflow: hidden;
  560. white-space: pre;
  561. text-overflow: ellipsis;
  562. min-height: 1.6em;
  563. max-height: 1.6em;
  564. }
  565. .features p {
  566. margin: 0 6px 0 105px;
  567. padding: 0;
  568. min-height: 56px;
  569. }
  570. /* Styles for the package manager.
  571. /* Haven't got here yet. :P
  572. ------------------------------------------------- */
  573. #package_list .tborder {
  574. margin: .25em 0 .25em 26px;
  575. }
  576. #package_list ol, #package_list ol li {
  577. list-style: decimal;
  578. margin-left: 50px;
  579. border: none;
  580. }
  581. #package_list ol ul, #package_list ol ul li {
  582. margin-left: 0;
  583. list-style: none;
  584. }
  585. #package_list {
  586. list-style-type: none;
  587. }
  588. #package_list li {
  589. border: 1px solid #cacdd3;
  590. padding: 0.2em;
  591. margin: 1px;
  592. }
  593. .description {
  594. max-height: 15em;
  595. overflow: auto;
  596. padding-bottom: .5em;
  597. }
  598. .information {
  599. max-height: 15em;
  600. overflow: auto;
  601. padding-bottom: .5em;
  602. }
  603. .package_section {
  604. border: 1px solid #cacdd3;
  605. }
  606. ul.packages li {
  607. border: none !important;
  608. list-style: none;
  609. }
  610. code#find_code, code#replace_code {
  611. display: block;
  612. font-family: "dejavu sans mono", "monaco", "lucida console", "courier new", monospace;
  613. font-size: 0.9em;
  614. background: #eef;
  615. border-top: 2px solid #999;
  616. border-bottom: 2px solid #999;
  617. margin: 1px 0 6px 0;
  618. padding: 3px 12px;
  619. overflow: auto;
  620. white-space: nowrap;
  621. /* Show a scrollbar after about 6 lines. */
  622. /* This is much better than the old max-height css. */
  623. height: 10em;
  624. resize: vertical;
  625. }
  626. span.package_server {
  627. padding: 0 3em;
  628. }
  629. ul.package_servers {
  630. margin: 0;
  631. padding: 0;
  632. }
  633. ul.package_servers li {
  634. list-style-type: none;
  635. }
  636. pre.file_content {
  637. overflow: auto;
  638. width: 100%;
  639. padding-bottom: 1em;
  640. }
  641. .operation {
  642. padding: 0 1em;
  643. }
  644. /* Styles for the file permissions section.
  645. ------------------------------------------------- */
  646. .filepermissions {
  647. font-size: 0.8em;
  648. white-space: nowrap;
  649. }
  650. .fperm {
  651. display: block;
  652. width: 35%;
  653. text-align: center;
  654. }
  655. .perm_read {
  656. background-color: #d1f7bf;
  657. }
  658. .perm_write {
  659. background-color: #ffbbbb;
  660. }
  661. .perm_execute {
  662. background-color: #fdd7af;
  663. }
  664. .perm_custom {
  665. background-color: #c2c6c0;
  666. }
  667. .perm_nochange {
  668. background-color: #eee;
  669. }
  670. /* Styles for the BBC permissions
  671. ------------------------------------------------- */
  672. .list_bbc {
  673. width: 33%;
  674. }
  675. /* Styles for the manage boards section.
  676. ------------------------------------------------- */
  677. #manage_boards {
  678. background: #f0f4f7;
  679. margin: 12px 0 0 0;
  680. padding: 8px 8px 16px 8px;
  681. border: 1px solid #ccc;
  682. border-radius: 7px;
  683. box-shadow: 0 -2px 2px rgba(0,0,0,0.1);
  684. overflow: auto;
  685. }
  686. #manage_boards .title_bar {
  687. background: none;
  688. border-bottom: 1px solid #fff;
  689. }
  690. #manage_boards .titlebg {
  691. border-bottom: 1px solid #bbb;
  692. }
  693. #manage_boards .cat_bar, #manage_boards .windowbg {
  694. background: none;
  695. margin: 0 0 0 0;
  696. padding: 0 0 0 0;
  697. border: none;
  698. border-radius: 7px 7px 0 0;
  699. }
  700. #manage_boards .catbg {
  701. padding: 8px 16px 4px 16px;
  702. color: #444;
  703. }
  704. #manage_boards .cat_bar .catbg {
  705. border: none;
  706. border-bottom: 1px solid #bbb;
  707. }
  708. #manage_boards .catbg a {
  709. color: #346;
  710. }
  711. #manage_boards .catbg a:hover {
  712. border-bottom: 1px solid #346;
  713. }
  714. #manage_boards .windowbg {
  715. margin: 0;
  716. padding: 0;
  717. }
  718. #manage_boards ul {
  719. padding: 0;
  720. margin: 0 0 8px 0;
  721. max-height: 30em;
  722. overflow: auto;
  723. border-top: 1px solid #bbb;
  724. border-bottom: 1px solid #fff;
  725. border-radius: 2px;
  726. }
  727. #manage_boards li, #manage_boards li.windowbg, #manage_boards li.windowbg2 {
  728. list-style: none;
  729. margin: 0 1px;
  730. padding: 8px 0;
  731. border: 1px solid #ccc;
  732. border-bottom: 1px solid #bbb;
  733. border-top: 1px solid #fff;
  734. border-radius: 0;
  735. }
  736. #manage_boards li img {
  737. vertical-align: middle;
  738. padding: 0 6px 3px 6px;
  739. }
  740. #manage_boards li .floatleft {
  741. font-weight: bold;
  742. padding: 0 6px;
  743. }
  744. #manage_boards li#recycle_board {
  745. background-color: #dee;
  746. }
  747. .move_links {
  748. padding: 0 13px 0 0;
  749. }
  750. .modify_boards {
  751. padding: 0 0.5em;
  752. }
  753. #manage_boards span.modify_boards a {
  754. background: #fff url(../images/theme/lower_section.png) 0 0 repeat-x;
  755. border: 1px solid #aaa;
  756. border-radius: 3px;
  757. box-shadow: 1px 1px 2px rgba(0,0,0,0.1);
  758. padding: 3px 6px;
  759. font: 95%/115% verdana, Helvetica, sans-serif;
  760. color: #222;
  761. font-size: 1em;
  762. }
  763. #manage_boards span.modify_boards a:hover {
  764. background: #fff url(../images/theme/upper_section.png) 0 -40px repeat-x;
  765. text-decoration: none;
  766. color: #444;
  767. box-shadow: -1px -1px 1px rgba(0,0,0,0.1);
  768. }
  769. #manage_boards .button_submit {
  770. box-shadow: 1px 1px 2px rgba(0,0,0,0.1), 0 -1px 3px rgba(0,0,0,0.1) inset;
  771. border-top: 1px solid #bbb;
  772. border-left: 1px solid #bbb;
  773. background: #dceeff;
  774. text-shadow: 0 0 2px #fff;
  775. margin: 0 8px;
  776. }
  777. #manage_boards .button_submit:hover {
  778. box-shadow: -1px -1px 1px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.1) inset;
  779. border-top: 1px solid #999;
  780. border-left: 1px solid #999;
  781. background: #cde7ff;
  782. }
  783. #manage_boards dl {
  784. padding: 8px 6px 0 6px;
  785. }
  786. #manage_boards dl textarea, #manage_boards dl table{
  787. margin: 0 0 8px 0;
  788. }
  789. #manage_boards span.post_group, #manage_boards span.regular_members {
  790. border-bottom: 1px dotted #000;
  791. cursor: help;
  792. }
  793. .select_all_box {
  794. display:none;
  795. }
  796. /* Styles for the manage members section.
  797. ------------------------------------------------- */
  798. .msearch_details {
  799. display: block;
  800. width: 49%;
  801. }
  802. dl.right dt {
  803. padding-right: 10px;
  804. }
  805. /* Styles for the manage maintenance section.
  806. ------------------------------------------------- */
  807. #manage_maintenance .catbg {
  808. border-top: 1px solid #fff;
  809. padding-top: 14px;
  810. color: #555;
  811. }
  812. #manage_maintenance .cat_bar:first-child, #manage_maintenance .cat_bar:first-child .catbg {
  813. border-top: none;
  814. margin: 0 0 -4px 0;
  815. }
  816. #manage_maintenance div.windowbg, #manage_maintenance div.windowbg2 {
  817. background: none;
  818. padding: 0 0 12px 0;
  819. margin: 0;
  820. }
  821. #manage_maintenance p {
  822. margin: -5px 0 0 0;
  823. padding: 0 0 10px 0;
  824. max-width: 70em;
  825. }
  826. #manage_maintenance p .button_submit{
  827. margin: 10px 10px 0px 10px;
  828. }
  829. /* Stop the submit buttons running away on wide screens.*/
  830. #manage_maintenance form {
  831. max-width: 80em;
  832. }
  833. #manage_maintenance .settings {
  834. margin: 16px 0 0 0;
  835. }
  836. .maintenance_finished, #task_completed {
  837. background: #B7FCA7 url(../images/warning_watch.png) 8px 50% no-repeat;
  838. border: 1px solid green;
  839. padding: 6px 30px;
  840. margin-bottom: 1em;
  841. }
  842. #manage_maintenance .maintenance_finished {
  843. background: #B7FCA7 url(../images/warning_watch.png) 8px 50% no-repeat;
  844. border: 1px solid green;
  845. border-radius: 4px 4px 0 0;
  846. padding: 6px 30px;
  847. margin: 0 0 6px 0;
  848. }
  849. /* Styles for the manage calendar section.
  850. ------------------------------------------------- */
  851. dl.settings dt.small_caption {
  852. width: 20%;
  853. }
  854. dl.settings dd.small_caption {
  855. width: 79%;
  856. }
  857. /* Styles for the manage permissions section.
  858. ------------------------------------------------- */
  859. #permissionForm .table_grid {
  860. width: 100%;
  861. }
  862. #permissionForm .table_grid img.icon {
  863. vertical-align: top;
  864. width: 16px;
  865. }
  866. dl.admin_permissions dt {
  867. width: 35%;
  868. }
  869. dl.admin_permissions dd {
  870. width: 64%;
  871. }
  872. /* Styles for the manage search section.
  873. ------------------------------------------------- */
  874. dl.settings dt.large_caption {
  875. width: 70%;
  876. }
  877. dl.settings dd.large_caption {
  878. width: 29%;
  879. }
  880. span.search_weight {
  881. width: 40px;
  882. padding: 0 0.5em;
  883. text-align: right;
  884. }
  885. .search_settings {
  886. width: 47%;
  887. }
  888. /* Styles for the manage bans section.
  889. ------------------------------------------------- */
  890. .ban_restriction {
  891. margin: 0.2em 0 0.2em 2.2em;
  892. }
  893. .ban_settings {
  894. width: 46%;
  895. }
  896. #manage_bans dl {
  897. margin-bottom: 1em;
  898. }
  899. #manage_bans fieldset dl.settings {
  900. margin-bottom: 0;
  901. }
  902. /* Styles for the manage subscriptions section.
  903. ------------------------------------------------- */
  904. #fixed_area {
  905. width: 97%;
  906. }
  907. ul.pending_payments {
  908. margin: 0;
  909. padding: 0;
  910. }
  911. ul.pending_payments li {
  912. list-style-type: none;
  913. }
  914. /* Styles for the manage permissions section.
  915. ------------------------------------------------- */
  916. .perm_name, .perm_profile, .perm_board {
  917. display: block;
  918. width: 40%;
  919. }
  920. .perm_boards {
  921. padding: 0;
  922. margin: 0 0 0.6em 0;
  923. }
  924. .perm_boards li {
  925. list-style-type: none;
  926. border: 1px solid #cacdd3;
  927. padding: 0.2em;
  928. margin: 1px;
  929. }
  930. .perm_groups {
  931. background-color: #fff;
  932. }
  933. .perm_classic {
  934. margin: 0.2em;
  935. }
  936. .permission_groups {
  937. padding: 0;
  938. margin: 0;
  939. }
  940. .permission_groups li {
  941. list-style-type: none;
  942. padding: 0.2em;
  943. margin: 1px;
  944. }
  945. .perms {
  946. width: 20px;
  947. display: inline-block;
  948. text-align: center;
  949. }
  950. /* Styles for the themes section.
  951. ------------------------------------------------- */
  952. ul.theme_options {
  953. padding: 0;
  954. margin: 0;
  955. }
  956. ul.theme_options li {
  957. list-style: none;
  958. padding: 0.4em;
  959. }
  960. .is_directory {
  961. padding-left: 18px;
  962. background: url(../images/admin/boards.png) no-repeat;
  963. }
  964. .edit_file {
  965. width: 96%;
  966. font-family: monospace;
  967. margin-top: 1ex;
  968. white-space: pre;
  969. }
  970. dl.themes_list {
  971. margin: 0;
  972. }
  973. dl.themes_list dt {
  974. margin-bottom: 3px;
  975. }
  976. dl.themes_list dd {
  977. font-style: italic;
  978. white-space: nowrap;
  979. }
  980. /* Styles for the registration center.
  981. ------------------------------------------------- */
  982. .agreement, .reserved_names {
  983. padding: 0;
  984. }
  985. #agreement, #reserved {
  986. width: 99%;
  987. }
  988. /* Styles for the moderation center.
  989. ------------------------------------------------- */
  990. #modcenter {
  991. display: block;
  992. width: 100%;
  993. }
  994. .modblock_left {
  995. width: 49%;
  996. float: left;
  997. clear: right;
  998. margin: 0 0 1em 0;
  999. }
  1000. .modblock_right {
  1001. width: 49%;
  1002. float: right;
  1003. margin: 0 0 1em 0;
  1004. }
  1005. .modblock_left #smfAnnouncements {
  1006. height: 15em;
  1007. overflow: auto;
  1008. }
  1009. /* Moderation Notes */
  1010. ul.moderation_notes {
  1011. margin: 0;
  1012. padding: 0;
  1013. list-style: none;
  1014. overflow: auto;
  1015. height: 10.2em;
  1016. }
  1017. ul.moderation_notes li {
  1018. padding: 0.2em;
  1019. border-bottom: 1px solid #cccccc;
  1020. }
  1021. .notes {
  1022. margin-top: 0.4em;
  1023. }
  1024. .post_note {
  1025. width: 85%;
  1026. }
  1027. /* Styles for the error log.
  1028. ------------------------------------------------- */
  1029. h3.grid_header {
  1030. height: 25px;
  1031. }
  1032. #error_log {
  1033. width: 100%;
  1034. }
  1035. #error_log tr.windowbg td, #error_log tr.windowbg2 td {
  1036. padding: 8px;
  1037. line-height: 160%;
  1038. }
  1039. #error_log td div {
  1040. -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
  1041. }
  1042. #error_log td.checkbox_column {
  1043. width: 15px;
  1044. vertical-align: top;
  1045. text-align: center;
  1046. }
  1047. #error_log a img {
  1048. vertical-align: middle;
  1049. margin: 0 8px 0 0;
  1050. }
  1051. /* More error log stuff. Could still be cleaned up a bit.
  1052. --------------------------------------------------*/
  1053. #error_log {
  1054. margin: 4px 0;
  1055. }
  1056. #error_log tr:first-child td {
  1057. border-top: 2px solid #ff9400;
  1058. border-bottom: 2px solid #bf6900;
  1059. background: #fff;
  1060. padding: 8px;
  1061. }
  1062. /* Styles for the Report generation
  1063. ------------------------------------------------- */
  1064. #report_buttons {
  1065. min-height: 2.4em;
  1066. padding: 3px 0;
  1067. }
  1068. .report_results th {
  1069. border-left: 1px solid #ddd;
  1070. border-right: 1px solid #ddd;
  1071. }
  1072. /* Try out some nifty small screen friendliness, for the cost of a few more bytes. */
  1073. /*@media screen and (max-width: 85em) {
  1074. .features p {
  1075. margin: 0;
  1076. padding: 0;
  1077. min-height: 10em;
  1078. max-height: 10em;
  1079. }
  1080. }*/
  1081. @media screen and (max-width: 490px),(max-width: 32em) {
  1082. body {
  1083. padding: 0;
  1084. }
  1085. #wrapper, #footer_section div.frame {
  1086. min-width: 100%;
  1087. }
  1088. #main_content_section {
  1089. padding: 0 10px;
  1090. }
  1091. /* Level 1 button background. */
  1092. .dropmenu li {
  1093. line-height: 3.2em;
  1094. }
  1095. .dropmenu li ul {
  1096. top: 3.45em;
  1097. }
  1098. .dropmenu li li a {
  1099. line-height: 3.2em;
  1100. }
  1101. #menu_toggle {
  1102. display: none;
  1103. }
  1104. h3.catbg #quick_search form {
  1105. margin: 0 0 8px 0;
  1106. padding: 0;
  1107. }
  1108. h3.catbg #quick_search form input {
  1109. margin: 0 0 12px 0;
  1110. }
  1111. h3.catbg #quick_search form select option {
  1112. padding: 4px 4px;
  1113. }
  1114. h3.catbg #quick_search form .button_submit {
  1115. margin: 0 3px 0 3px;
  1116. }
  1117. #live_news, #supportVersionsTable {
  1118. width: 100%;
  1119. }
  1120. #live_news {
  1121. margin: 0 0 6px 0;
  1122. }
  1123. #supportVersionsTable {
  1124. padding: 0;
  1125. }
  1126. #quick_tasks ul li span {
  1127. display: block;
  1128. margin: 0 0 0 50px;
  1129. }
  1130. #credits_page {
  1131. padding-top: 35px;
  1132. }
  1133. #credits_page img {
  1134. right: 6px;
  1135. }
  1136. #core_features .features_image {
  1137. display: none;
  1138. }
  1139. #core_features .features_switch {
  1140. margin: -24px 0 0 5px;
  1141. }
  1142. #core_features .features h4 {
  1143. padding: 0 0 10px 0;
  1144. }
  1145. #core_features .features p {
  1146. margin: 0;
  1147. padding: 0;
  1148. min-height: 0;
  1149. max-height: 5em;
  1150. overflow: auto;
  1151. }
  1152. #manage_boards .catbg {
  1153. margin-top: 10px;
  1154. }
  1155. #manage_boards .windowbg {
  1156. line-height: 3.2em;
  1157. }
  1158. #manage_boards ul {
  1159. max-height: 120em;
  1160. padding: 0 0 10px 0;
  1161. }
  1162. #manage_boards dd, #manage_boards dt {
  1163. width: 100%;
  1164. }
  1165. #manage_boards dt {
  1166. line-height: 1.6em;
  1167. }
  1168. /* These kids and their new-fangled thingummys. :P */
  1169. /* When I were a lad, things were different! */