fileinput-rtl.scss 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. /*!
  2. * bootstrap-fileinput v4.4.5
  3. * http://plugins.krajee.com/file-input
  4. *
  5. * Krajee RTL (Right To Left) default styling for bootstrap-fileinput.
  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. .kv-rtl {
  14. direction: rtl;
  15. .kv-zoom-actions .btn-kv, .floating-buttons .btn-kv {
  16. margin-left: 0;
  17. margin-right: 3px;
  18. }
  19. .file-caption-icon {
  20. left: auto;
  21. right: 10px;
  22. margin: 0 0 0 10px;
  23. }
  24. .file-caption.icon-visible {
  25. .file-caption-name {
  26. padding-left: 0;
  27. padding-right: 30px;
  28. }
  29. .input-group-lg .file-caption-name {
  30. padding-right: 34px;
  31. }
  32. }
  33. .close {
  34. float: left;
  35. }
  36. .input-group-btn:last-child > .btn {
  37. border-radius: 4px 0 0 4px;
  38. }
  39. .input-group .form-control:first-child {
  40. border-radius: 0 4px 4px 0;
  41. }
  42. .btn-file input[type=file] {
  43. right: auto;
  44. left: 0;
  45. text-align: left;
  46. background: none repeat scroll 100% 0 transparent;
  47. }
  48. .file-zoom-dialog {
  49. text-align: right;
  50. }
  51. .file-error-message {
  52. pre, ul {
  53. text-align: right;
  54. }
  55. }
  56. .file-drop-zone {
  57. margin: 12px 12px 12px 15px;
  58. }
  59. .floating-buttons {
  60. left: 10px;
  61. right: auto;
  62. }
  63. .btn-prev {
  64. right: 1px;
  65. left: auto;
  66. }
  67. .btn-next {
  68. left: 1px;
  69. right: auto;
  70. }
  71. .pull-right {
  72. float: left !important;
  73. }
  74. .pull-left {
  75. float: right !important;
  76. }
  77. .float-right {
  78. float: left !important;
  79. }
  80. .float-left {
  81. float: right !important;
  82. }
  83. .kv-zoom-title {
  84. direction: ltr;
  85. }
  86. .krajee-default {
  87. &.file-preview-frame {
  88. box-shadow: -1px 1px 5px 0 #a2958a;
  89. float: right;
  90. &:not(.file-preview-error):hover {
  91. box-shadow: -3px 3px 5px 0 #333;
  92. }
  93. }
  94. .file-actions, .file-other-error {
  95. float: left;
  96. }
  97. .file-drag-handle, .file-upload-indicator {
  98. float: right;
  99. }
  100. }
  101. }