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.

134 lines
1.9KB

  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: 200px;
  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. .panel{
  44. display: flex;
  45. flex-direction: row;
  46. flex-wrap: nowrap;
  47. }
  48. .taskWrapper {
  49. display: flex;
  50. min-height: 100px;
  51. flex-direction: row;
  52. align-items: stretch;
  53. position: relative;
  54. }
  55. .prioBlock {
  56. order: 1;
  57. flex: 1;
  58. display: flex;
  59. overflow: hidden;
  60. }
  61. .taskText {
  62. order: 5;
  63. flex: 5;
  64. height: 100%;
  65. }
  66. .panel {
  67. width: 100%;
  68. }
  69. .modal {
  70. z-index: 10;
  71. }
  72. .modal {
  73. position: fixed;
  74. top: 0;
  75. left: 0;
  76. width: 100%;
  77. height: 100%;
  78. color: black;
  79. background: rgba(0, 0, 0, 0.5);
  80. }
  81. .modal-main label {
  82. float: left;
  83. margin-left: 20%;
  84. }
  85. .modal-main input {
  86. display: block;
  87. float: right;
  88. }
  89. .modal-main button:last-of-type {
  90. margin: auto;
  91. display: block;
  92. background-color: darkRed;
  93. color: #CCC
  94. }
  95. .modal-main button {
  96. display: block;
  97. text-align: center;
  98. background-color: green;
  99. }
  100. .modal-main {
  101. position: fixed;
  102. text-align: center;
  103. background: white;
  104. width: 50%;
  105. height: auto;
  106. top: 50%;
  107. left: 50%;
  108. transform: translate(-50%, -50%);
  109. z-index: 999;
  110. }
  111. .display-block {
  112. display: block;
  113. }
  114. .display-none {
  115. display: none;
  116. }