details.wxss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. @charset "UTF-8";
  2. /**
  3. * 这里是app内置的常用样式变量
  4. *
  5. * app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  6. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  7. *
  8. */
  9. /**
  10. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  11. *
  12. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  13. */
  14. /* 颜色变量 */
  15. /* 水平间距 */
  16. /* 水平间距 */
  17. /* 行为相关颜色 */
  18. /* 文字基本颜色 */
  19. /* 背景颜色 */
  20. /* 边框颜色 */
  21. /* 尺寸变量 */
  22. /* 文字尺寸 */
  23. /* 图片尺寸 */
  24. /* Border Radius */
  25. /* 水平间距 */
  26. /* 垂直间距 */
  27. /* 透明度 */
  28. /* 文章场景相关 */
  29. .monitor-area {
  30. overflow: hidden;
  31. height: 510rpx;
  32. border-radius: 5rpx;
  33. margin-bottom: 24rpx;
  34. }
  35. .monitor-tools {
  36. display: flex;
  37. align-items: center;
  38. justify-content: space-between;
  39. padding: 24rpx;
  40. }
  41. .tools-control {
  42. position: relative;
  43. width: 305rpx;
  44. height: 305rpx;
  45. margin: 0 60rpx;
  46. background-image: linear-gradient(to right, #323e4d, #444d5e);
  47. border-radius: 100%;
  48. }
  49. .tools-control .tools-btn {
  50. position: absolute;
  51. top: 0;
  52. bottom: 0;
  53. left: 0;
  54. right: 0;
  55. margin: auto;
  56. }
  57. .tools-control .slice {
  58. position: absolute;
  59. display: flex;
  60. align-items: center;
  61. justify-content: center;
  62. width: 97rpx;
  63. height: 97rpx;
  64. margin: auto;
  65. }
  66. .tools-control .slice:before {
  67. content: '';
  68. display: block;
  69. width: 0;
  70. margin-right: -24rpx;
  71. border-color: transparent transparent transparent #317afd;
  72. border-width: 24rpx;
  73. border-style: solid;
  74. -webkit-transform: scaleY(0.6);
  75. transform: scaleY(0.6);
  76. }
  77. .tools-control .slice:active {
  78. opacity: .3;
  79. }
  80. .tools-control .up {
  81. top: 0;
  82. left: 0;
  83. right: 0;
  84. -webkit-transform: rotateZ(-90deg);
  85. transform: rotateZ(-90deg);
  86. }
  87. .tools-control .down {
  88. bottom: 0;
  89. left: 0;
  90. right: 0;
  91. -webkit-transform: rotateZ(90deg);
  92. transform: rotateZ(90deg);
  93. }
  94. .tools-control .left {
  95. top: 0;
  96. bottom: 0;
  97. left: 0;
  98. -webkit-transform: rotateZ(180deg);
  99. transform: rotateZ(180deg);
  100. }
  101. .tools-control .right {
  102. top: 0;
  103. bottom: 0;
  104. right: 0;
  105. }
  106. .tools-btn {
  107. width: 110rpx;
  108. height: 110rpx;
  109. font-size: 40rpx;
  110. font-weight: bold;
  111. color: #317afd;
  112. line-height: 1;
  113. background: #434C5D;
  114. border-radius: 100%;
  115. }
  116. .tools-btn:active text {
  117. opacity: .3;
  118. }