aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/styles.css
blob: 6bb6970c5a36f66e2456cf9a3f5c8d235ce44ef4 (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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
/* 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: #3a3a3a; /* color of cards and buttons*/
    --tertiary-color: #2e2e2e; /* color of dark cards */
    --foreground-color: #ffffff; /* used on text */
    --highlight-color: #60a9f3; /* accent color */
    --dark-highlight-clor: #002846; /* not used currently */
    --hover-color: #323c4e; /* hover color for cards and buttons*/
    --opacity-cr: 0;
    --opacity-jf: 1;

    /* Experimental blue dark theme:
    --secondary-color: #19212e;
    --tertiary-color: #121722;
    --foreground-color: #ffffff;
    --highlight-color: #6091e8;
    --dark-highlight-clor: #002846;
    --hover-color: #192940;
     */
}

: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: 14pt;
    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;
    cursor: pointer;

    &:disabled {
        pointer-events: none;
    }

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

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

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

.button2 {
    text-transform: uppercase;
    border: 1px 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%;
}

a {
    color: var(--highlight-color);
}