theme.css 3.7 KB

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