You are here

admin.css in Gutenberg 8.2

Same filename in this branch
  1. 8.2 css/admin.css
  2. 8.2 modules/editorskit/admin.css
Same filename and directory in other branches
  1. 8 css/admin.css
/**
 * Don't edit this file. Find all style at ./sass folder.
 **/
#media-browser-modal {
  padding: 0;
  overflow: hidden !important;
}

.ui-dialog .form-actions .selected-summary {
  float: left;
  width: 50%;
}

.ui-dialog .form-actions .buttons {
  display: flex;
  justify-content: flex-end;
}

.ui-dialog .form-actions .buttons > * {
  margin: 0 5px;
}

.media-browser {
  height: 100%;
  position: relative;
  overflow: hidden;
}

.media-browser .content {
  overflow: hidden;
  height: 100%;
}

.media-browser .content .toolbar {
  padding: 5px 10px;
}

.media-browser .content .list {
  position: absolute;
  left: 0;
  right: 320px;
  top: 50px;
  bottom: 0;
  overflow: auto;
}

.media-browser .content .media-details {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 300px;
  overflow: auto;
  padding: 10px;
  background-color: #f0f0f0;
}

.media-browser .content .media-details figure {
  padding: 0;
  margin: 0;
}

.media-browser .content .media-details figure img {
  max-height: 200px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.media-browser .content .media-details figure figcaption {
  overflow-wrap: break-word;
}

.media-browser .content .media-details figure video {
  width: 100%;
}

.media-browser ul.list {
  padding: 2px;
  margin: 0;
  list-style: none;
}

.media-browser li.attachment {
  width: 16.6%;
  padding: 8px;
  margin: 0;
  position: relative;
  list-style: none;
  float: left;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.media-browser li.attachment img {
  max-height: none;
  max-width: none;
}

.media-browser li.attachment .landscape img {
  max-height: 100%;
}

.media-browser li.attachment .portrait img {
  max-width: 100%;
}

.media-browser li.attachment .thumbnail {
  overflow: hidden;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 1;
  transition: opacity 0.1s;
}

.media-browser li.attachment .thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
}

.media-browser li.attachment .thumbnail .centered {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translate(50%, 50%);
}

.media-browser li.attachment .thumbnail .centered img {
  transform: translate(-50%, -50%);
}

.media-browser li.attachment .thumbnail:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.media-browser li.attachment .thumbnail .filename {
  position: absolute;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 5px;
  border-top: solid 1px #eee;
}

.media-browser li.attachment .check {
  display: none;
  height: 24px;
  width: 24px;
  padding: 0;
  border: 0;
  position: absolute;
  z-index: 10;
  top: 0;
  right: 0;
  outline: 0;
  cursor: pointer;
  background-color: #0073aa;
  box-shadow: 0 0 0 1px #fff, 0 0 0 2px #0073aa;
}

.media-browser li.attachment .check .media-modal-icon {
  display: block;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="white" d="M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z"/></svg>');
  height: 15px;
  width: 15px;
  margin: 5px;
}

.media-browser li.attachment .check:hover .media-modal-icon {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="white" d="M0 10h24v4h-24z"/></svg>');
}

.media-browser li.attachment.details {
  box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #0073aa;
}

.media-browser li.attachment.selected .check {
  display: block;
}

.media-browser li.attachment:focus {
  outline: none;
}

.media-browser .attachment-preview {
  position: relative;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  background: #eee;
  cursor: pointer;
  background-position: top center;
  background-repeat: no-repeat;
}

.media-browser .attachment-preview.type-application {
  background-image: url(../images/application.png);
}

.media-browser .attachment-preview.type-audio {
  background-image: url(../images/audio.png);
}

.media-browser .attachment-preview.type-video {
  background-image: url(../images/video.png);
}

.media-browser .attachment-preview:before {
  content: "";
  display: block;
  padding-top: 100%;
}

.media-browser .media-modal-icon {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="white" d="M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z"/></svg>');
  background-repeat: no-repeat;
}

.media-browser .screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

#media-entity-browser-modal {
  padding: 0;
}

#media-entity-browser-modal > div {
  height: 100%;
}

#media-entity-browser-modal .media-library-wrapper {
  height: 100%;
  margin: 0;
}

#media-entity-browser-modal .media-library-select.form-submit {
  display: none;
}

#views-form-reusable-blocks-page-1 {
  display: flex;
  flex-wrap: wrap;
}

#views-form-reusable-blocks-page-1 #edit-header {
  flex-basis: 100%;
}

#views-form-reusable-blocks-page-1 #edit-block-content-bulk-form--2 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
}

#views-form-reusable-blocks-page-1 #edit-block-content-bulk-form--2 .form-item {
  margin: 0 10px;
}

#views-form-reusable-blocks-page-1 #edit-block-content-bulk-form--2 .form-item:first-child {
  margin-left: 0;
}

#views-form-reusable-blocks-page-1 #edit-block-content-bulk-form--2 .form-actions {
  padding: 0;
  margin: 0;
}

#views-form-reusable-blocks-page-1 #edit-block-content-bulk-form--2 .form-actions .button {
  margin: 0;
}

#views-form-reusable-blocks-page-1 #edit-actions {
  flex-basis: 100%;
}

#views-form-reusable-blocks-page-1 .form-actions {
  margin: 0.75em 0;
  align-self: flex-end;
}

#views-form-reusable-blocks-page-1 .views-row {
  cursor: pointer;
  width: 360px;
  max-height: 360px;
  overflow: hidden;
  position: relative;
  border: 1px solid #dbdbdb;
  background: #fff;
  margin: 16px 16px 2px 2px;
  transition: border-color 0.2s, color 0.2s;
}

#views-form-reusable-blocks-page-1 .views-row:hover {
  margin: 14px 14px 0 0;
  border: solid 3px #40b6ff;
}

#views-form-reusable-blocks-page-1 .views-row .views-field-info {
  padding: 0 10px;
  border-bottom: 1px solid #dbdbdb;
}

#views-form-reusable-blocks-page-1 .views-row .views-field.views-field-body {
  transform: scale(0.5);
  transform-origin: top left;
  width: 720px;
  max-height: 180px;
}

#views-form-reusable-blocks-page-1 .views-row .views-field-block-content-bulk-form .field-content {
  position: absolute;
  top: 0;
  right: 10px;
}

#edit-allowed-blocks-details .details-wrapper {
  display: flex;
  flex-direction: row;
}

#edit-allowed-blocks-details .details-wrapper fieldset {
  flex: 1;
  margin-right: 10px;
}

#edit-allowed-blocks-details .details-wrapper fieldset:last-child {
  margin-right: 0;
}

#edit-allowed-drupal-blocks-details .details-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

#edit-allowed-drupal-blocks-details .details-wrapper fieldset {
  margin-right: 10px;
}

#edit-allowed-drupal-blocks-details .details-wrapper fieldset:last-child {
  margin-right: 0;
}

.ajax-progress-throbber .throbber {
  padding: 1px 7px 2px !important;
}

/*# sourceMappingURL=admin.css.map */

File

css/admin.css
View source
  1. /**
  2. * Don't edit this file. Find all style at ./sass folder.
  3. **/
  4. #media-browser-modal {
  5. padding: 0;
  6. overflow: hidden !important;
  7. }
  8. .ui-dialog .form-actions .selected-summary {
  9. float: left;
  10. width: 50%;
  11. }
  12. .ui-dialog .form-actions .buttons {
  13. display: flex;
  14. justify-content: flex-end;
  15. }
  16. .ui-dialog .form-actions .buttons > * {
  17. margin: 0 5px;
  18. }
  19. .media-browser {
  20. height: 100%;
  21. position: relative;
  22. overflow: hidden;
  23. }
  24. .media-browser .content {
  25. overflow: hidden;
  26. height: 100%;
  27. }
  28. .media-browser .content .toolbar {
  29. padding: 5px 10px;
  30. }
  31. .media-browser .content .list {
  32. position: absolute;
  33. left: 0;
  34. right: 320px;
  35. top: 50px;
  36. bottom: 0;
  37. overflow: auto;
  38. }
  39. .media-browser .content .media-details {
  40. position: absolute;
  41. right: 0;
  42. top: 0;
  43. bottom: 0;
  44. width: 300px;
  45. overflow: auto;
  46. padding: 10px;
  47. background-color: #f0f0f0;
  48. }
  49. .media-browser .content .media-details figure {
  50. padding: 0;
  51. margin: 0;
  52. }
  53. .media-browser .content .media-details figure img {
  54. max-height: 200px;
  55. margin-left: auto;
  56. margin-right: auto;
  57. display: block;
  58. }
  59. .media-browser .content .media-details figure figcaption {
  60. overflow-wrap: break-word;
  61. }
  62. .media-browser .content .media-details figure video {
  63. width: 100%;
  64. }
  65. .media-browser ul.list {
  66. padding: 2px;
  67. margin: 0;
  68. list-style: none;
  69. }
  70. .media-browser li.attachment {
  71. width: 16.6%;
  72. padding: 8px;
  73. margin: 0;
  74. position: relative;
  75. list-style: none;
  76. float: left;
  77. box-sizing: border-box;
  78. -webkit-user-select: none;
  79. -moz-user-select: none;
  80. -ms-user-select: none;
  81. user-select: none;
  82. }
  83. .media-browser li.attachment img {
  84. max-height: none;
  85. max-width: none;
  86. }
  87. .media-browser li.attachment .landscape img {
  88. max-height: 100%;
  89. }
  90. .media-browser li.attachment .portrait img {
  91. max-width: 100%;
  92. }
  93. .media-browser li.attachment .thumbnail {
  94. overflow: hidden;
  95. position: absolute;
  96. top: 0;
  97. right: 0;
  98. bottom: 0;
  99. left: 0;
  100. opacity: 1;
  101. transition: opacity 0.1s;
  102. }
  103. .media-browser li.attachment .thumbnail img {
  104. position: absolute;
  105. top: 0;
  106. left: 0;
  107. }
  108. .media-browser li.attachment .thumbnail .centered {
  109. position: absolute;
  110. top: 0;
  111. left: 0;
  112. width: 100%;
  113. height: 100%;
  114. transform: translate(50%, 50%);
  115. }
  116. .media-browser li.attachment .thumbnail .centered img {
  117. transform: translate(-50%, -50%);
  118. }
  119. .media-browser li.attachment .thumbnail:after {
  120. content: "";
  121. display: block;
  122. position: absolute;
  123. top: 0;
  124. left: 0;
  125. right: 0;
  126. bottom: 0;
  127. box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
  128. overflow: hidden;
  129. }
  130. .media-browser li.attachment .thumbnail .filename {
  131. position: absolute;
  132. bottom: 0;
  133. background-color: rgba(255, 255, 255, 0.8);
  134. padding: 5px;
  135. border-top: solid 1px #eee;
  136. }
  137. .media-browser li.attachment .check {
  138. display: none;
  139. height: 24px;
  140. width: 24px;
  141. padding: 0;
  142. border: 0;
  143. position: absolute;
  144. z-index: 10;
  145. top: 0;
  146. right: 0;
  147. outline: 0;
  148. cursor: pointer;
  149. background-color: #0073aa;
  150. box-shadow: 0 0 0 1px #fff, 0 0 0 2px #0073aa;
  151. }
  152. .media-browser li.attachment .check .media-modal-icon {
  153. display: block;
  154. background-image: url('data:image/svg+xml;utf8,');
  155. height: 15px;
  156. width: 15px;
  157. margin: 5px;
  158. }
  159. .media-browser li.attachment .check:hover .media-modal-icon {
  160. background-image: url('data:image/svg+xml;utf8,');
  161. }
  162. .media-browser li.attachment.details {
  163. box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #0073aa;
  164. }
  165. .media-browser li.attachment.selected .check {
  166. display: block;
  167. }
  168. .media-browser li.attachment:focus {
  169. outline: none;
  170. }
  171. .media-browser .attachment-preview {
  172. position: relative;
  173. box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  174. background: #eee;
  175. cursor: pointer;
  176. background-position: top center;
  177. background-repeat: no-repeat;
  178. }
  179. .media-browser .attachment-preview.type-application {
  180. background-image: url(../images/application.png);
  181. }
  182. .media-browser .attachment-preview.type-audio {
  183. background-image: url(../images/audio.png);
  184. }
  185. .media-browser .attachment-preview.type-video {
  186. background-image: url(../images/video.png);
  187. }
  188. .media-browser .attachment-preview:before {
  189. content: "";
  190. display: block;
  191. padding-top: 100%;
  192. }
  193. .media-browser .media-modal-icon {
  194. background-image: url('data:image/svg+xml;utf8,');
  195. background-repeat: no-repeat;
  196. }
  197. .media-browser .screen-reader-text {
  198. border: 0;
  199. clip: rect(1px, 1px, 1px, 1px);
  200. -webkit-clip-path: inset(50%);
  201. clip-path: inset(50%);
  202. height: 1px;
  203. margin: -1px;
  204. overflow: hidden;
  205. padding: 0;
  206. position: absolute;
  207. width: 1px;
  208. word-wrap: normal !important;
  209. }
  210. #media-entity-browser-modal {
  211. padding: 0;
  212. }
  213. #media-entity-browser-modal > div {
  214. height: 100%;
  215. }
  216. #media-entity-browser-modal .media-library-wrapper {
  217. height: 100%;
  218. margin: 0;
  219. }
  220. #media-entity-browser-modal .media-library-select.form-submit {
  221. display: none;
  222. }
  223. #views-form-reusable-blocks-page-1 {
  224. display: flex;
  225. flex-wrap: wrap;
  226. }
  227. #views-form-reusable-blocks-page-1 #edit-header {
  228. flex-basis: 100%;
  229. }
  230. #views-form-reusable-blocks-page-1 #edit-block-content-bulk-form--2 {
  231. display: flex;
  232. flex-wrap: wrap;
  233. align-items: baseline;
  234. }
  235. #views-form-reusable-blocks-page-1 #edit-block-content-bulk-form--2 .form-item {
  236. margin: 0 10px;
  237. }
  238. #views-form-reusable-blocks-page-1 #edit-block-content-bulk-form--2 .form-item:first-child {
  239. margin-left: 0;
  240. }
  241. #views-form-reusable-blocks-page-1 #edit-block-content-bulk-form--2 .form-actions {
  242. padding: 0;
  243. margin: 0;
  244. }
  245. #views-form-reusable-blocks-page-1 #edit-block-content-bulk-form--2 .form-actions .button {
  246. margin: 0;
  247. }
  248. #views-form-reusable-blocks-page-1 #edit-actions {
  249. flex-basis: 100%;
  250. }
  251. #views-form-reusable-blocks-page-1 .form-actions {
  252. margin: 0.75em 0;
  253. align-self: flex-end;
  254. }
  255. #views-form-reusable-blocks-page-1 .views-row {
  256. cursor: pointer;
  257. width: 360px;
  258. max-height: 360px;
  259. overflow: hidden;
  260. position: relative;
  261. border: 1px solid #dbdbdb;
  262. background: #fff;
  263. margin: 16px 16px 2px 2px;
  264. transition: border-color 0.2s, color 0.2s;
  265. }
  266. #views-form-reusable-blocks-page-1 .views-row:hover {
  267. margin: 14px 14px 0 0;
  268. border: solid 3px #40b6ff;
  269. }
  270. #views-form-reusable-blocks-page-1 .views-row .views-field-info {
  271. padding: 0 10px;
  272. border-bottom: 1px solid #dbdbdb;
  273. }
  274. #views-form-reusable-blocks-page-1 .views-row .views-field.views-field-body {
  275. transform: scale(0.5);
  276. transform-origin: top left;
  277. width: 720px;
  278. max-height: 180px;
  279. }
  280. #views-form-reusable-blocks-page-1 .views-row .views-field-block-content-bulk-form .field-content {
  281. position: absolute;
  282. top: 0;
  283. right: 10px;
  284. }
  285. #edit-allowed-blocks-details .details-wrapper {
  286. display: flex;
  287. flex-direction: row;
  288. }
  289. #edit-allowed-blocks-details .details-wrapper fieldset {
  290. flex: 1;
  291. margin-right: 10px;
  292. }
  293. #edit-allowed-blocks-details .details-wrapper fieldset:last-child {
  294. margin-right: 0;
  295. }
  296. #edit-allowed-drupal-blocks-details .details-wrapper {
  297. display: flex;
  298. flex-direction: row;
  299. flex-wrap: wrap;
  300. }
  301. #edit-allowed-drupal-blocks-details .details-wrapper fieldset {
  302. margin-right: 10px;
  303. }
  304. #edit-allowed-drupal-blocks-details .details-wrapper fieldset:last-child {
  305. margin-right: 0;
  306. }
  307. .ajax-progress-throbber .throbber {
  308. padding: 1px 7px 2px !important;
  309. }
  310. /*# sourceMappingURL=admin.css.map */