core.css 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817
  1. p:last-child { margin:0px; }
  2. hr { display:none; }
  3. /**
  4. * Toggleables ========================================================
  5. */
  6. .toggleable { display:none; }
  7. /**
  8. * Generic ============================================================
  9. */
  10. .page-content dl dt {}
  11. .page-content dl dd,
  12. .page-content dl dl {
  13. margin-left:20px;
  14. margin-bottom:10px;
  15. }
  16. /**
  17. * Console ============================================================
  18. */
  19. div.messages {
  20. color:#036;
  21. background-color:#f8f8f8;
  22. border:1px solid #ccc;
  23. margin:0px 0px 10px;
  24. }
  25. table tr.warning th,
  26. div.warning {
  27. color:#a84;
  28. background-color:#fff4c0;
  29. }
  30. table tr.error th,
  31. div.error {
  32. color:#965;
  33. background-color:#ffe4e0;
  34. }
  35. table tr.ok th,
  36. table tr.info th,
  37. div.status {
  38. color:#687;
  39. background-color:#ecf8f4;
  40. }
  41. div.error { border-color:#ffd4d0; }
  42. div.warning { border-color:#ffe4b0; }
  43. div.status { border-color:#dce8e4; }
  44. /**
  45. * Pagers =============================================================
  46. */
  47. .pager {
  48. font-weight:normal;
  49. font-size:11px;
  50. }
  51. .pager ul.pager-list { float:left; }
  52. .pager ul.pager-links { float:right; }
  53. /**
  54. * Menus, lists =======================================================
  55. */
  56. .admin-block-description,
  57. .help-items ul li,
  58. .confirmation ul li,
  59. .item-list ul li,
  60. .prose .item-list li,
  61. .menu li {
  62. float:none;
  63. display:block;
  64. padding:5px 10px 4px;
  65. border-bottom:1px solid #f4f4f4;
  66. }
  67. .admin-block-description,
  68. .help-items ul li:last-child,
  69. .confirmation ul li:last-child,
  70. .item-list ul li:last-child,
  71. .prose .item-list li:last-child,
  72. .menu li:last-child {
  73. border-bottom:0px;
  74. padding-bottom:5px;
  75. }
  76. .admin-panel h3 span.icon,
  77. .admin-list li a span.icon {
  78. position:absolute;
  79. left:10px;
  80. top:10px;
  81. }
  82. .admin-list-compact li a span.icon { top:5px; }
  83. .admin-panel h3,
  84. .node-type-list li,
  85. .admin-list li {
  86. position:relative;
  87. padding:10px 5px 9px 50px;
  88. margin:0px;
  89. min-height:30px;
  90. border-bottom:1px solid #e8e8e8;
  91. }
  92. .admin-panel h3 {
  93. background:#f4f4f4;
  94. line-height:30px;
  95. }
  96. .admin-list-compact li { min-height:20px; }
  97. .node-type-list li:last-child,
  98. .admin-list li:last-child { border:0px; }
  99. /**
  100. * Tables =============================================================
  101. */
  102. .tabledrag-toggle-weight-wrapper {
  103. float:right;
  104. font-size:11px;
  105. margin-bottom:-30px;
  106. height:20px;
  107. padding:5px;
  108. }
  109. .tabledrag-toggle-weight-wrapper a {
  110. display:block;
  111. width:20px;
  112. height:20px;
  113. text-indent:-999px;
  114. overflow:hidden;
  115. background:url(images/bleeds.png) -40px -120px no-repeat;
  116. }
  117. table {
  118. width:100%;
  119. margin:0px 0px 10px;
  120. background-color:#fff;
  121. border-collapse:collapse;
  122. border-color:#ddd;
  123. border-width:1px;
  124. border-style:solid;
  125. }
  126. .fieldset table { margin:0px; }
  127. table td,
  128. table th {
  129. vertical-align:top;
  130. border-width:1px 0px;
  131. border-style:solid;
  132. border-color:#ddd;
  133. padding:5px;
  134. }
  135. table th {
  136. font-size:11px;
  137. text-align:left;
  138. font-weight:normal;
  139. color:#666;
  140. background:#eee;
  141. }
  142. table thead th { border-top-color:#ccc; }
  143. table td.active { background:#e4f0f8; }
  144. table tr.odd td.active { background:#ecf8fc; }
  145. table tr.selected td.active,
  146. table tr.selected td {
  147. background:#ffc;
  148. border-color:#eeb;
  149. }
  150. /* Block administration */
  151. table tr.region td { background:#f8f8f8; }
  152. /* Hide tabledrag markers */
  153. table tr.draggable span.tabledrag-changed { display:none; }
  154. /* Stripe administrative tables */
  155. .page-admin table tr.even, .page-admin table tr.even td {
  156. background: #f9f9f9;
  157. }
  158. /**
  159. * Forms ==============================================================
  160. */
  161. .block,
  162. .item-list,
  163. .help-items ul,
  164. .form-item,
  165. .confirmation ul,
  166. .admin-list,
  167. .node-type-list,
  168. .admin-panel {
  169. background:#fff;
  170. margin:0px 0px 10px;
  171. border-width:1px;
  172. border-style:solid;
  173. border-color:#ddd;
  174. }
  175. .form-item {
  176. position:relative;
  177. padding:9px;
  178. }
  179. .admin-list { margin:0px; }
  180. table .form-item,
  181. table .item-list,
  182. .block .form-item,
  183. .block .item-list,
  184. .admin-panel .item-list,
  185. .admin-panel .admin-list,
  186. .fieldset .form-item,
  187. .fieldset .form-type-radio,
  188. .fieldset .form-type-checkbox,
  189. .form-item .form-item,
  190. .form-item .form-type-radio,
  191. .form.item .form-type-checkbox,
  192. .form-checkboxes .form-type-checkbox,
  193. .text-format-wrapper .fieldset .form-item {
  194. background:transparent;
  195. padding:0px;
  196. border:0px;
  197. }
  198. table .form-item,
  199. table .item-list,
  200. .block .item-list,
  201. .admin-panel .item-list,
  202. .admin-panel .admin-list,
  203. .fieldset .form-type-radio,
  204. .fieldset .form-type-checkbox,
  205. .form-item .form-type-radio,
  206. .form.item .form-type-checkbox,
  207. .form-checkboxes .form-type-checkbox { margin-bottom:0px; }
  208. .text-format-wrapper .form-item {
  209. background:#fff;
  210. margin:0px 0px 10px;
  211. border-width:1px;
  212. border-style:solid;
  213. border-color:#ddd;
  214. padding: 9px;
  215. }
  216. .form-item label {
  217. margin:0px;
  218. padding:0px;
  219. color:#666;
  220. font-weight:bold;
  221. font-size:10px;
  222. text-transform:uppercase;
  223. }
  224. .form-item label.option {
  225. text-transform:none;
  226. font-size:11px;
  227. }
  228. .form-item label.option input { vertical-align:middle; }
  229. .page-content .password-description,
  230. .page-content .password-strength,
  231. .page-content .description,
  232. .page-content .form-item .description {
  233. line-height:15px;
  234. font-size:11px;
  235. white-space:normal;
  236. }
  237. .admin-panel p.description {
  238. background:#eee;
  239. border-top:1px solid #ddd;
  240. border-bottom:1px solid #fff;
  241. line-height:20px;
  242. font-size:11px;
  243. padding:4px 9px;
  244. margin:0px;
  245. }
  246. .fieldset .description { margin:0px 0px 10px; }
  247. .page-content .form-item .description {
  248. position:absolute;
  249. bottom:100%;
  250. right:-15px;
  251. z-index:5;
  252. color:#687;
  253. background:url(images/popup.png) 50% 100% no-repeat;
  254. border-top:1px solid #d8e4e0;
  255. width:240px;
  256. margin:0px 0px -15px;
  257. padding:9px 10px 20px;
  258. display:none;
  259. }
  260. .page-content .form-item:hover {
  261. z-index:1;
  262. height:auto; /* Fix for flicker in IE7 */
  263. }
  264. .page-content .form-item:hover > .description { display:block; }
  265. input.teaser-button,
  266. input.form-submit {
  267. cursor:pointer;
  268. padding:2px 10px;
  269. color:#333;
  270. text-align:center;
  271. font-weight:normal;
  272. border-width:1px;
  273. border-style:solid;
  274. border-color:#ddd #ddd #ccc;
  275. background:#fff url(images/buttons.png) -1px 50% no-repeat;
  276. }
  277. input.form-submit:hover {
  278. border-color:#ace;
  279. -webkit-box-shadow:#ace 0px 0px 5px;
  280. }
  281. input.form-submit:active {
  282. border-color:#666 #666 #555;
  283. background:#666 url(images/buttons.png) -401px 50% no-repeat;
  284. color:#222;
  285. text-shadow:#999 0px 1px 0px;
  286. }
  287. input.button-yes {
  288. background-position:-2401px 50%;
  289. padding-left:25px;
  290. }
  291. input.button-yes:active { background-position:-2801px 50%; }
  292. input.button-no {
  293. background-position:-3201px 50%;
  294. padding-left:25px;
  295. }
  296. input.button-no:active { background-position:-3601px 50%; }
  297. input.form-autocomplete,
  298. input.form-text,
  299. textarea.form-textarea,
  300. select.form-select {
  301. padding:3px;
  302. border-width:1px;
  303. border-style:solid;
  304. border-color:#ccc;
  305. background:#fff;
  306. color:#666;
  307. max-width:100%;
  308. }
  309. input.form-autocomplete:hover,
  310. input.form-text:hover,
  311. textarea.form-textarea:hover,
  312. select.form-select:hover,
  313. input.form-autocomplete:focus,
  314. input.form-text:focus,
  315. textarea.form-textarea:focus,
  316. select.form-select:focus {
  317. color:#333;
  318. border-color:#ace;
  319. -webkit-box-shadow:#ace 0px 0px 5px;
  320. }
  321. input.fluid {
  322. -moz-box-sizing:border-box;
  323. -webkit-box-sizing:border-box;
  324. width:100%;
  325. }
  326. table input.fluid { width:auto; }
  327. html.js input.form-autocomplete { background-position:100% 7px; }
  328. html.js input.throbbing { background-position:100% -13px; }
  329. /* Fieldsets */
  330. .fieldset,
  331. .fieldset-title,
  332. .fieldset-title a,
  333. .fieldset-content { display:block; }
  334. .fieldset {
  335. margin:0px 0px 10px;
  336. display:block;
  337. position:relative;
  338. min-height:28px;
  339. border: 1px solid #CCCCCC;
  340. }
  341. fieldset legend {
  342. display: block;
  343. float: left;
  344. width: 100%;
  345. }
  346. body.page-admin div.vertical-tabs .vertical-tabs-panes .vertical-tabs-pane fieldset {
  347. padding:0;
  348. }
  349. .fieldset-legend {
  350. display:block;
  351. }
  352. .container-inline .fieldset-legend .fieldset-content,
  353. .fieldset.titled .fieldset-content {
  354. display:block;
  355. padding-top:40px;
  356. }
  357. .item-list h3,
  358. .block .block-title,
  359. .fieldset-title,
  360. .collapsible .fieldset-legend a {
  361. display:block;
  362. font-size:11px;
  363. margin:0px;
  364. padding:4px 9px 5px;
  365. color:#333;
  366. background:#f6f6f6;
  367. }
  368. .fieldset-legend,
  369. .collapsible .fieldset-legend a { padding-bottom:4px; }
  370. /* Explicit height for IE */
  371. .collapsible .fieldset-legend a { height:20px; }
  372. .collapsible .fieldset-legend span.icon {
  373. position:absolute;
  374. left:-20px;
  375. top:4px;
  376. background:url(images/bleeds.png) -20px -180px no-repeat;
  377. width:20px;
  378. height:20px;
  379. display:block;
  380. cursor:pointer;
  381. }
  382. html.js .collapsed .fieldset-legend span.icon { background-position:0px -180px; }
  383. .fieldset .collapsible .fieldset-legend span.icon { display:none; }
  384. .collapsed .fieldset-legend a {
  385. background:#eee;
  386. color:#484848;
  387. }
  388. .collapsed .fieldset-legend a:hover { color:#666; }
  389. .collapsible .fieldset-legend {
  390. padding:0px;
  391. background:transparent;
  392. }
  393. .collapsed .fieldset-legend a { padding-bottom:4px; }
  394. .block .block-content,
  395. .container-inline .fieldset-content,
  396. .fieldset-content {
  397. padding:10px 9px 9px;
  398. background:#fff;
  399. }
  400. html.js .collapsed .fieldset-content { display:none; }
  401. .fieldset .fieldset .fieldset-content { background:#fff; }
  402. /* Filter form */
  403. .filter-wrapper {
  404. font-size:11px;
  405. margin-top:-10px;
  406. border-top:none;
  407. }
  408. .filter-wrapper .fieldset-content,
  409. .fieldset .fieldset.filter-wrapper .fieldset-content {
  410. background:#f8f8f8;
  411. border-top:0px;
  412. height:20px;
  413. padding:5px 9px 4px;
  414. }
  415. .filter-wrapper .form-type-select { padding:0px; }
  416. .filter-wrapper .form-type-select * {
  417. float:left;
  418. margin-right:5px;
  419. }
  420. .filter-wrapper select {
  421. padding:0px;
  422. font-size:11px;
  423. }
  424. .filter-wrapper .filter-help {
  425. float:right;
  426. font-size:11px;
  427. padding:0px;
  428. }
  429. /**
  430. * Form layout: Default ===============================================
  431. */
  432. .form-layout-default { background:url(images/vrule.png) 65% 0% repeat-y; }
  433. .column-main {
  434. float:left;
  435. width:65%;
  436. }
  437. .column-main .column-wrapper { padding-right:10px; }
  438. .column-side {
  439. float:right;
  440. width:34.99%;
  441. }
  442. .column-side .column-wrapper { padding-left:10px; }
  443. .column-footer { clear:both; }
  444. form .form-actions {
  445. background:#eee;
  446. border:1px solid #ddd;
  447. padding:9px;
  448. }
  449. form .form-actions.container-inline {
  450. background:transparent;
  451. border:0px;
  452. padding:0px;
  453. }
  454. form .form-actions input.form-submit { margin-right:5px; }
  455. .form-layout-default .column-main .form-actions { display:none; }
  456. .form-layout-default .column-side .form-actions { margin:0px 0px 10px; }
  457. .form-layout-default .column-side .form-actions input.form-submit { margin:1px 5px 1px 0px; }
  458. /**
  459. * "Boxes" aka generic wrappers =======================================
  460. */
  461. .box-title {
  462. font-weight:normal;
  463. font-size:10px;
  464. text-transform:uppercase;
  465. background:#eee;
  466. border:1px solid #ddd;
  467. padding:4px 9px;
  468. margin:0px 0px 10px;
  469. }
  470. /**
  471. * System =============================================================
  472. */
  473. .admin .right {
  474. padding-left:5px;
  475. float:right;
  476. }
  477. .admin .left {
  478. padding-right:5px;
  479. float:left;
  480. }
  481. .admin .right,
  482. .admin .left {
  483. box-sizing:border-box;
  484. -moz-box-sizing:border-box;
  485. -webkit-box-sizing:border-box;
  486. width:50%;
  487. margin:0px;
  488. }
  489. /* admin/appearance */
  490. .theme-selector {
  491. position:relative;
  492. padding:9px 9px 9px 139px;
  493. border:1px solid #ddd;
  494. margin:10px 0px;
  495. min-height:80px;
  496. text-shadow:#fff 0px 1px 0px;
  497. }
  498. .theme-selector img {
  499. left:10px;
  500. top:10px;
  501. position:absolute;
  502. clip:rect(0px 120px 80px 0px); /* IE6, IE7 */
  503. clip:rect(0px,120px,80px,0px);
  504. }
  505. .theme-selector .operations a { margin-right:20px; }
  506. .system-themes-list-disabled .theme-selector {
  507. background:#eee;
  508. color:#676767;
  509. }
  510. /* admin/content/node & admin/user/user */
  511. .exposed-filters .form-item label {
  512. float:left;
  513. width:120px;
  514. }
  515. .exposed-filters .additional-filters {
  516. padding:5px;
  517. font-size:11px;
  518. color:#666;
  519. }
  520. /* update options */
  521. .admin-options {
  522. background:#f8f8f8;
  523. line-height:30px;
  524. height:30px;
  525. padding:9px;
  526. border:1px solid #ddd;
  527. margin:0px 0px 10px;
  528. }
  529. .admin-options label,
  530. .admin-options .form-item {
  531. margin-right:10px;
  532. float:left;
  533. }
  534. .admin-options .form-item {
  535. padding:0px;
  536. border:0px;
  537. }
  538. /* dependency colors */
  539. .admin-dependencies,
  540. .admin-required { color: #666; }
  541. .admin-disabled { color: #900; }
  542. .admin-enabled { color: #099; }
  543. .admin-missing { color: #c30; }
  544. /* progressbar styles */
  545. .progress .bar {
  546. -webkit-box-shadow:inset #ddd 0px 1px 3px;
  547. -moz-box-shadow:inset #ddd 0px 1px 3px;
  548. background:#eee;
  549. border:1px solid #ccc;
  550. }
  551. .progress .filled { background:#666; }
  552. /**
  553. * Help pages =========================================================
  554. */
  555. .help-items { float:left; width:25%; }
  556. .help-items ul { margin:10px 5px; }
  557. /**
  558. * Admin toolbar ======================================================
  559. */
  560. body.tao #admin-toolbar a.menu-hover span.menu-description { padding-left:50px; }
  561. body.tao #admin-toolbar a.menu-hover span.menu-description span.icon {
  562. position:absolute;
  563. left:10px;
  564. top:0px;
  565. }
  566. /**
  567. * Form description exceptions ========================================
  568. */
  569. /**
  570. * Some form elements are either too weirdly positioned or really benefit
  571. * from persistent descriptions. Reset for all of these.
  572. */
  573. .page-content .form-item-files-feeds,
  574. .page-content .form-item-files-feeds .description,
  575. .ctools-export-ui-row .form-item,
  576. .ctools-export-ui-row .form-item .description,
  577. .multiselect .form-item,
  578. .multiselect .form-item .description,
  579. .page-content table .form-item,
  580. .page-content table .form-item .description,
  581. .page-content .form-item .widget-edit .description,
  582. #upload-attachments .description,
  583. #views-ajax-pad .form-item,
  584. #views-ajax-pad .form-item .description {
  585. width:auto;
  586. padding:0px;
  587. margin:0px;
  588. border:0px;
  589. background:transparent;
  590. position:static;
  591. display:block;
  592. }
  593. .page-content .form-item-files-feeds:hover,
  594. .ctools-export-ui-row .form-item:hover,
  595. .multiselect .form-item:hover,
  596. .page-content table .form-item:hover,
  597. #views-ajax-pad .form-item:hover { position:static; }
  598. .page-content .form-item-files-feeds .description,
  599. .page-content table .form-item .description,
  600. #upload-attachments .description,
  601. #views-ajax-pad .form-item .description {
  602. padding:0px;
  603. color:#666;
  604. display:block;
  605. max-width:none;
  606. }
  607. /**
  608. * Form containers ====================================================
  609. */
  610. .container-inline div {
  611. display:inline;
  612. border:0px;
  613. padding:0px;
  614. background:transparent;
  615. }
  616. .container-inline { margin:0px 0px 10px; }
  617. /**
  618. * Vertical tabs=======================================================
  619. */
  620. .vertical-tabs {
  621. background:#fff url(images/vtabs.png) 0px 0px repeat-y;
  622. border:1px solid #ddd;
  623. margin:0px 0px 10px;
  624. position:relative;
  625. }
  626. .vertical-tabs .fieldset-content,
  627. .vertical-tabs fieldset.titled .fieldset-content {
  628. border:0px;
  629. padding:10px;
  630. }
  631. .vertical-tabs .fieldset-content .fieldset-content {
  632. margin-top: 20px;
  633. }
  634. .vertical-tabs-list li a {
  635. display:block;
  636. text-shadow:#fff 0px 1px 0px;
  637. padding:5px 10px 4px 10px;
  638. border-bottom:1px solid #ddd;
  639. color:#666;
  640. }
  641. .vertical-tabs-list .selected a {
  642. background:#fff;
  643. color:#333;
  644. }
  645. .vertical-tabs-list .summary { font-size:11px; }
  646. /**
  647. * Action links =======================================================
  648. */
  649. .action-links a {
  650. -moz-border-radius:5px;
  651. -webkit-border-radius:5px;
  652. border-radius:5px;
  653. margin:0px 5px 0px 0px;
  654. padding:0px 5px 0px 25px;
  655. background:#999 url(images/buttons.png) -800px 50% no-repeat;
  656. color:#fff;
  657. text-shadow:#666 0px 1px 0px;
  658. }
  659. .action-links a:active {
  660. color:#222;
  661. background-color:#666;
  662. background-position:-1200px 50%;
  663. text-shadow:#999 0px 1px 0px;
  664. }
  665. /**
  666. * ORPHANED MARKUP ====================================================
  667. * The following selectors target markup generated by Drupal that have
  668. * exactly 1 or extremely few instances. It will make a great future
  669. * hitlist of markup to consolidate and generalize.
  670. */
  671. .compact-link {
  672. font-size:11px;
  673. height:20px;
  674. margin:0px 0px 10px;
  675. }
  676. .compact-link a {
  677. float:left;
  678. line-height:18px;
  679. padding:0px 9px;
  680. border:1px solid #ddd;
  681. color:#666;
  682. background:#fff;
  683. }