common.css 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. *{
  2. margin: 0;
  3. padding:0;
  4. }
  5. div.hide{
  6. display: none
  7. }
  8. button, input {
  9. outline: none;
  10. border: none;
  11. background-color: #fff;
  12. }
  13. #opacity {
  14. position: fixed;
  15. display: none;
  16. width: 100%;
  17. height: 100%;
  18. background: rgba(0, 0, 0, .8);
  19. z-index: 666;
  20. top: 0;
  21. left: 0;
  22. z-index: 1000;
  23. }
  24. #opacity .ios img{
  25. width: 100%;
  26. display: block;
  27. }
  28. .mask {
  29. border: 0;
  30. margin: 0;
  31. padding: 0;
  32. position: fixed;
  33. left: 0;
  34. top: 0;
  35. min-height: 100%;
  36. min-width: 100%;
  37. height: auto;
  38. width: auto;
  39. opacity: 0.5;
  40. z-index: 1;
  41. /* styles required for IE to work */
  42. background-color: #000;
  43. filter: alpha(opacity=0);
  44. }
  45. .agreetit {
  46. z-index: 2;
  47. position: fixed;
  48. display: flex;
  49. flex-direction: column;
  50. top: 16%;
  51. left: 50%;
  52. width: 80%;
  53. height: 12rem;
  54. margin-left: -40%;
  55. border-radius: 0.1rem;
  56. background-color: white;
  57. font-size: 0.5rem;
  58. }
  59. .agreetit .title {
  60. width: 100%;
  61. padding: 0.4rem 0;
  62. text-align: center;
  63. color: #333;
  64. }
  65. .agreetit .agreetit-main {
  66. flex: 1;
  67. width: 100%;
  68. padding: 0 0.2rem;
  69. overflow-y: auto;
  70. font-size: 0.3rem;
  71. box-sizing: border-box;
  72. }
  73. .agreetit .agreetit-main p {
  74. font-size: 0.42rem;
  75. line-height: 0.7rem;
  76. white-space: pre-line;
  77. }
  78. .agreetit .agreetit-main h1,
  79. .agreetit .agreetit-main h2,
  80. .agreetit .agreetit-main h3 {
  81. font-size: 0.3rem;
  82. }
  83. .agreetit .bottom {
  84. display: flex;
  85. height: 1.2rem;
  86. line-height: 1.2rem;
  87. // border-top: 1px solid #ddd;
  88. }
  89. .agreetit .bottom .cancle {
  90. text-align: center;
  91. flex: 1;
  92. color: #666;
  93. border-right: 1px solid #ddd;
  94. }
  95. .agreetit .bottom .sure {
  96. text-align: center;
  97. flex: 1;
  98. color: #15a61d;
  99. }