Last change
on this file was bc20307, checked in by Tasevski2 <39170279+Tasevski2@…>, 3 years ago |
Push before video
|
-
Property mode
set to
100644
|
File size:
1.8 KB
|
Line | |
---|
1 | import styled from 'styled-components';
|
---|
2 | import { Typography, Divider } from '@mui/material';
|
---|
3 | import { Link } from 'react-router-dom';
|
---|
4 |
|
---|
5 | export const Wrapper = styled.div`
|
---|
6 | width: 100%;
|
---|
7 | height: 290px;
|
---|
8 | padding: 10px 20px;
|
---|
9 | border: 1px solid ${(props) => props.theme.palette.background.shadow};
|
---|
10 | box-shadow: 15px 8px 10px ${(props) => props.theme.palette.background.shadow};
|
---|
11 | `;
|
---|
12 |
|
---|
13 | export const Title = styled(Typography).attrs({
|
---|
14 | variant: 'h4',
|
---|
15 | textAlign: 'center',
|
---|
16 | marginBottom: '10px',
|
---|
17 | fontSize: '1.7rem',
|
---|
18 | fontWeight: 500,
|
---|
19 | })``;
|
---|
20 |
|
---|
21 | export const DividerUnderTitle = styled(Divider).attrs({
|
---|
22 | sx: {
|
---|
23 | borderBottomWidth: '2px',
|
---|
24 | },
|
---|
25 | })``;
|
---|
26 |
|
---|
27 | export const TableWrapper = styled.div`
|
---|
28 | width: 80%;
|
---|
29 | margin: auto;
|
---|
30 | text-align: center;
|
---|
31 | margin-top: 15px;
|
---|
32 | table {
|
---|
33 | border-spacing: 0;
|
---|
34 | border: 1px solid black;
|
---|
35 | border-bottom: 0;
|
---|
36 | word-break: break-all;
|
---|
37 | font-size: 1.2rem;
|
---|
38 | }
|
---|
39 |
|
---|
40 | table tbody {
|
---|
41 | display: block;
|
---|
42 | max-height: 160px;
|
---|
43 | overflow-y: auto;
|
---|
44 | }
|
---|
45 | tbody::-webkit-scrollbar {
|
---|
46 | display: none;
|
---|
47 | }
|
---|
48 | table thead,
|
---|
49 | table tbody tr {
|
---|
50 | display: table;
|
---|
51 | width: 100%;
|
---|
52 | table-layout: fixed;
|
---|
53 | }
|
---|
54 | th:last-of-type {
|
---|
55 | width: 23%;
|
---|
56 | }
|
---|
57 |
|
---|
58 | th,
|
---|
59 | td {
|
---|
60 | padding: 10px 5px;
|
---|
61 | }
|
---|
62 | th {
|
---|
63 | border-bottom: 2px solid black;
|
---|
64 | border-left: 2px solid black;
|
---|
65 | :first-of-type {
|
---|
66 | border-left: 0;
|
---|
67 | }
|
---|
68 | }
|
---|
69 | td {
|
---|
70 | border-left: 2px solid black;
|
---|
71 | border-bottom: 1px solid black;
|
---|
72 | }
|
---|
73 | tr td:first-of-type {
|
---|
74 | border-left: 0;
|
---|
75 | }
|
---|
76 | tr td:last-of-type {
|
---|
77 | width: 23%;
|
---|
78 | padding-bottom: 0;
|
---|
79 | }
|
---|
80 | tr:last-of-type td {
|
---|
81 | border-bottom: 0;
|
---|
82 | }
|
---|
83 | `;
|
---|
84 |
|
---|
85 | export const Elipsis = styled(Link)`
|
---|
86 | text-decoration: none;
|
---|
87 | font-size: 35px;
|
---|
88 | line-height: 0px;
|
---|
89 | font-weight: 900;
|
---|
90 | letter-spacing: 2px;
|
---|
91 | color: ${(props) => props.theme.palette.third.main};
|
---|
92 |
|
---|
93 | :hover {
|
---|
94 | cursor: pointer;
|
---|
95 | }
|
---|
96 | `;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.