aboutsummaryrefslogtreecommitdiffstats
path: root/public/css/students.css
blob: f61f2da6d0678913ee109cae4eb5c2aea075aac2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
/* Students pages styles */

.students-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5em;
}

/* Filter form */
.students-filter {
    background: white;
    padding: 1em;
    border-radius: 8px;
    margin-bottom: 1.5em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.students-filter form {
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
    align-items: flex-end;
    margin: 0;
}

.students-filter label {
    margin-bottom: 0.25em;
}

.students-filter select {
    margin-bottom: 0;
    width: auto;
    min-width: 150px;
}

/* Student card */
.student-card {
    background: white;
    padding: 1.5em;
    border-radius: 8px;
    margin-bottom: 1em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.student-info {
    margin: 1em 0;
}

/* Points section */
.student-points {
    background: #f8f8f8;
    padding: 1em;
    border-radius: 4px;
    margin: 1.5em 0;
    text-align: center;
}

.student-points .points-value {
    font-size: 2em;
    font-weight: bold;
    color: #28a745;
}

.student-points form {
    display: flex;
    gap: 0.5em;
    justify-content: center;
    margin-top: 1em;
}

.student-points input {
    width: 100px;
    margin-bottom: 0;
}

/* Details */
.student-details {
    margin: 1.5em 0;
}

.student-details p {
    margin: 0.5em 0;
}

/* Sections */
.student-section {
    margin-top: 2em;
}

.student-section h2 {
    margin-bottom: 1em;
    padding-bottom: 0.5em;
    border-bottom: 1px solid #eee;
}

/* Lesson/Activity items */
.student-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75em 0;
    border-bottom: 1px solid #eee;
}

.student-item:last-child {
    border-bottom: none;
}

.attendance-present {
    color: #28a745;
}

.attendance-absent {
    color: #dc3545;
}

.points-badge {
    background: #28a745;
    color: white;
    padding: 0.25em 0.5em;
    border-radius: 4px;
    font-size: 0.875em;
}