theme.css 4.7 KB

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