style.scss 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. @import '@uppy/core/src/style.scss';
  2. @import '@uppy/utils/src/microtip.scss';
  3. .uppy-Informer {
  4. position: absolute;
  5. bottom: 60px;
  6. left: 0;
  7. right: 0;
  8. text-align: center;
  9. // padding: 0 15px;
  10. // height: 25px;
  11. // line-height: 25px;
  12. opacity: 1;
  13. transform: none;
  14. transition: all 250ms ease-in;
  15. z-index: $zIndex-5;
  16. // border-radius: 18px;
  17. // max-width: 100%;
  18. // margin: auto;
  19. // .uppy-size--md & {
  20. // height: 35px;
  21. // line-height: 35px;
  22. // font-size: 12px;
  23. // // max-width: 500px;
  24. // padding: 0 15px;
  25. // }
  26. }
  27. .uppy-Informer[aria-hidden=true] {
  28. opacity: 0;
  29. transform: translateY(350%);
  30. transition: all 300ms ease-in;
  31. }
  32. .uppy-Informer p {
  33. display: inline-block;
  34. margin: 0;
  35. padding: 0;
  36. // height: 25px;
  37. // line-height: 25px;
  38. font-size: 12px;
  39. line-height: 1.4;
  40. font-weight: 400;
  41. padding: 6px 15px;
  42. background-color: rgba($color-asphalt-gray, 0.8); /* no !important */
  43. color: $color-white;
  44. border-radius: 18px;
  45. max-width: 90%;
  46. .uppy-size--md & {
  47. font-size: 14px;
  48. line-height: 1.3;
  49. max-width: 500px;
  50. padding: 10px 20px;
  51. }
  52. }
  53. .uppy-Informer span {
  54. line-height: 12px;
  55. width: 13px;
  56. height: 13px;
  57. display: inline-block;
  58. vertical-align: middle;
  59. color: $color-asphalt-gray;
  60. background-color: $color-white;
  61. border-radius: 50%;
  62. position: relative;
  63. top: -1px;
  64. left: 3px;
  65. font-size: 10px;
  66. margin-left: -1px;
  67. }
  68. .uppy-Informer span:hover {
  69. cursor: help;
  70. }
  71. .uppy-Informer span:after {
  72. line-height: 1.3;
  73. word-wrap: break-word;
  74. }