summaryrefslogtreecommitdiff
path: root/public/css/calendar.css
blob: 314a5ada68106d0679d074efb8c4b1022dc3cb9a (plain)
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
/* !important est nécessaire pour écraser le CSS inséré par le javascript de fullcalendar */

.event{
    border: 2px double;
    border-radius: 5px;
    width: max-content;
    max-width: 250px;
    padding: 5px;
}
#calendar_zone{
    display: flex;
    gap: 5px;
    padding: 15px;
    max-width: 1170px;
}
#calendar{
    width: 1165px; /* on enlève le "gap" */
}
#event_modal{}
.event_title_box{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.event_close_button{
    /*height: fit-content;*/
}
.fc-toolbar-title{
    /*font-size: x-large !important;*/
}
.fc-button{
    padding: 0.2em 0.4em !important;
}
td .fc-timegrid-axis{
    font-size: small;
    text-align: center;
}
.fc-day-other{
    background-color: #f0f0f0;
}
.fc-daygrid-day:not(.fc-day-other, .fc-day-today){
    background-color: #ffffff;
}

.fc-daygrid-day-top{
    justify-content: center;
}
.fc-day-today .fc-daygrid-day-number{ /* vue mois */
    color: white;
    background-color: #00679e;
    border-radius: 5px;
    height: 27px;
    aspect-ratio: 1 / 1;
    text-align: center;
}
.fc-day-today .fc-col-header-cell-cushion{ /* vue semaine */
    color: white;
    background-color: #00679e;
    border-radius: 5px;
}

@media screen and (max-width: 900px){
    #calendar_zone{
        padding: 0;
    }
    .fc-toolbar-title{
        /*font-size: large !important;*/
    }
    .fc-header-toolbar{
        font-size: smaller;
    }
    h3, p, .event > button{
        font-size: smaller;
    }
}
@media screen and (max-width: 650px){
    .fc-header-toolbar{
        font-size: small;
    }
    .fc-toolbar-title{
        font-size: 1.5em !important; /* au lieu de 1.75em */
    }
}
@media screen and (max-width: 550px){
}