fileinput-rtl.css 2.5 KB

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