Me learning react like an absolute chungus
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

163 lines
2.5KB

  1. html {
  2. background-color: #383c4a;
  3. overflow: hidden;
  4. }
  5. .header {
  6. color: #ddd;
  7. background-color: #2a2e3a;
  8. vertical-align: middle;
  9. }
  10. .header > button {
  11. height: 100%;
  12. display: block;
  13. float: right;
  14. margin-top: auto;
  15. margin-bottom: auto;
  16. width: 150px;
  17. font-size: 16pt;
  18. color: #ddd;
  19. border-style: line;
  20. background-color: #404552;
  21. }
  22. /* For some reason, the CSS i need to use to get this to work isn't coming to me >:( */
  23. .KBColumn {
  24. display: flex;
  25. text-align: center;
  26. flex-direction: column;
  27. justify-content: flex-start;
  28. max-width: 22vw;
  29. min-width: 22vw;
  30. min-height: 25vh;
  31. border-color: #ddd;
  32. border-width: 2px;
  33. border-style: solid;
  34. color: #eee;
  35. margin: 5px;
  36. padding: 5px;
  37. flex-wrap: nowrap;
  38. overflow-y: auto;
  39. overflow-x: hidden;
  40. padding-left: 1px;
  41. margin-left: 1px;
  42. margin-right: 1px;
  43. padding-right: 1px;
  44. max-height: 88vh;
  45. }
  46. .taskWrapper {
  47. display: flex;
  48. flex-direction: row;
  49. border-color: #ccc;
  50. border-width: 2px;
  51. border-style: solid;
  52. margin: 2px;
  53. }
  54. .prioBlock {
  55. order: 1;
  56. flex: 3;
  57. display: flex;
  58. overflow: hidden;
  59. }
  60. .taskText {
  61. order: 5;
  62. flex: 20;
  63. height: 100%;
  64. overflow: auto;
  65. }
  66. .actionBlock {
  67. order: 10;
  68. flex: 1;
  69. display: flex;
  70. background-color: #ddd;
  71. justify-content: flex-start;
  72. flex-direction: column;
  73. align-items: flex-end;
  74. }
  75. .App {
  76. display: flex;
  77. align-items: stretch;
  78. order: 1;
  79. flex: 1;
  80. flex-direction: column;
  81. min-height: 100vh;
  82. overflow: hidden;
  83. }
  84. .footer {
  85. display: flex;
  86. order: 400;
  87. color: #eee;
  88. }
  89. .panel {
  90. display: flex;
  91. flex: 1;
  92. order: 1;
  93. justify-content: flex-start;
  94. flex-direction: row;
  95. flex-wrap: nowrap;
  96. width: 100%;
  97. overflow-x: auto;
  98. overflow-y: hidden;
  99. align-items: stretch;
  100. background-color: #404552;
  101. }
  102. .modal {
  103. position: fixed;
  104. z-index: 20;
  105. top: 0;
  106. left: 0;
  107. width: 100%;
  108. height: 100%;
  109. color: black;
  110. background: rgba(0, 0, 0, 0.6);
  111. }
  112. .modal-main label {
  113. float: left;
  114. margin-left: 20%;
  115. }
  116. .modal-main input {
  117. display: block;
  118. float: right;
  119. }
  120. .modal-main button:last-of-type {
  121. margin: auto;
  122. display: block;
  123. background-color: darkRed;
  124. color: #ccc;
  125. }
  126. .modal-main button {
  127. display: block;
  128. text-align: center;
  129. background-color: green;
  130. }
  131. .modal-main {
  132. position: fixed;
  133. text-align: center;
  134. background: white;
  135. width: 50%;
  136. height: auto;
  137. top: 50%;
  138. left: 50%;
  139. transform: translate(-50%, -50%);
  140. z-index: 10;
  141. }
  142. .display-block {
  143. display: block;
  144. }
  145. .display-none {
  146. display: none;
  147. }