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:
778 bytes
|
Line | |
---|
1 | import styled from 'styled-components';
|
---|
2 | import backgroundImage from '../../resources/login_background.jpg';
|
---|
3 | import backgroundAsphalt from '../../resources/asphalt_texture1.jfif';
|
---|
4 | import { mobile_max_width } from '../../config/utilities';
|
---|
5 |
|
---|
6 | export const ScreenWrapper = styled.div`
|
---|
7 | width: 100%;
|
---|
8 | height: 100%;
|
---|
9 | text-align: center;
|
---|
10 | padding-top: 8vh;
|
---|
11 | `;
|
---|
12 |
|
---|
13 | export const Wrapper = styled.div`
|
---|
14 | width: 100%;
|
---|
15 | min-height: 100vh;
|
---|
16 | // background-color: ${(props) =>
|
---|
17 | props.theme.palette.background.whiteSmoke};
|
---|
18 | background-image: url(${(props) =>
|
---|
19 | props.asphaltBg ? backgroundAsphalt : backgroundImage});
|
---|
20 | position: relative;
|
---|
21 |
|
---|
22 | @media (min-width: ${mobile_max_width}px) {
|
---|
23 | width: ${mobile_max_width}px;
|
---|
24 | height: 750px;
|
---|
25 | min-height: 0;
|
---|
26 | margin: auto;
|
---|
27 | }
|
---|
28 | `;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.