theme.css 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. /*!
  2. * bootstrap-fileinput v4.4.2
  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 .file-preview .table {
  14. margin: 0;
  15. }
  16. .theme-explorer .explorer-frame td {
  17. vertical-align: middle;
  18. text-align: left;
  19. }
  20. .explorer-frame .file-preview-text {
  21. display: inline-block;
  22. color: #428bca;
  23. border: 1px solid #ddd;
  24. font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  25. outline: none;
  26. padding: 8px;
  27. resize: none;
  28. }
  29. .explorer-frame .file-preview-html {
  30. display: inline-block;
  31. border: 1px solid #ddd;
  32. padding: 8px;
  33. overflow: auto;
  34. }
  35. .explorer-frame .file-preview-other {
  36. text-align: center;
  37. }
  38. .explorer-frame .file-other-icon {
  39. font-size: 4.2em;
  40. }
  41. .theme-explorer .explorer-frame .kv-file-content {
  42. width: 80px;
  43. height: 80px;
  44. padding: 5px;
  45. text-align: center;
  46. }
  47. .theme-explorer .file-actions-cell {
  48. width: 100px;
  49. padding: 0;
  50. }
  51. .theme-explorer .file-thumb-progress .progress {
  52. display: block;
  53. margin-top: 5px;
  54. }
  55. .theme-explorer .file-thumb-progress .progress, .theme-explorer .file-thumb-progress .progress-bar {
  56. height: 13px;
  57. font-size: 11px;
  58. line-height: 13px;
  59. }
  60. .theme-explorer .file-actions-cell {
  61. position: relative;
  62. }
  63. .theme-explorer .file-upload-indicator, .theme-explorer .file-drag-handle {
  64. position: absolute;
  65. text-align: center;
  66. top: 0;
  67. right: 0;
  68. padding-left: 5px;
  69. padding-right: 2px;
  70. border-right: none;
  71. border-top: none;
  72. border-left: 1px solid #8a6d3b;
  73. border-bottom: 1px solid #8a6d3b;
  74. border-bottom-left-radius: 11px;
  75. font-size: 12px;
  76. }
  77. .theme-explorer .explorer-caption {
  78. display: block;
  79. color: #777;
  80. }
  81. .theme-explorer .file-actions {
  82. text-align: center;
  83. }
  84. .theme-explorer .kvsortable-ghost {
  85. opacity: 0.6;
  86. background: #e1edf7;
  87. border: 2px solid #a1abff;
  88. }
  89. .theme-explorer .file-upload-indicator {
  90. font-size: 13px;
  91. padding-left: 6px;
  92. background-color: #fcf8e3;
  93. border-color: #faebcc;
  94. }
  95. .theme-explorer .file-drag-handle {
  96. right: -2px;
  97. background-color: #d9edf7;
  98. border-color: #bce8f1;
  99. }
  100. .theme-explorer .file-preview-error .file-upload-indicator {
  101. background-color: #f2dede;
  102. border-color: #ebccd1;
  103. }
  104. .theme-explorer .file-preview-success .file-upload-indicator {
  105. background-color: #dff0d8;
  106. border-color: #d6e9c6;
  107. }
  108. .theme-explorer .file-preview-loading .file-upload-indicator {
  109. background-color: #e5e5e5;
  110. border-color: #777;
  111. }
  112. .theme-explorer .file-error-message ul {
  113. padding-left: 15px;
  114. }
  115. .theme-explorer .file-error-message .close {
  116. margin-top: -5px;
  117. margin-right: -5px;
  118. }
  119. /*
  120. * mobile responsive styling
  121. */
  122. @media only screen and (max-width: 500px) {
  123. .theme-explorer .table, .theme-explorer .table tbody, .theme-explorer .table tr, .theme-explorer .table td {
  124. display: block;
  125. width: 100% !important;
  126. }
  127. .theme-explorer .table {
  128. border: none;
  129. }
  130. .theme-explorer .table tr {
  131. margin-top: 5px;
  132. }
  133. .theme-explorer .table tr:first-child {
  134. margin-top: 0;
  135. }
  136. .theme-explorer .table td {
  137. text-align: center;
  138. }
  139. .theme-explorer .table .kv-file-content {
  140. border-bottom: none;
  141. padding: 4px;
  142. margin: 0;
  143. }
  144. .theme-explorer .table .kv-file-content .file-preview-image {
  145. max-width: 100%;
  146. font-size: 20px;
  147. }
  148. .theme-explorer .file-details-cell {
  149. border-top: none;
  150. border-bottom: none;
  151. padding-top: 0;
  152. margin: 0;
  153. }
  154. .theme-explorer .file-actions-cell {
  155. border-top: none;
  156. padding-bottom: 4px;
  157. }
  158. .theme-explorer .explorer-frame .explorer-caption {
  159. white-space: nowrap;
  160. text-overflow: ellipsis;
  161. overflow: hidden;
  162. left: 0;
  163. right: 0;
  164. margin: auto;
  165. }
  166. .theme-explorer .file-upload-indicator, .theme-explorer .file-drag-handle {
  167. right: 0;
  168. bottom: 0;
  169. border-top-left-radius: 40px;
  170. border-bottom-left-radius: 0;
  171. padding: 12px 3px 0 6px;
  172. }
  173. .theme-explorer .file-actions-cell .btn-xs {
  174. font-size: 0.9em;
  175. padding: 2px 7px;
  176. margin-right: 3px;
  177. cursor: pointer;
  178. }
  179. }