style.scss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. @import "./common";
  2. * {
  3. margin: 0;
  4. padding: 0;
  5. }
  6. .d-f {
  7. display: flex;
  8. }
  9. .p-l-10 {
  10. padding-left: 10px;
  11. }
  12. .m-b-10{
  13. margin-bottom: 10px;
  14. }
  15. .f-d-c {
  16. flex-direction: column;
  17. }
  18. .a-i-c {
  19. align-items: center;
  20. }
  21. .a-i-f-e {
  22. align-items: flex-end;
  23. }
  24. .j-c-c {
  25. justify-content: center;
  26. }
  27. .j-c-s-b {
  28. justify-content: space-between;
  29. }
  30. .j-c-s-a {
  31. justify-content: space-around;
  32. }
  33. .j-c-f-e {
  34. justify-content: flex-end;
  35. }
  36. .f-1 {
  37. flex: 1;
  38. }
  39. .f-1-h {
  40. @extend .f-1; // stylelint-disable-line
  41. min-height: 0;
  42. }
  43. .f-1-w {
  44. @extend .f-1; // stylelint-disable-line
  45. min-width: 0;
  46. }
  47. .w-100 {
  48. width: 100%;
  49. }
  50. .h-100 {
  51. height: 100%;
  52. }
  53. .w-h-100 {
  54. @extend .w-100; // stylelint-disable-line
  55. @extend .h-100; // stylelint-disable-line
  56. }
  57. .scroll {
  58. -webkit-overflow-scrolling: touch;
  59. &::-webkit-scrollbar,
  60. &::-webkit-scrollbar-thumb,
  61. &::-webkit-scrollbar-track {
  62. border-radius: 5px;
  63. }
  64. &::-webkit-scrollbar {
  65. width: 10px;
  66. height: 10px;
  67. }
  68. &::-webkit-scrollbar,
  69. &::-webkit-scrollbar-track {
  70. background-color: $background-darken;
  71. }
  72. &::-webkit-scrollbar-thumb {
  73. background-color: $background;
  74. }
  75. }
  76. .scroll-y {
  77. overflow-x: hidden;
  78. overflow-y: auto;
  79. @extend .scroll; /* stylelint-disable-line */
  80. }
  81. .scroll-x {
  82. overflow-x: auto;
  83. overflow-y: hidden;
  84. @extend .scroll; /* stylelint-disable-line */
  85. }
  86. .ellipsis-line {
  87. overflow: hidden;
  88. white-space: nowrap;
  89. text-overflow: ellipsis;
  90. }
  91. .o-f-c {
  92. object-fit: cover;
  93. object-position: center center;
  94. }
  95. html,
  96. body {
  97. width: 100%;
  98. height: 100%;
  99. }
  100. .btn-border-transparent {
  101. border-color: transparent !important;
  102. }
  103. .btn-background-darken {
  104. background: linear-gradient(180deg, #69696d 0%, #4e4e50 100%) !important;
  105. }
  106. .btn-img {
  107. width: auto;
  108. height: 24px;
  109. margin-right: 4px;
  110. }
  111. .confirm-content-info {
  112. font-size: 16px;
  113. line-height: 1.2;
  114. color: $darkener;
  115. text-align: center;
  116. margin: 30px 0 20px;
  117. }
  118. .nav-top {
  119. height: 60px;
  120. display: flex;
  121. align-items: center;
  122. img {
  123. margin-right: 8px;
  124. }
  125. span {
  126. font-size: 20px;
  127. font-weight: bold;
  128. }
  129. }