bank-manage.css 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. html, body {
  2. width: 100%;
  3. margin: 0;
  4. padding: 0;
  5. }
  6. #root {
  7. width: 100%;
  8. height: 100%;
  9. box-sizing: border-box;
  10. padding: 20px 50px;
  11. }
  12. div.nav {
  13. width: 100%;
  14. display: flex;
  15. justify-content: space-between;
  16. border-bottom: 1px solid gray;
  17. }
  18. div.nav-item {
  19. width: 30%;
  20. line-height: 2em;
  21. font-size: 1.1em;
  22. font-weight: bold;
  23. text-align: center;
  24. cursor: pointer;
  25. user-select: none;
  26. }
  27. div.nav-item.active {
  28. background-color: aqua;
  29. }
  30. div.nav-body {
  31. width: 100%;
  32. margin-top: 20px;
  33. }
  34. div.control {
  35. width: 100%;
  36. display: flex;
  37. justify-content: space-between;
  38. margin-bottom: 10px;
  39. }
  40. div.search-box > label {
  41. display: flex;
  42. align-items: center;
  43. border: 1px solid #000000;
  44. border-radius: 50px;
  45. box-sizing: border-box;
  46. padding: 2px 10px;
  47. }
  48. div.search-box > label > input {
  49. width: 250px;
  50. line-height: 25px;
  51. outline: none;
  52. border: none;
  53. font-size: 20px;
  54. }
  55. div.search-box > label > img {
  56. width: 25px;
  57. height: 25px;
  58. }
  59. div.buttons {
  60. display: flex;
  61. }
  62. div.buttons > button {
  63. margin-left: 15px;
  64. }
  65. button {
  66. --color: black;
  67. background-color: transparent;
  68. border: 1px solid var(--color);
  69. color: var(--color);
  70. outline: none;
  71. border-radius: 4px;
  72. padding: 5px 15px;
  73. cursor: pointer;
  74. user-select: none;
  75. }
  76. button:hover {
  77. background-color: var(--color);
  78. color: white;
  79. transition: all 200ms;
  80. }
  81. button.blue {
  82. --color: deepskyblue !important;
  83. }
  84. button.green {
  85. --color: darkgreen !important;
  86. }
  87. button.red {
  88. --color: darkred !important;
  89. }
  90. table {
  91. width: 100%;
  92. border: none;
  93. background-color: black;
  94. }
  95. tr {
  96. line-height: 1.5em;
  97. }
  98. th, td {
  99. background-color: white;
  100. text-align: center;
  101. }
  102. td > label > input {
  103. width: 90%;
  104. outline: none;
  105. border: none;
  106. background-color: rgba(245, 222, 179, 0.5);
  107. border-radius: 5px;
  108. line-height: 1.6em;
  109. text-align: center;
  110. }
  111. input.left {
  112. text-align: left;
  113. text-indent: 1em;
  114. }
  115. view {
  116. cursor: pointer;
  117. user-select: none;
  118. }
  119. view:hover {
  120. color: blue;
  121. }
  122. div.icon-view-layer {
  123. width: 100vw;
  124. height: 100vh;
  125. display: flex;
  126. justify-content: center;
  127. align-items: center;
  128. position: fixed;
  129. top: 0;
  130. left: 0;
  131. z-index: 9999;
  132. }
  133. div.icon-view-box {
  134. width: 400px;
  135. height: 300px;
  136. display: flex;
  137. flex-direction: column;
  138. align-items: center;
  139. justify-content: space-between;
  140. box-sizing: border-box;
  141. padding: 20px 40px;
  142. border-radius: 6px;
  143. background-color: white;
  144. }
  145. div.icon-img-box {
  146. width: 100px;
  147. height: 100px;
  148. position: relative;
  149. background-color: black;
  150. }
  151. div.icon-img-box > img {
  152. width: 100%;
  153. height: 100%;
  154. }
  155. div.icon-img-box > label {
  156. width: 100%;
  157. height: 100%;
  158. display: none;
  159. position: absolute;
  160. top: 0;
  161. left: 0;
  162. cursor: pointer;
  163. user-select: none;
  164. }
  165. div.icon-img-box:hover > label {
  166. display: flex;
  167. justify-content: center;
  168. align-items: center;
  169. background-color: rgba(255, 255, 255, 0.5);
  170. }
  171. div.icon-view-box input {
  172. width: 100%;
  173. outline: none;
  174. border: 1px solid gray;
  175. border-radius: 4px;
  176. line-height: 1.6em;
  177. text-align: center;
  178. }
  179. div.btns {
  180. width: 100%;
  181. display: flex;
  182. justify-content: space-evenly;
  183. }