custom.scss 3.01 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
    & .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;
    }
Kim, Subin's avatar
Kim, Subin committed
172
}