source: src/main/resources/static/css/users-view.css@ 743de55

Last change on this file since 743de55 was 743de55, checked in by macagaso <gasoskamarija@…>, 6 weeks ago

Initial commit

  • Property mode set to 100644
File size: 2.9 KB
Line 
1/* General reset */
2* {
3 margin: 0;
4 padding: 0;
5 box-sizing: border-box;
6}
7
8/* Styling for the entire page */
9body {
10 font-family: Arial, sans-serif;
11 background-color: #f4f4f9;
12 color: #333;
13 line-height: 1.6;
14 padding: 20px;
15}
16h2{
17 font-size: 20px;
18 display: block;
19 width: 60%;
20}
21
22/* Frame that contains the whole content */
23#frame {
24 width: 80%;
25 margin: 0 auto;
26 background-color: #fff;
27 border-radius: 10px;
28 box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
29 padding: 20px;
30}
31
32/* Header section */
33#header-part {
34 display: flex;
35 justify-content: space-between;
36 align-items: center;
37 padding-bottom: 20px;
38 border-bottom: 1px solid #ccc;
39}
40
41/* Dropdown and labels styling */
42label {
43 font-weight: bold;
44 margin-right: 10px;
45 font-size: 14px;
46}
47
48select {
49 padding: 8px 12px;
50 border-radius: 5px;
51 border: 1px solid #ccc;
52 font-size: 14px;
53 cursor: pointer;
54 background-color: #fff;
55 transition: all 0.3s;
56}
57
58select:hover {
59 border-color: #007bff;
60}
61
62/* Main part: the table */
63#main-part {
64 margin-top: 20px;
65}
66
67#users-table {
68 width: 100%;
69 border-collapse: collapse;
70 table-layout: fixed;
71}
72
73#users-table th, #users-table td {
74 text-align: center;
75 border: 1px solid #ddd;
76 padding: 12px;
77}
78
79#users-table th {
80 background-color: #007bff;
81 color: #fff;
82 font-weight: bold;
83
84}
85
86#users-table td {
87 background-color: #f9f9f9;
88}
89
90#users-table tr:nth-child(even) td {
91 background-color: #f1f1f1;
92}
93
94#users-table tr:hover td {
95 background-color: #e9ecef;
96}
97
98/* For responsiveness */
99@media (max-width: 768px) {
100 #header-part {
101 flex-direction: column;
102 align-items: flex-start;
103 }
104
105 select {
106 width: 100%;
107 margin-top: 10px;
108 }
109}
110#search-input-container {
111 display: none;
112}
113/*.news-item{*/
114/* display: flex; !* Aligns image and text in a row *!*/
115/* !*flex-direction: column; !* Change to 'row' for horizontal layout *!*!*/
116/* width: 300px;*/
117/* align-items: center;*/
118/* justify-content: center;*/
119/* max-width: 800px; !* Limit max width to prevent stretching *!*/
120/* margin: 0 auto; !* Centers the container *!*/
121/* padding: 20px;*/
122/* border: 1px solid #ddd; !* Optional: Adds a border *!*/
123/* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
124/*}*/
125/*img{*/
126/* width: 100%; !* Make image responsive *!*/
127/* max-width: 400px; !* Set a maximum width for the image *!*/
128/* height: auto; !* Maintain aspect ratio *!*/
129/* border-radius: 10px; !* Optional: Adds rounded corners *!*/
130/* margin-bottom: 15px;*/
131/*}*/
132/*p{*/
133/* font-size: 1.2rem;*/
134/* line-height: 1.5;*/
135/* text-align: center; !* Center the text *!*/
136/* color: #333;*/
137/* margin: 0;*/
138/*}*/
139/*@media (max-width: 768px) {*/
140/* .news-item {*/
141/* flex-direction: column; !* Stack elements on smaller screens *!*/
142/* }*/
143/*}*/
Note: See TracBrowser for help on using the repository browser.