- Timestamp:
- 02/14/22 01:41:41 (2 years ago)
- Branches:
- master
- Children:
- 747e0ab
- Parents:
- e8b1076
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sources/client/src/components/admin/ParkingZoneSessions/styles.js
re8b1076 rbc20307 1 1 import styled from 'styled-components'; 2 2 import { Typography } from '@mui/material'; 3 import TextField from '@mui/material/TextField'; 4 import SIcon from '@mui/icons-material/Search'; 5 6 import { mobile_max_width } from '../../../config/utilities'; 3 7 4 8 export const Wrapper = styled.div` … … 6 10 flex-direction: column; 7 11 align-items: center; 8 margin: 0; 9 padding: 30px 175px 0 175px; 12 padding: 30px 12% 0 12%; 10 13 width: 100%; 14 max-width: 1440px; 15 margin: auto; 11 16 height: 100%; 12 17 `; … … 20 25 -webkit-background-clip: text; 21 26 -webkit-text-fill-color: transparent; 27 text-align: center; 22 28 `; 23 29 … … 28 34 justify-content: space-between; 29 35 margin: 30px 0 10px 0; 36 37 @media (max-width: ${mobile_max_width}px) { 38 flex-direction: column; 39 } 30 40 `; 31 41 … … 33 43 display: flex; 34 44 flex-direction: column; 45 align-items: center; 35 46 `; 36 47 … … 38 49 display: flex; 39 50 flex-direction: row; 40 width: 2 20px;51 width: 280px; 41 52 justify-content: space-between; 42 53 `; … … 47 58 -webkit-background-clip: text; 48 59 -webkit-text-fill-color: transparent; 60 font-size: 1.2rem; 49 61 `; 50 62 … … 52 64 margin: 0; 53 65 font-weight: 600; 54 font-size: 1. 2rem;66 font-size: 1.4rem; 55 67 background: -webkit-linear-gradient(#333333, #4cc5a3); 56 68 -webkit-background-clip: text; … … 58 70 `; 59 71 72 export const SearchField = styled(TextField).attrs({ 73 width: '150px', 74 sx: { 75 marginTop: '10px', 76 marginBottom: '20px', 77 }, 78 })` 79 border: 1px solid ${(props) => props.theme.palette.primary.main}; 80 border-radius: 5px; 81 fieldset { 82 border: 0; 83 } 84 input { 85 font-size: 1.1rem; 86 font-weight: 500; 87 padding: 15px 10px; 88 color: ${(props) => props.theme.palette.primary.main}; 89 } 90 `; 91 92 export const SearchIcon = styled(SIcon).attrs((props) => ({ 93 sx: { 94 fontSize: '2rem', 95 color: `rgba(0,173,124, 0.4)`, // primary.main in rgb with opacity 0.4 96 }, 97 }))``; 98 60 99 export const SessionsWrapper = styled.div` 61 height: 45vh; 100 height: auto; 101 min-height: 240px; 102 max-height: 380px; 62 103 width: 100%; 63 104 overflow: auto; 64 padding-top: 20px;65 66 105 > div:not(div:first-of-type) { 67 106 margin-top: 24px; 68 107 } 108 109 @media (max-width: ${mobile_max_width}px) { 110 max-height: 75vh; 111 padding-bottom: 10px; 112 } 69 113 `;
Note:
See TracChangeset
for help on using the changeset viewer.