You are here

yamlform.admin.css in YAML Form 8

Admin styles

File

css/yamlform.admin.css
View source
  1. /**
  2. * @file
  3. * Admin styles
  4. */
  5. /**
  6. * General.
  7. */
  8. .dropbutton-multiple .ajax-progress-throbber {
  9. display: none;
  10. }
  11. /**
  12. * Buttons
  13. */
  14. .button.button-yamlform-setting {
  15. margin: 0 0 1em 0;
  16. }
  17. .button.button-yamlform-setting:before {
  18. content: '⚙';
  19. font-size: 1.2em;
  20. }
  21. /**
  22. * Add-ons
  23. */
  24. .yamlform-addons details {
  25. background-color: #f8f8f8;
  26. }
  27. /**
  28. * Handler.
  29. */
  30. .yamlform-handler__new,
  31. .yamlform-handler__new div {
  32. display: inline;
  33. }
  34. /**
  35. * Filter form.
  36. */
  37. .yamlform-filter-form .form-submit {
  38. margin-left: 0;
  39. margin-right: 5px;
  40. }
  41. .yamlform-filter-form .form-item {
  42. margin-right: 5px;
  43. }
  44. @media screen and (max-width: 600px) {
  45. .yamlform-filter-form .form-item {
  46. display: block;
  47. margin-right: 0;
  48. }
  49. }
  50. /**
  51. * Results table.
  52. */
  53. .yamlform-results__table th,
  54. .yamlform-results__table td {
  55. max-width: 400px;
  56. overflow: hidden;
  57. white-space: nowrap;
  58. text-overflow: ellipsis;
  59. }
  60. .yamlform-results__table td:last-child {
  61. overflow: visible;
  62. max-width: inherit;
  63. white-space: normal;
  64. }
  65. th.yamlform-results__icon,
  66. td.yamlform-results__icon {
  67. padding-left: 0;
  68. padding-right: 0;
  69. }
  70. .yamlform-results__icon .ajax-progress-throbber {
  71. display: none;
  72. }
  73. a.yamlform-results__custom + .ajax-progress-throbber {
  74. display: none;
  75. }
  76. .yamlform-results__table tbody tr {
  77. cursor: pointer;
  78. cursor: hand;
  79. }
  80. /**
  81. * Results custom(ize) dialog.
  82. */
  83. .yamlform-results__custom .tabledrag-changed-warning,
  84. .yamlform-results__custom .tabledrag-changed /* Hide table drag warnings. */ {
  85. display: none !important;
  86. }
  87. /**
  88. * Results icons (sticky & notes)
  89. */
  90. .yamlform-icon {
  91. display: inline-block;
  92. height: 16px;
  93. width: 16px;
  94. text-align: center;
  95. background-color: transparent;
  96. background-repeat: no-repeat;
  97. background-position: center center;
  98. background-size: 100% auto;
  99. vertical-align: -2px;
  100. }
  101. .yamlform-icon-notes--on {
  102. background-image: url(../images/icons/notes-on.svg);
  103. }
  104. .yamlform-icon-notes--off {
  105. background-image: url(../images/icons/notes-off.svg);
  106. }
  107. .yamlform-icon-notes--link {
  108. background-image: url(../images/icons/notes-link.svg);
  109. }
  110. a:hover .yamlform-icon-notes--on,
  111. a:focus .yamlform-icon-notes--on,
  112. a:hover .yamlform-icon-notes--off,
  113. a:focus .yamlform-icon-notes--off {
  114. background-image: url(../images/icons/notes-link.svg);
  115. }
  116. .yamlform-icon-sticky {
  117. background: transparent url(../images/icons/sticky.svg) no-repeat left top;
  118. display: inline-block;
  119. background-size: 64px 16px;
  120. }
  121. .yamlform-icon-sticky--off:hover,
  122. .yamlform-icon-sticky--off:focus {
  123. background-position: -16px top;
  124. }
  125. .yamlform-icon-sticky--on {
  126. background-position: -32px top;
  127. }
  128. .yamlform-icon-sticky--on:focus,
  129. .yamlform-icon-sticky--on:hover {
  130. background-position: -48px top;
  131. }
  132. .yamlform-icon-sticky--link {
  133. background: transparent url(../images/icons/sticky-link.svg) no-repeat left top;
  134. }
  135. /**
  136. * Submission view table
  137. */
  138. .yamlform-submission__table th {
  139. width: 33%;
  140. min-width: 100px;
  141. }
  142. .yamlform-submission__table td {
  143. width: 66%;
  144. }