source: src/main/resources/static/css/editUser.css@ 43c9090

Last change on this file since 43c9090 was 43c9090, checked in by macagaso <gasoskamarija@…>, 5 weeks ago

Updated version

  • Property mode set to 100644
File size: 3.2 KB
Line 
1body{
2 font-family: "Caveat", cursive;
3 margin: 30px;
4}
5#content{
6 display: flex;
7 gap: 50px;
8}
9#main-part{
10 display: flex;
11 flex-direction: column;
12 width:420px;
13 gap: 30px;
14}
15#container{
16 display: flex;
17 justify-content: center;
18 align-items: center;
19 height: 300px;
20 gap: 50px;
21 border: 1px solid #ccc;
22 border-radius: 5px;
23 background-color: #f9f9f9;
24 padding: 10px;
25}
26
27#container p{
28 font-weight:bold;
29 margin: 0;
30 padding-bottom: 10px;
31}
32button {
33 margin-right: 13px;
34 margin-bottom: 5px;
35 border:0;
36 border-radius: 5px;
37 padding: 10px;
38}
39
40#block-account{
41 background-color: #ff6666;
42 color: white;
43}
44#edit-profile{
45 background-color: royalblue;
46 color: white;
47}
48#saveChanges{
49 background-color: #4CAF50;
50 color: white;
51}
52#left-side, #right-side {
53 display: flex;
54 flex-direction: column;
55 gap: 15px;
56}
57
58#stat-table {
59 height: 320px;
60 width: 420px;
61 border-collapse: collapse;
62 table-layout: fixed;
63}
64#additional-table{
65 border-collapse: collapse;
66 table-layout: fixed;
67}
68#active-tableHead > tr > th, #active-table > tr > td{
69 width: fit-content;
70}
71
72#stat-table th, #stat-table td, #active-tableHead > tr > th, #active-table > tr > td {
73 text-align: center;
74 border: 1px solid #ddd;
75 padding: 12px;
76}
77
78#stat-table th, #active-tableHead > tr > th {
79 background-color: lightslategray;
80 color: #fff;
81 font-weight: bold;
82
83}
84
85
86#table-part > p{
87 font-size: 20px;
88}
89#statusDropdown{
90 margin-bottom: 25px;
91}
92#authButton{
93 position: absolute;
94 left: 1145px;
95 top: 21px;
96 width: 150px;
97 color: white;
98 background-color: red;
99 padding: 10px;
100 border: none;
101 border-radius: 5px;
102}
103
104.modal {
105 display: none; /* Hidden by default */
106 position: fixed; /* Stay in place */
107 z-index: 9999; /* Sit on top */
108 left: 0;
109 top: 0;
110 width: 100%; /* Full width */
111 height: 100%; /* Full height */
112 background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
113 align-items: center;
114 justify-content: center;
115}
116
117/* Modal Content Box */
118.modal-content {
119 background-color: #fefefe;
120 margin: auto;
121 padding: 20px;
122 border-radius: 8px;
123 width: 300px;
124 box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
125 text-align: center;
126 position: relative;
127}
128
129.close {
130 position: absolute;
131 top: 10px;
132 right: 15px;
133 color: #aaa;
134 font-size: 24px;
135 font-weight: bold;
136 cursor: pointer;
137}
138
139.close:hover,
140.close:focus {
141 color: #000;
142 text-decoration: none;
143 cursor: pointer;
144}
145
146/* Modal Heading */
147h2 {
148 margin-bottom: 15px;
149 font-size: 20px;
150}
151
152/* Input Field */
153#userInput {
154 width: 100%;
155 padding: 8px;
156 margin-bottom: 15px;
157 border: 1px solid #ccc;
158 border-radius: 4px;
159 box-sizing: border-box;
160}
161
162/* Buttons */
163.buttons {
164 display: flex;
165 justify-content: space-between;
166}
167
168.buttons button {
169 width: 48%;
170 padding: 10px;
171 border: none;
172 border-radius: 4px;
173 cursor: pointer;
174 font-size: 16px;
175}
176
177#cancelBtn {
178 background-color: #f44336;
179 color: white;
180}
181
182#approveBtn {
183 background-color: #4CAF50;
184 color: white;
185}
186
187.buttons button:hover {
188 opacity: 0.8;
189}
Note: See TracBrowser for help on using the repository browser.