江夏区图书馆自助查询机
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

202 lines
3.5 KiB

6 months ago
5 months ago
  1. @import '~@/assets/iconfont/iconfont.css';
  2. // 全局样式
  3. * {
  4. margin: 0;
  5. padding: 0;
  6. list-style-type: none;
  7. box-sizing: border-box;
  8. outline: none;
  9. }
  10. html {
  11. margin: 0;
  12. padding: 0;
  13. }
  14. body {
  15. font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  16. background-color: #f1f1f1;
  17. margin: 0;
  18. padding: 0;
  19. }
  20. a {
  21. color: #343440;
  22. text-decoration: none;
  23. }
  24. ul{
  25. margin: 0;
  26. padding: 0;
  27. li{
  28. list-style: none;
  29. }
  30. }
  31. .clearfix {
  32. &::after {
  33. content: "";
  34. display: table;
  35. height: 0;
  36. line-height: 0;
  37. visibility: hidden;
  38. clear: both;
  39. }
  40. }
  41. /**滚动条的宽度*/
  42. ::-webkit-scrollbar {
  43. width: 10px;
  44. height: 10px;
  45. }
  46. //滚动条的滑块
  47. ::-webkit-scrollbar-thumb {
  48. background-color: #44A9E4;
  49. border-radius: 5px;
  50. }
  51. .icon {
  52. width: 1em;
  53. height: 1em;
  54. vertical-align: -0.15em;
  55. fill: currentColor;
  56. overflow: hidden;
  57. }
  58. //浮动
  59. .float-r {
  60. float: right;
  61. }
  62. //文章一行显示,多余省略号显示
  63. .title-item {
  64. display: -webkit-box;
  65. -webkit-box-orient: vertical;
  66. -webkit-line-clamp: 1;
  67. overflow: hidden;
  68. text-overflow: ellipsis;
  69. }
  70. .tooltip-style,
  71. .popover-external-set {
  72. width: 250px;
  73. background:rgba(0,0,0,1);
  74. color: #fff;
  75. border-radius: 6px;
  76. }
  77. .tooltip-style{
  78. display:none;
  79. position:absolute;
  80. }
  81. .popover-external-set {
  82. position: fixed;
  83. z-index: 1000;
  84. }
  85. .tooltip-style,
  86. .popover-content-set{
  87. .tooltip-top{
  88. display: flex;
  89. justify-content: space-between;
  90. align-items: center;
  91. font-size: 14px;
  92. height: 40px;
  93. line-height: 40px;
  94. padding: 0 10px;
  95. border-bottom: 1px solid #fff;
  96. }
  97. .tooltip-top span,
  98. .tooltip-top i{
  99. font-size: 12px;
  100. font-style: normal;
  101. }
  102. ul{
  103. padding: 10px;
  104. }
  105. ul li{
  106. display: flex;
  107. justify-content: flex-start;
  108. align-items: center;
  109. line-height: 24px;
  110. font-style: normal;
  111. font-size: 12px;
  112. }
  113. ul li p{
  114. width: 60px;
  115. font-weight: bold;
  116. text-align: right;
  117. }
  118. ul li span,
  119. ul li em{
  120. width: 100px;
  121. display: block;
  122. text-align: right;
  123. font-style: normal;
  124. }
  125. ul li i{
  126. font-style: normal;
  127. font-weight: bold;
  128. padding: 0 10px;
  129. color: #0348f3;
  130. }
  131. ul li span.percentage,
  132. ul li em.percentage{
  133. width: auto;
  134. }
  135. .tag-item{
  136. display: block;
  137. // width: 50px;
  138. height: 18px;
  139. line-height: 16px;
  140. padding: 0 4px;
  141. border-radius: 3px;
  142. font-size: 12px;
  143. color: #A6ADB6;
  144. border: 1px solid #E6E8ED;
  145. background-color: #F3F5F9;
  146. text-align: center;
  147. &.tag-sort{
  148. color: #FD7359 !important;
  149. border-color: #FBC0B5 !important;
  150. background-color: #FCECE9 !important;
  151. }
  152. &.tag-place{
  153. color: #018BFF !important;
  154. border-color: #9BD1FF !important;
  155. background-color: #DCEDFD !important;
  156. }
  157. &.tag-all{
  158. color: #0C0E1E;
  159. border-color: #545B65 !important;
  160. background-color: #E6E8ED !important;
  161. }
  162. }
  163. }
  164. .swiper-title{
  165. font-size: 22px;
  166. color: #545B65;
  167. .swiper-wrapper{
  168. margin: 10px 0;
  169. border-bottom: 1px solid #EDEFF3;
  170. }
  171. }
  172. .swiper-slide-title {
  173. width: auto !important;
  174. margin-right: 20px;
  175. cursor: pointer;
  176. .tab-name {
  177. padding: 10px;
  178. &.active {
  179. padding-bottom: 10px;
  180. color: #0348F3;
  181. border-bottom: 3px solid #0348F3;
  182. }
  183. }
  184. }