media-gallery.less 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. .media-modal {
  2. .attachment-details .setting.vc-image-filter-setting {
  3. float: none;
  4. select {
  5. max-width: 65%;
  6. width: 100%;
  7. }
  8. }
  9. @media only screen and (max-width: 900px) {
  10. .attachment-details {
  11. .setting.vc-image-filter-setting {
  12. .name {
  13. display: block;
  14. }
  15. select {
  16. max-width: 98%;
  17. }
  18. }
  19. }
  20. }
  21. .attachment-info {
  22. @max_w: 100%;
  23. @max_h: 250px;
  24. .thumbnail {
  25. max-width: @max_w;
  26. max-height: @max_h;
  27. width: 100%;
  28. img {
  29. max-width: @max_w;
  30. max-height: @max_h;
  31. }
  32. &.loading {
  33. &::before {
  34. background: url('../images/spinner.gif') no-repeat center;
  35. position: absolute;
  36. content: '';
  37. top: 0;
  38. left: 0;
  39. right: 0;
  40. bottom: 0;
  41. }
  42. }
  43. }
  44. .uploaded,
  45. .file-size {
  46. float: left;
  47. &::after {
  48. margin-right: 5px;
  49. content: ';';
  50. }
  51. }
  52. .edit-attachment,
  53. .delete-attachment {
  54. display: inline;
  55. }
  56. .delete-attachment {
  57. &::before {
  58. content: '| ';
  59. color: #666;
  60. }
  61. }
  62. }
  63. &.processing-media {
  64. .media-button {
  65. &::before {
  66. content: '';
  67. width: 16px;
  68. height: 16px;
  69. background: url('../images/spinner.gif');
  70. display: inline-block;
  71. margin-left: -40px;
  72. position: absolute;
  73. pointer-events: none;
  74. margin-top: 6px;
  75. }
  76. }
  77. }
  78. }