custom.scss 2.38 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
59
60
61
62
    font-family: "Plex-Text";
}

button {
    font-family: "Plex-Reg";
}

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

.fc {
    margin-top: 1em;
    
    & a {
        text-decoration: none;
    }

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

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

    & .fc-header-toolbar {
        margin-bottom: 1em !important;
Kim, Subin's avatar
Monthly    
Kim, Subin committed
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
126
127
128
129
130
131
132
133
    }

    & .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;
        }
    }

    & .fc-day-today {
        background-color: #fff !important;

        & .fc-daygrid-day-number {
            border-radius: 13px;
            background-color: crimson;
            color: #fff;
        }
    }

    & .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
134
}