Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
giswqs
GitHub Repository: giswqs/geemap
Path: blob/master/js/styles.ts
2313 views
1
import { css } from "lit";
2
3
export const materialStyles = css`
4
@font-face {
5
font-family: "Material Symbols Outlined";
6
font-style: normal;
7
font-weight: 400;
8
src: url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v205/kJF1BvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oDMzByHX9rA6RzaxHMPdY43zj-jCxv3fzvRNU22ZXGJpEpjC_1v-p_4MrImHCIJIZrDCvHOejbd5zrDAt.woff2)
9
format("woff2");
10
}
11
12
.material-symbols-outlined {
13
-webkit-font-feature-settings: "liga";
14
-webkit-font-smoothing: antialiased;
15
direction: ltr;
16
display: inline-block;
17
font-family: "Material Symbols Outlined";
18
font-style: normal;
19
font-weight: normal;
20
letter-spacing: normal;
21
line-height: 1;
22
text-transform: none;
23
white-space: nowrap;
24
word-wrap: normal;
25
}
26
`;
27
28
export const flexStyles = css`
29
.vertical-flex {
30
display: flex;
31
flex-direction: column;
32
gap: 8px;
33
}
34
35
.horizontal-flex {
36
align-items: center;
37
display: flex;
38
flex-wrap: nowrap;
39
gap: 8px;
40
}
41
42
input:not([type="radio"]):not([type="checkbox"]) {
43
width: 100%;
44
}
45
46
select {
47
width: 100%;
48
}
49
50
.horizontal-flex .legacy-text {
51
flex-shrink: 0;
52
}
53
`;
54
55