Me learning react like an absolute chungus
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

141 lines
2.1KB

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