theme.css 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. /*!
  2. * bootstrap-fileinput v4.4.4
  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: 2.6em;
  42. }
  43. /* noinspection CssOverwrittenProperties */
  44. .file-zoom-dialog .explorer-frame .file-other-icon {
  45. font-size: 22em;
  46. font-size: 50vmin;
  47. }
  48. .theme-explorer-fa .explorer-frame .kv-file-content {
  49. width: 80px;
  50. height: 80px;
  51. padding: 5px;
  52. text-align: center;
  53. }
  54. .theme-explorer-fa .file-actions-cell {
  55. width: 120px;
  56. padding: 0;
  57. }
  58. .theme-explorer-fa .file-thumb-progress .progress {
  59. display: block;
  60. margin-top: 5px;
  61. }
  62. .theme-explorer-fa .file-thumb-progress .progress, .theme-explorer-fa .file-thumb-progress .progress-bar {
  63. height: 13px;
  64. font-size: 11px;
  65. line-height: 13px;
  66. }
  67. .theme-explorer-fa .file-actions-cell {
  68. position: relative;
  69. }
  70. .theme-explorer-fa .file-upload-indicator, .theme-explorer-fa .file-drag-handle {
  71. position: absolute;
  72. display: inline-block;
  73. text-align: center;
  74. top: 0;
  75. right: 3px;
  76. width: 16px;
  77. height: 16px;
  78. font-size: 16px;
  79. }
  80. .theme-explorer-fa .explorer-caption {
  81. display: block;
  82. color: #777;
  83. }
  84. .theme-explorer-fa .file-actions {
  85. text-align: center;
  86. }
  87. .theme-explorer-fa .kvsortable-ghost {
  88. opacity: 0.6;
  89. background: #e1edf7;
  90. border: 2px solid #a1abff;
  91. }
  92. .theme-explorer-fa .file-error-message ul {
  93. padding: 5px 0 0 20px;
  94. }
  95. /*
  96. * mobile responsive styling
  97. */
  98. @media only screen and (max-width: 767px) {
  99. .theme-explorer-fa .table, .theme-explorer-fa .table tbody, .theme-explorer-fa .table tr, .theme-explorer-fa .table td {
  100. display: block;
  101. width: 100% !important;
  102. }
  103. .theme-explorer-fa .table {
  104. border: none;
  105. }
  106. .theme-explorer-fa .table tr {
  107. margin-top: 5px;
  108. }
  109. .theme-explorer-fa .table tr:first-child {
  110. margin-top: 0;
  111. }
  112. .theme-explorer-fa .table td {
  113. text-align: center;
  114. }
  115. .theme-explorer-fa .table .kv-file-content {
  116. border-bottom: none;
  117. padding: 4px;
  118. margin: 0;
  119. }
  120. .theme-explorer-fa .table .kv-file-content .file-preview-image {
  121. max-width: 100%;
  122. font-size: 20px;
  123. }
  124. .theme-explorer-fa .file-details-cell {
  125. border-top: none;
  126. border-bottom: none;
  127. padding-top: 0;
  128. margin: 0;
  129. }
  130. .theme-explorer-fa .file-actions-cell {
  131. border-top: none;
  132. padding-bottom: 4px;
  133. }
  134. .theme-explorer-fa .explorer-frame .explorer-caption {
  135. white-space: nowrap;
  136. text-overflow: ellipsis;
  137. overflow: hidden;
  138. left: 0;
  139. right: 0;
  140. margin: auto;
  141. }
  142. .theme-explorer-fa .file-upload-indicator, .theme-explorer-fa .file-drag-handle {
  143. right: 3px;
  144. bottom: 10px;
  145. top: auto;
  146. }
  147. }