aboutsummaryrefslogtreecommitdiff
path: root/src/btn.css
blob: f02859fea8976de1e1d039edcd2d4b8399e32520 (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
div {
    width: 422px;
    right: 0;
    margin: 0 18px 18px 0;

    text-align: center;
    align-items: center;
    font-family: "Inter", "Helvetica neue", Helvetica, sans-serif;
    position: absolute;
    z-index: 9999;
    background: #f6f6f6;
    min-width: 230px;

    /* pass the scroll event through the btns background */
    pointer-events: none;
}

@media screen and (max-width: 950px) {
    div {
        width: auto !important;
    }
}

button {
    width: 178px !important;
    min-width: 178px;
    height: 40px;

    color: #fff;
    background: #2e68c0;

    cursor: pointer;
    pointer-events: auto;

    margin-bottom: 8px;
    margin-right: 8px;
    padding: 4px 12px;

    justify-content: start;
    align-self: center;

    font-size: 16px;
    border-radius: 6px;
    border: 0;

    display: inline-flex;
    position: relative;

    font-family: inherit;
}

/* fix `View in LibreScore` button text overflow */
button:last-of-type {
    width: unset !important;
}

button:hover {
    background: #1a4f9f;
}

/* light theme btn */
button.light {
    color: #2e68c0;
    background: #e1effe;
}

button.light:hover {
    background: #c3ddfd;
}

svg {
    display: inline-block;
    margin-right: 5px;
    width: 20px;
    height: 20px;
    margin-top: auto;
    margin-bottom: auto;
}

span {
    margin-top: auto;
    margin-bottom: auto;
}