layout.styl 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. .sticky
  2. top 0
  3. position sticky
  4. .content
  5. height 100%
  6. .w100
  7. width 100%
  8. .pr
  9. position relative
  10. .pa
  11. position absolute
  12. .pcy
  13. position absolute
  14. top:50%
  15. transform: translateY(-50%)
  16. .pcx
  17. position absolute
  18. left:50%
  19. transform: translateX(-50%)
  20. .pc
  21. position absolute
  22. top 50%
  23. left 50%
  24. transform translate(-50%, -50%)
  25. .indent
  26. text-indent: 2em
  27. .ta
  28. text-align: center
  29. .va
  30. vertical-align: middle
  31. .vt
  32. vertical-align: top
  33. .no_data
  34. text-align: center
  35. margin-top 40px
  36. .wrapper
  37. position relative
  38. min-width 100%
  39. min-height 100%
  40. .eli
  41. overflow: hidden;
  42. text-overflow:ellipsis;
  43. white-space: nowrap;
  44. .nowrap
  45. white-space nowrap
  46. .mg-auto
  47. margin: auto
  48. .radius
  49. border-radius: 50%
  50. .radius-16
  51. border-radius: 16upx
  52. .radius-8
  53. border-radius: 8upx
  54. .radius-4
  55. border-radius: 4upx
  56. for ft in 2..50
  57. .pd{ft}-x
  58. padding-right 1upx * ft
  59. padding-left 1upx * ft
  60. .pd{ft}-y
  61. padding-top 1upx * ft
  62. padding-bottom 1upx * ft
  63. .pd{ft}
  64. padding: 1upx * ft
  65. .pdt{ft}
  66. padding-top: 1upx * ft
  67. .pdb{ft}
  68. padding-bottom: 1upx * ft
  69. .pdr{ft}
  70. padding-right: 1upx * ft
  71. .pdl{ft}
  72. padding-left: 1upx * ft
  73. .mg{ft}-x
  74. margin-right 1upx * ft
  75. margin-left 1upx * ft
  76. .mg{ft}-y
  77. margin-top 1upx * ft
  78. margin-bottom 1upx * ft
  79. .mg{ft}
  80. margin: 1upx * ft
  81. .mgt{ft}
  82. margin-top: 1upx * ft
  83. .mgb{ft}
  84. margin-bottom: 1upx * ft
  85. .mgr{ft}
  86. margin-right: 1upx * ft
  87. .mgl{ft}
  88. margin-left: 1upx * ft