theme.scss 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. /*!
  2. * bootstrap-fileinput v4.4.5
  3. * http://plugins.krajee.com/file-input
  4. *
  5. * Krajee Explorer theme style for bootstrap-fileinput. Load this theme file after loading `fileinput.css`.
  6. *
  7. * Author: Kartik Visweswaran
  8. * Copyright: 2014 - 2017, Kartik Visweswaran, Krajee.com
  9. *
  10. * Licensed under the BSD 3-Clause
  11. * https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md
  12. */
  13. .theme-explorer {
  14. .file-preview .table {
  15. margin: 0;
  16. }
  17. .explorer-frame td {
  18. vertical-align: middle;
  19. text-align: left;
  20. }
  21. }
  22. .explorer-frame {
  23. .file-preview-text {
  24. display: inline-block;
  25. color: #428bca;
  26. border: 1px solid #ddd;
  27. font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  28. outline: none;
  29. padding: 8px;
  30. resize: none;
  31. }
  32. .file-preview-html {
  33. display: inline-block;
  34. border: 1px solid #ddd;
  35. padding: 8px;
  36. overflow: auto;
  37. }
  38. .file-preview-other {
  39. text-align: center;
  40. }
  41. .file-other-icon {
  42. font-size: 2.6em;
  43. }
  44. }
  45. /* noinspection CssOverwrittenProperties */
  46. .file-zoom-dialog .explorer-frame .file-other-icon {
  47. font-size: 22em;
  48. font-size: 50vmin;
  49. }
  50. .theme-explorer {
  51. .explorer-frame .kv-file-content {
  52. width: 80px;
  53. height: 80px;
  54. padding: 5px;
  55. text-align: center;
  56. }
  57. .file-actions-cell {
  58. width: 120px;
  59. padding: 0;
  60. }
  61. .file-thumb-progress {
  62. .progress {
  63. display: block;
  64. margin-top: 5px;
  65. height: 13px;
  66. font-size: 11px;
  67. line-height: 13px;
  68. }
  69. .progress-bar {
  70. height: 13px;
  71. font-size: 11px;
  72. line-height: 13px;
  73. }
  74. }
  75. .file-actions-cell {
  76. position: relative;
  77. }
  78. .file-upload-indicator, .file-drag-handle {
  79. position: absolute;
  80. display: inline-block;
  81. text-align: center;
  82. top: 0;
  83. right: 3px;
  84. width: 16px;
  85. height: 16px;
  86. font-size: 16px;
  87. }
  88. .explorer-caption {
  89. display: block;
  90. color: #777;
  91. }
  92. .file-actions {
  93. text-align: center;
  94. }
  95. .kvsortable-ghost {
  96. opacity: 0.6;
  97. background: #e1edf7;
  98. border: 2px solid #a1abff;
  99. }
  100. .file-error-message ul {
  101. padding: 5px 0 0 20px;
  102. }
  103. }
  104. /*
  105. * mobile responsive styling
  106. */
  107. @media only screen and (max-width: 767px) {
  108. .theme-explorer {
  109. .table {
  110. display: block;
  111. width: 100% !important;
  112. tbody, tr, td {
  113. display: block;
  114. width: 100% !important;
  115. }
  116. border: none;
  117. tr {
  118. margin-top: 5px;
  119. &:first-child {
  120. margin-top: 0;
  121. }
  122. }
  123. td {
  124. text-align: center;
  125. }
  126. .kv-file-content {
  127. border-bottom: none;
  128. padding: 4px;
  129. margin: 0;
  130. .file-preview-image {
  131. max-width: 100%;
  132. font-size: 20px;
  133. }
  134. }
  135. }
  136. .file-details-cell {
  137. border-top: none;
  138. border-bottom: none;
  139. padding-top: 0;
  140. margin: 0;
  141. }
  142. .file-actions-cell {
  143. border-top: none;
  144. padding-bottom: 4px;
  145. }
  146. .explorer-frame .explorer-caption {
  147. white-space: nowrap;
  148. text-overflow: ellipsis;
  149. overflow: hidden;
  150. left: 0;
  151. right: 0;
  152. margin: auto;
  153. }
  154. }
  155. .theme-explorer-fa {
  156. .file-upload-indicator, .file-drag-handle {
  157. right: 3px;
  158. bottom: 10px;
  159. top: auto;
  160. }
  161. }
  162. }