Me learning react like an absolute chungus
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

134 行
2.0KB

  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. .panel {
  62. display: flex;
  63. flex: 1;
  64. flex-direction: row;
  65. flex-wrap: nowrap;
  66. width: 100%;
  67. overflow-x:auto;
  68. overflow-y: hidden;
  69. height: 100%;
  70. align-items: stretch;
  71. background-color: lavender;
  72. }
  73. .modal {
  74. position: fixed;
  75. z-index: 20;
  76. top: 0;
  77. left: 0;
  78. width: 100%;
  79. height: 100%;
  80. color: black;
  81. background: rgba(0, 0, 0, 0.6);
  82. }
  83. .modal-main label {
  84. float: left;
  85. margin-left: 20%;
  86. }
  87. .modal-main input {
  88. display: block;
  89. float: right;
  90. }
  91. .modal-main button:last-of-type {
  92. margin: auto;
  93. display: block;
  94. background-color: darkRed;
  95. color: #ccc;
  96. }
  97. .modal-main button {
  98. display: block;
  99. text-align: center;
  100. background-color: green;
  101. }
  102. .modal-main {
  103. position: fixed;
  104. text-align: center;
  105. background: white;
  106. width: 50%;
  107. height: auto;
  108. top: 50%;
  109. left: 50%;
  110. transform: translate(-50%, -50%);
  111. z-index: 10;
  112. }
  113. .display-block {
  114. display: block;
  115. }
  116. .display-none {
  117. display: none;
  118. }