admin.css 27 KB

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