summaryrefslogtreecommitdiff
path: root/server/web/src/design/components/Footer.design.tsx
blob: a5cf5862e3b90bf0ee16b9afb4516754fea88f9d (plain)
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
import { IFooterDropdownContent } from '../../interfaces/design/FooterDesign.interface';
import styled from 'styled-components';

export const FooterDropdown = styled('div')`
    border-top: solid thin rgb(31, 93, 117);
    background-color: rgb(5, 32, 58);
    width: calc(100% - 1.2rem);
    text-align: center;
    position: fixed;
    bottom: 4.45rem;
    left: 0;
`;

export const FooterDropdownToggle = styled('div')`
    background-color: rgb(5, 32, 58);
    color: rgb(0, 255, 255);
    padding: 0.25rem 0;
    cursor: pointer;
`;

export const FooterWindowManager = styled('div')`
    border-top: solid thin rgb(31, 93, 117);
    background-color: rgb(5, 32, 58);
    width: calc(100% - 1.2rem);
    color: rgb(255, 255, 255);
    -ms-overflow-style: none;
    scrollbar-width: none;
    white-space: nowrap;
    text-align: center;
    overflow-x: scroll;
    overflow-y: hidden;
    position: fixed;
    height: 3.25rem;
    bottom: 1.2rem;
    left: 0;
`;

export const FooterWindowButton = styled('button')`
    border: solid thin rgb(31, 93, 117);
    background-color: rgb(5, 32, 58);
    margin: 0.578125rem 0.15rem;
    color: rgb(255, 255, 255);
    padding: 0.5rem 1.5rem;
    border-radius: 5rem;
    transition: 250ms;
`;

export const FooterWindowClear = styled('button')`
    border: solid thin rgb(225, 53, 57);
    background-color: rgb(5, 32, 58);
    margin: 0.578125rem 0.15rem;
    color: rgb(255, 255, 255);
    padding: 0.5rem 1.5rem;
    border-radius: 5rem;
    transition: 250ms;
`;

export const FooterBlock = styled('div')`
    background-color: rgb(5, 32, 58);
    color: rgb(255, 255, 255);
    margin: 1.1875rem 0;
`;

export const FooterDropdownContent = styled('div') <IFooterDropdownContent>`
    background-color: rgb(5, 32, 58);
    overflow-y: scroll;
    transition: 250ms;
    padding: 0;
    height: 0;

    ${({ active }: any) =>
        active &&
        `
        border-top: solid thin rgb(31, 93, 117);
        padding: 0.5rem 0;
        transition: 250ms;
        height: 9.2rem;

        @media (min-width: 1280px) {
            height: 7.2rem;
        }

        @media (min-width: 2000px) {
            height: 5.2rem;
        }
    `}
`;

export const FooterNameSpaceButton = styled('button')`
    border: solid thin rgb(225, 53, 57);
    background-color: rgb(225, 53, 57);
    color: rgb(255, 255, 255);
    padding: 0.4rem 1rem;
    border-radius: 5rem;
    transition: none;
    cursor: text;
    
    :active {
        transform: none;
        transition: none;
    }
`;

export const FooterDropdownButton = styled('button')`
    background-color: rgb(31, 93, 117);
    color: rgb(255, 255, 255);
    border: rgb(31, 93, 117);
    padding: 0.4rem 1rem;
    border-radius: 5rem;
    margin: 0.15rem;
`;

export const FooterMenu = styled('div')`
    border-top: solid thin rgb(31, 93, 117);
    background-color: rgb(5, 32, 58);
    width: calc(100% - 1.2rem);
    color: rgb(255, 255, 255);
    position: fixed;
    height: 1.2rem;
    bottom: 0;
    left: 0;
`;

export const FooterParagraph = styled('p')`
    text-overflow: ellipsis;
    padding-top: 0.15rem;
    white-space: nowrap;
    font-size: 0.75rem;
    overflow: hidden;
    height: 1.2rem;
    margin-top: 0;
`;