index.css 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. @import "./home.css";
  2. @import "./addMenu.css";
  3. :root {
  4. --primary: #6E4B3A;
  5. --secondary: #3A5A85;
  6. --accent: #D4AF37;
  7. --background: #F9F6F0;
  8. --surface: #DCD6CF;
  9. --textMain: #2A2A2A;
  10. --textMuted: #6D6D6D;
  11. --error: #B7410E;
  12. --success: #708238;
  13. }
  14. *{
  15. margin: 0;
  16. padding: 0;
  17. box-sizing: border-box;
  18. }
  19. body{
  20. height: 100vh;
  21. width: 100vw;
  22. background: var(--background);
  23. color: var(--textMain);
  24. }
  25. .logo{
  26. position: absolute;
  27. top: 35px;
  28. left: 35px;
  29. z-index: 100;
  30. }
  31. .page{
  32. display: flex;
  33. flex-direction: column;
  34. justify-content: center;
  35. align-items: center;
  36. height: 100%;
  37. width: 100%;
  38. position: relative;
  39. padding: 10px;
  40. }
  41. .standardForm{
  42. display: flex;
  43. flex-direction: column;
  44. width: 100%;
  45. max-width: 550px;
  46. background: var(--surface);
  47. padding: 10px;
  48. }
  49. .standardForm h1{
  50. text-align: center;
  51. }
  52. .standardForm label{
  53. display: flex;
  54. flex-direction: column;
  55. font-size: 22px;
  56. margin: 5px 0;
  57. }
  58. .standardForm input{
  59. font-size: 22px;
  60. padding: 5px 0 5px 10px;
  61. }
  62. .standardForm button, .button{
  63. font-size: 22px;
  64. margin: 10px 0;
  65. background: var(--primary);
  66. border: none;
  67. color: var(--accent);
  68. padding: 10px;
  69. font-weight: bold;
  70. cursor: pointer;
  71. }
  72. .standardForm button.cancel, .button.cancel{
  73. background: var(--error);
  74. color: white;
  75. }
  76. .button.circle{
  77. display: flex;
  78. justify-content: center;
  79. align-items: center;
  80. border-radius: 50%;
  81. height: 50px;
  82. width: 50px;
  83. font-size: 35px;
  84. }
  85. .link, .standardForm .link{
  86. background: none;
  87. border: none;
  88. font-size: 18px;
  89. color: var(--textMuted);
  90. cursor: pointer;
  91. text-decoration: underline;
  92. margin: 0;
  93. }
  94. .notifier{
  95. position: absolute;
  96. bottom: 35px;
  97. left: 50%;
  98. transform: translateX(-50%);
  99. width: 100%;
  100. max-width: 750px;
  101. padding: 15px 35px;
  102. font-size: 18px;
  103. font-weight: bold;
  104. text-align: center;
  105. z-index: 100;
  106. color: white;
  107. }
  108. .notifier.error{
  109. background: var(--error);
  110. }
  111. .notifier.success{
  112. background: var(--success);
  113. }