aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/styles.css
blob: 82db502539c776453877b7a7283628842f363d71 (plain) (blame)
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
86
87
88
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
/* You can add global styles to this file, and also import other style files */

* {
    box-sizing: border-box;
    transition: color, background-color ease-in-out .1s;
}

[theme="light"] {
    color-scheme: light;
    --background-color: #e6e4df;
    --secondary-color: #d7d1c7;
    --tertiary-color: #e0dcd4;
    --foreground-color: #000000;
    --highlight-color: #cf9451;
    --dark-highlight-clor: #582f00;
    --hover-color: #d8cdc0;
    --opacity-cr: 1;
    --opacity-jf: 0;
}

[theme="dark"] {
    color-scheme: dark;
    --background-color: #000715;
    --secondary-color: #444444; /* color of cards and buttons*/
    --tertiary-color: #3a3a3a; /* color of dark cards */
    --foreground-color: #ffffff; /* used on text */
    --highlight-color: #6091e8; /* accent color */
    --dark-highlight-clor: #002846; /* not used currently */
    --hover-color: #394559; /* hover color for cards and buttons*/
    --opacity-cr: 0;
    --opacity-jf: 1;
}

:root {
    --background-hover: color-mix(in oklch, var(--background-color) 60%,  var(--hover-color) 40%);
}

html, body {
    margin: 0;
    height: 100%;
    background-color: var(--background-color);
    color: var(--foreground-color);
}

body {
    font-family: Inter, sans-serif;
    font-optical-sizing: auto;
}

input, textarea, select {
    resize: none;
    font-family: Inter, sans-serif;
    font-size: 14pt;
    padding: 5px;
    border-radius: 5px;
    border-style: solid;
    border-width: 1px;
    background-color: var(--secondary-color);

    &:hover {
        background-color: var(--hover-color);
    }

    &.sort-scheme {
        background-color: transparent;
        border-color: var(--secondary-color);

        &:hover {
            background-color: var(--background-hover);
        }
    }
}

button, input[type=button], input[type=reset], input[type=submit], .button {
    font-size: 12pt;
    padding: 6px 16px;
    border-radius: 9999px;
    border-style: none;
    /*font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
    background-color: var(--secondary-color);
    display: flex;
    gap: 5px;
    text-align: center;
    justify-content: center;
    align-items: center;

    &:hover {
        background-color: var(--hover-color);
    }

    &.sort-scheme {
        background-color: transparent;

        &:hover {
            background-color: var(--background-hover);
        }
    }
}

.button2 {
    /* text-transform: uppercase; */
    border: 3px solid var(--highlight-color);
    padding: 10px 25px;
    /*font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
    font-size: 12pt;
    font-weight: 700;
    background-color: transparent;
    text-shadow: var(--highlight-color) 0 0 50px;

    &:hover {
        background-color: var(--background-hover) !important;
    }
}

.icon {
    font-family: 'Material Symbols Outlined'
}

h1 {
    font-size: 40px;
}

progress {
    min-width: 100%;
}