views-admin.seven.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549
  1. /**
  2. * The .seven.css file is intended to contain styles that override declarations
  3. * in the Seven admin theme.
  4. */
  5. /* @group Content */
  6. .views-ui-display-tab-bucket h1,
  7. .views-ui-display-tab-bucket h2,
  8. .views-ui-display-tab-bucket h3,
  9. .views-ui-display-tab-bucket h4,
  10. .views-ui-display-tab-bucket h5 {
  11. margin-bottom: 0;
  12. margin-top: 0;
  13. }
  14. /* @end */
  15. /* @group Forms */
  16. .views-ui-dialog fieldset {
  17. padding-top: 2.5em;
  18. }
  19. fieldset fieldset {
  20. border: medium none;
  21. }
  22. /**
  23. * Seven positions the legend absolutely, but does not have a way to ignore
  24. * fieldsets without a legend so we make one up.
  25. */
  26. fieldset.fieldset-no-legend {
  27. padding-top: 0;
  28. }
  29. /**
  30. * Being extra safe here and scoping this to the add view wizard form (where
  31. * a layout problem occurs for the Display format fieldset if we don't fix its
  32. * padding), but it's probably safe to just let it apply everywhere.
  33. */
  34. #views-ui-add-form fieldset fieldset .fieldset-wrapper {
  35. padding-left: 0;
  36. padding-right: 0;
  37. }
  38. .views-display-tab fieldset {
  39. padding: 0 12px;
  40. }
  41. .views-display-tab .fieldset-wrapper {
  42. padding: 10px 12px 12px;
  43. }
  44. .views-display-tab fieldset.box-padding .fieldset-wrapper {
  45. padding: 0;
  46. }
  47. .views-display-tab legend + .fieldset-wrapper {
  48. padding-top: 2.5em;
  49. }
  50. .views-admin .form-item label.option,
  51. #views-ui-preview-form .form-item label.option {
  52. font-size: 1em;
  53. }
  54. #views-ui-preview-form .form-submit {
  55. margin-top: 3px;
  56. }
  57. .views-admin input.form-submit,
  58. .views-ui-dialog input.form-submit,
  59. .views-admin a.button,
  60. .views-ui-dialog a.button {
  61. margin-bottom: 0;
  62. margin-right: 0; /* LTR */
  63. margin-top: 0;
  64. }
  65. /* Override for a button on the edit display screen */
  66. #edit-displays-preview-controls .form-submit {
  67. display: inline-block;
  68. margin-right: 1em;
  69. }
  70. /* Override for filter button on the views list screen */
  71. #ctools-export-ui-list-form .form-submit {
  72. margin-bottom: 0;
  73. }
  74. #ctools-export-ui-list-form .ctools-export-ui-first-row .form-item {
  75. margin-top: 3px;
  76. margin-right: 5px; /* LTR */
  77. }
  78. .form-item,
  79. .form-item .form-item {
  80. margin-bottom: 0;
  81. margin-top: 9px;
  82. padding-bottom: 0;
  83. padding-top: 0;
  84. }
  85. .form-actions {
  86. margin-bottom: 0;
  87. margin-top: 0;
  88. }
  89. .form-item .form-item {
  90. padding-bottom: 0;
  91. padding-top: 0;
  92. }
  93. .form-radios > .form-item {
  94. margin-top: 3px;
  95. }
  96. /* @group Dependent options
  97. *
  98. * Dependent options are identified in CTools dependent.js
  99. */
  100. /* The .dependent-options.form-item is necessary to supercede the Seven .form-item
  101. * reset declaration that sets the margin to zero.
  102. */
  103. .dependent-options,
  104. .dependent-options.form-item,
  105. .form-item-options-expose-required,
  106. .form-item-options-expose-label,
  107. .form-item-options-expose-description {
  108. margin-left: 1.5em;
  109. }
  110. .views-admin-dependent .form-item .form-item,
  111. .views-admin-dependent .form-type-checkboxes,
  112. .views-admin-dependent .form-type-radios,
  113. .views-admin-dependent .dependent-options,
  114. .views-admin-dependent .form-item .form-item,
  115. .views-admin-dependent .dependent-options .form-type-select,
  116. .views-admin-dependent .dependent-options .form-type-textfield,
  117. .form-item-options-expose-required,
  118. .form-item-options-expose-label,
  119. .form-item-options-expose-description {
  120. margin-bottom: 6px;
  121. margin-top: 6px;
  122. }
  123. .views-admin-dependent .form-type-radio,
  124. .views-admin-dependent .form-radios .form-item {
  125. margin-bottom: 2px;
  126. margin-top: 2px;
  127. }
  128. /* @end */
  129. /* @end */
  130. /* @group Lists */
  131. .views-admin ul.secondary,
  132. .views-admin .item-list ul {
  133. margin: 0;
  134. padding: 0;
  135. }
  136. .views-admin ul.secondary {
  137. clear: none;
  138. }
  139. .views-displays ul.secondary li a,
  140. .views-displays ul.secondary li.active a,
  141. .views-displays ul.secondary li.active a.active {
  142. padding: 2px 7px 3px;
  143. }
  144. .views-displays ul.secondary li.active a,
  145. .views-displays ul.secondary li.active a.active {
  146. border: 1px solid transparent;
  147. }
  148. .views-admin .links li {
  149. padding-right: 0; /* LTR */
  150. }
  151. .views-admin .button .links li {
  152. padding-right: 12px; /* LTR */
  153. }
  154. .page-admin-structure-views #content ul.action-links {
  155. padding-left: 0;
  156. padding-right: 0;
  157. }
  158. .views-display-top ul.secondary {
  159. background-color: transparent;
  160. float: left
  161. }
  162. .views-display-top .secondary .action-list li {
  163. float: none;
  164. margin: 0;
  165. }
  166. /* @end */
  167. /* @group Buttons */
  168. .ctools-button-processed ul {
  169. margin: 0;
  170. }
  171. /* Override for input elements that are themed like ctools-buttons */
  172. .ctools-button-processed input.form-submit:hover {
  173. background-image: none;
  174. color: #0074bd;
  175. text-shadow: none;
  176. }
  177. .ctools-button-processed input.form-submit:active {
  178. background: none;
  179. border: medium none;
  180. color: #0074bd;
  181. text-shadow: none;
  182. }
  183. /* @end */
  184. /* @group Tables */
  185. table td,
  186. table th {
  187. vertical-align: top;
  188. }
  189. /* @end */
  190. /* @group Attachment details */
  191. #edit-display-settings-title {
  192. color: #008bcb;
  193. }
  194. /* @end */
  195. /* @group Attachment details tabs
  196. *
  197. * The tabs that switch between sections
  198. */
  199. .views-displays .secondary {
  200. text-align: left; /* LTR */
  201. }
  202. .views-displays .secondary > li:first-child {
  203. padding-left: 0;
  204. }
  205. .views-admin .icon.add {
  206. background-position: center 3px;
  207. }
  208. .views-displays .secondary a {
  209. background-color: #f1f1f1;
  210. -moz-border-radius: 7px;
  211. -webkit-border-radius: 7px;
  212. border-radius: 7px;
  213. color: #008bcb;
  214. }
  215. .views-displays .secondary a:hover > .icon.add {
  216. background-position: center -25px;
  217. }
  218. .views-displays .secondary .open > a {
  219. -moz-border-radius: 7px 7px 0 0;
  220. -webkit-border-radius: 7px 7px 0 0;
  221. border-radius: 7px 7px 0 0;
  222. }
  223. .views-displays .secondary .open > a:hover {
  224. background-color: #f1f1f1;
  225. color: #008bcb;
  226. }
  227. .views-displays .secondary .action-list li:first-child {
  228. -moz-border-radius: 0 7px 0 0;
  229. -webkit-border-radius: 0 7px 0 0;
  230. border-radius: 0 7px 0 0;
  231. }
  232. .views-displays .secondary .action-list li:last-child {
  233. -moz-border-radius: 0 0 7px 7px;
  234. -webkit-border-radius: 0 0 7px 7px;
  235. border-radius: 0 0 7px 7px;
  236. }
  237. .views-displays .secondary .action-list input.form-submit {
  238. -moz-border-radius: 0;
  239. -webkit-border-radius: 0;
  240. border-radius: 0;
  241. color: #008bcb;
  242. }
  243. /* @end */
  244. /* @group Attachment buckets
  245. *
  246. * These are the individual "buckets," or boxes, inside the display settings area
  247. */
  248. .views-ui-display-tab-bucket h3 {
  249. font-size: 12px;
  250. text-transform: uppercase;
  251. }
  252. .views-ui-display-tab-bucket .links {
  253. padding: 2px 6px 4px;
  254. }
  255. .views-ui-display-tab-bucket .links li + li {
  256. margin-left: 3px;
  257. }
  258. /* @end */
  259. /* @group Rearrange filter criteria */
  260. #views-ui-rearrange-filter-form .action-links {
  261. margin: 0;
  262. padding: 0;
  263. }
  264. #views-ui-rearrange-filter-form table {
  265. border: medium none;
  266. }
  267. #views-ui-rearrange-filter-form [id^="views-row"] {
  268. border: medium none;
  269. }
  270. #views-ui-rearrange-filter-form tr td:last-child {
  271. border-right: medium none;
  272. }
  273. #views-ui-rearrange-filter-form .filter-group-operator-row {
  274. border-left: 1px solid transparent !important;
  275. border-right: 1px solid transparent !important;
  276. }
  277. #views-ui-rearrange-filter-form tr.drag td {
  278. background-color: #ffee77 !important;
  279. }
  280. #views-ui-rearrange-filter-form tr.drag-previous td {
  281. background-color: #ffffbb !important;
  282. }
  283. /* @end */
  284. /* @group Live preview elements */
  285. .views-query-info pre {
  286. margin-bottom: 0;
  287. margin-top: 0;
  288. }
  289. /* @group Query info table */
  290. .views-query-info table {
  291. -moz-border-radius: 7px;
  292. -webkit-border-radius: 7px;
  293. border-radius: 7px;
  294. -webkit-border-horizontal-spacing: 1px;
  295. -webkit-border-vertical-spacing: 1px;
  296. }
  297. .views-query-info table tr td:last-child {
  298. /* Fixes a Seven style that bleeds down into this table unnecessarily */
  299. border-right: 0 none;
  300. }
  301. /* @end */
  302. /* @end */
  303. /* @group Add view */
  304. .form-item-page-create,
  305. .form-item-block-create {
  306. margin-top: 13px;
  307. }
  308. /* @end */
  309. /* @group Modal dialog box
  310. *
  311. * The contents of the popup dialog on the views edit form.
  312. */
  313. .views-ui-dialog .ui-dialog-titlebar-close {
  314. -moz-box-shadow: none;
  315. -webkit-box-shadow: none;
  316. box-shadow: none;
  317. border-color: #ccc;
  318. right: -27px;
  319. top: -1px;
  320. }
  321. .views-ui-dialog fieldset.collapsible {
  322. padding-top: 1.5em;
  323. }
  324. .views-ui-dialog fieldset.collapsed {
  325. padding-top: 2.5em;
  326. }
  327. .filterable-option .form-item.form-type-checkbox {
  328. /* This selector is aggressive because Seven's reset for .form-items is aggressive. */
  329. padding-bottom: 4px;
  330. padding-left: 4px;
  331. padding-top: 4px;
  332. }
  333. /* @end */
  334. /* @group CTools */
  335. /* @group Buttons */
  336. .ctools-button-processed {
  337. background-image: -moz-linear-gradient(
  338. -90deg,
  339. #fff 0px,
  340. #f9f9f9 100%
  341. );
  342. background-image: -webkit-gradient(
  343. linear,
  344. left top,
  345. left bottom,
  346. color-stop(0.0, rgba(255, 255, 255, 1.0)),
  347. color-stop(1.0, rgba(249, 249, 249, 1.0))
  348. );
  349. background-image: -webkit-linear-gradient(
  350. -90deg,
  351. #fff 0px,
  352. #f9f9f9 100%
  353. );
  354. background-image: linear-gradient(
  355. -90deg,
  356. #fff 0px,
  357. #f9f9f9 100%
  358. );
  359. -moz-border-radius: 11px 11px 11px 11px;
  360. -webkit-border-radius: 11px 11px 11px 11px;
  361. border-radius: 11px 11px 11px 11px;
  362. }
  363. .ctools-button-processed:hover {
  364. background-image: -moz-linear-gradient(
  365. -90deg,
  366. #fff 0px,
  367. #f1f1f1 100%
  368. );
  369. background-image: -webkit-gradient(
  370. linear,
  371. left top,
  372. left bottom,
  373. color-stop(0.0, rgba(255, 255, 255, 1.0)),
  374. color-stop(1.0, rgba(241, 241, 241, 1.0))
  375. );
  376. background-image: -webkit-linear-gradient(
  377. -90deg,
  378. #fff 0px,
  379. #f1f1f1 100%
  380. );
  381. background-image: linear-gradient(
  382. -90deg,
  383. #fff 0px,
  384. #f1f1f1 100%
  385. );
  386. }
  387. .ctools-dropbutton-processed.open:hover {
  388. background-image: -moz-linear-gradient(
  389. -90deg,
  390. #fff 0px,
  391. #f9f9f9 100%
  392. );
  393. background-image: -webkit-gradient(
  394. linear,
  395. left top,
  396. left bottom,
  397. color-stop(0.0, rgba(255, 255, 255, 1.0)),
  398. color-stop(1.0, rgba(249, 249, 249, 1.0))
  399. );
  400. background-image: -webkit-linear-gradient(
  401. -90deg,
  402. #fff 0px,
  403. #f9f9f9 100%
  404. );
  405. background-image: linear-gradient(
  406. -90deg,
  407. #fff 0px,
  408. #f9f9f9 100%
  409. );
  410. }
  411. .ctools-dropbutton-processed.open {
  412. -moz-box-shadow: 1px 1px 2px rgba(0,0,0,0.25);
  413. -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,0.25);
  414. box-shadow: 1px 1px 2px rgba(0,0,0,0.25);
  415. }
  416. /* @end */
  417. /* @group Collapsible */
  418. .ctools-toggle {
  419. margin-top: 0.6667em;
  420. }
  421. .ctools-toggle.ctools-toggle-collapsed {
  422. margin-top: 0.5em;
  423. }
  424. .views-display-settings .ctools-toggle {
  425. color: #008bcb;
  426. }
  427. .views-display-column > .ctools-toggle {
  428. margin-top: 14px;
  429. }
  430. .views-display-column > .ctools-toggle.ctools-toggle-collapsed {
  431. margin-top: 12px;
  432. }
  433. .views-display-column > .ctools-collapsible-handle {
  434. color: #008bcb;
  435. }
  436. .views-ui-display-tab-actions .ctools-button-processed input {
  437. color: #0074bd;
  438. }
  439. /* @end */
  440. /* @end */