custom.scss 2.57 KB
Newer Older
1
$crimson : #DC143C;
2

Kim, Subin's avatar
Kim, Subin committed
3
4
@import "../../node_modules/bootstrap/scss/functions";
@import "~bootstrap/scss/variables";
Kim, Subin's avatar
Kim, Subin committed
5
@import "~bootstrap/scss/mixins";
Kim, Subin's avatar
Kim, Subin committed
6

7
8
9
10
11
12
13
14
$custom-colors: (
    "crimson": $crimson
);
    
$theme-colors: map-merge($theme-colors, $custom-colors);

@import '~bootstrap/scss/bootstrap.scss';
@import '~bootstrap-icons/font/bootstrap-icons'; 
Kim, Subin's avatar
Kim, Subin committed
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

@font-face {
    font-family: "Plex-Bold";
    src: url("../fonts/IBMPlexSansKR-Bold.ttf");
}

@font-face {
    font-family: "Plex-SemiBold";
    src: url("../fonts/IBMPlexSansKR-SemiBold.ttf");
}

@font-face {
    font-family: "Plex-Medi";
    src: url("../fonts/IBMPlexSansKR-Medium.ttf");
}

@font-face {
    font-family: "Plex-Reg";
    src: url("../fonts/IBMPlexSansKR-Regular.ttf");
}

@font-face {
    font-family: "Plex-Light";
    src: url("../fonts/IBMPlexSansKR-Light.ttf");
}

@font-face {
    font-family: "Plex-ExtraLight";
    src: url("../fonts/IBMPlexSansKR-ExtraLight.ttf");
}

@font-face {
    font-family: "Plex-Text";
    src: url("../fonts/IBMPlexSansKR-Text.ttf");
}

51
h1, h2, h3, h4, h5, h6, label, select {
Kim, Subin's avatar
Kim, Subin committed
52
    font-family: "Plex-Bold";
Kim, Subin's avatar
Kim, Subin committed
53
54
}

Kim, Subin's avatar
Kim, Subin committed
55
input, label, textarea, p {
56
57
58
    font-family: "Plex-Text";
}

Kim, Subin's avatar
Kim, Subin committed
59
60
61
62
i {
    font-style: normal;
}

63
64
65
66
button {
    font-family: "Plex-Reg";
}

Kim, Subin's avatar
Kim, Subin committed
67
68
69
70
@include media-breakpoint-up(sm) {
    #box {
        width: 400px;
    }
Kim, Subin's avatar
Monthly    
Kim, Subin committed
71
72
73
}

.fc {
Kim, Subin's avatar
Kim, Subin committed
74
    padding-top: 1em;
Kim, Subin's avatar
Monthly    
Kim, Subin committed
75
76
77
78
79
    
    & a {
        text-decoration: none;
    }

Kim, Subin's avatar
Kim, Subin committed
80
    & thead, tbody, tfoot, tr, td, th {
Kim, Subin's avatar
Monthly    
Kim, Subin committed
81
        border-style: none;
Kim, Subin's avatar
Kim, Subin committed
82
83
84
85
86
87
88
89
90
91
92
    }

    & table {
        & thead {
            background-color: crimson;
            color: #fff;
        }
    }

    & .fc-header-toolbar {
        margin-bottom: 1em !important;
Kim, Subin's avatar
Monthly    
Kim, Subin committed
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
    }

    & .fc-prev-button, & .fc-next-button {
        background-color: #fff;
        border: 0;
        color: #000;

        &:focus {
            box-shadow: none;
        }
    }

    & .fc-myCustomButton-button {
        background-color: #fff;
        border: 0;
        color: #000;
        font-size: 1.4em;
        padding: 0;

        &:focus {
            box-shadow: none;
        }
    }

Kim, Subin's avatar
Kim, Subin committed
117
118
119
120
    & .fc-daygrid-day-top {
        flex-direction: row !important;
    }

Kim, Subin's avatar
Monthly    
Kim, Subin committed
121
122
123
124
    & .fc-day-today {
        background-color: #fff !important;

        & .fc-daygrid-day-number {
Kim, Subin's avatar
Kim, Subin committed
125
            border-radius: 40px;
Kim, Subin's avatar
Monthly    
Kim, Subin committed
126
127
            background-color: crimson;
            color: #fff;
Kim, Subin's avatar
Kim, Subin committed
128
            margin-top: 3px;
Kim, Subin's avatar
Monthly    
Kim, Subin committed
129
130
131
132
133
134
135
136
137
138
139
140
141
142
        }
    }

    & .fc-day-other {
        color: gray;
    }

    & td.fc-day-sat:not(.fc-day-other) {
        color: #0000FF;
    }

    & td.fc-day-sun:not(.fc-day-other) {
        color: #FF0000;
    }
Kim, Subin's avatar
Kim, Subin committed
143
144
145
146

    & .fc-dayGridDay-view {
        display: none;
    }
Kim, Subin's avatar
Kim, Subin committed
147
}