custom.scss 3.13 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

@font-face {
    font-family: "Plex-Bold";
Daeki Yoon's avatar
Daeki Yoon committed
18
    src: local('../fonts/IBMPlexSansKR-Bold.ttf');
Kim, Subin's avatar
Kim, Subin committed
19
20
21
22
}

@font-face {
    font-family: "Plex-SemiBold";
Daeki Yoon's avatar
Daeki Yoon committed
23
    src: local("../fonts/IBMPlexSansKR-SemiBold.ttf");
Kim, Subin's avatar
Kim, Subin committed
24
25
26
27
}

@font-face {
    font-family: "Plex-Medi";
Daeki Yoon's avatar
Daeki Yoon committed
28
    src: local("../fonts/IBMPlexSansKR-Medium.ttf");
Kim, Subin's avatar
Kim, Subin committed
29
30
31
32
}

@font-face {
    font-family: "Plex-Reg";
Daeki Yoon's avatar
Daeki Yoon committed
33
    src: local("../fonts/IBMPlexSansKR-Regular.ttf");
Kim, Subin's avatar
Kim, Subin committed
34
35
36
37
}

@font-face {
    font-family: "Plex-Light";
Daeki Yoon's avatar
Daeki Yoon committed
38
    src: local("../fonts/IBMPlexSansKR-Light.ttf");
Kim, Subin's avatar
Kim, Subin committed
39
40
41
42
}

@font-face {
    font-family: "Plex-ExtraLight";
Daeki Yoon's avatar
Daeki Yoon committed
43
    src: local("../fonts/IBMPlexSansKR-ExtraLight.ttf");
Kim, Subin's avatar
Kim, Subin committed
44
45
46
47
}

@font-face {
    font-family: "Plex-Text";
Daeki Yoon's avatar
Daeki Yoon committed
48
    src: local("../fonts/IBMPlexSansKR-Text.ttf");
Kim, Subin's avatar
Kim, Subin committed
49
50
}

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
    & .fc-daygrid-day-top {
        flex-direction: row !important;
Kim, Subin's avatar
Kim, Subin committed
119
120
121
122

        & .fc-daygrid-day-number {
            cursor: pointer;
        }
Kim, Subin's avatar
Kim, Subin committed
123
124
    }

Kim, Subin's avatar
Monthly    
Kim, Subin committed
125
126
127
128
    & .fc-day-today {
        background-color: #fff !important;

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

    & .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
147

Kim, Subin's avatar
more    
Kim, Subin committed
148
149
150
151
    & .fc-more-popover {
        display: none;
    }

Kim, Subin's avatar
Kim, Subin committed
152
153
154
    & .fc-dayGridDay-view {
        display: none;
    }
Kim, Subin's avatar
Kim, Subin committed
155
156
157
158
159
160
161

    & .text {
        font-family: "Plex-Text";

        & .fc-event-title {
            display: block;
            text-overflow: ellipsis;
Kim, Subin's avatar
more    
Kim, Subin committed
162
163
            height: 15px;
            padding: 0;
Kim, Subin's avatar
Kim, Subin committed
164
165
        }
    }
166
167
168
169
170
171

    & .first {
        border-color: #EE8DA0;
        background-color: #EE8DA0;
        color: #fff;
    }
Choi Ga Young's avatar
Choi Ga Young committed
172
173
174
175
176
177

    & .indi {
        border-color: #81A2DB;
        background-color: #81A2DB;
        color: #fff;
    }
Daeki Yoon's avatar
Daeki Yoon committed
178
}