You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
115 lines
1.8 KiB
115 lines
1.8 KiB
import styled, { css } from 'styled-components/macro'
|
|
|
|
import { isMobileDevice } from 'config/userAgent'
|
|
|
|
export const ScWrapper = styled.div`
|
|
max-width: 560px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
color: #FFFFFF;
|
|
padding: 0 80px 0 40px;
|
|
|
|
${isMobileDevice
|
|
? css`
|
|
padding: 5px;
|
|
`
|
|
: ''};
|
|
`
|
|
export const ScInfoBlock = styled.div`
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
height: 186px;
|
|
|
|
${isMobileDevice
|
|
? css`
|
|
height: auto;
|
|
justify-content: start;
|
|
|
|
> * {
|
|
margin-bottom: 10px;
|
|
}
|
|
`
|
|
: ''};
|
|
`
|
|
|
|
export const ScTitle = styled.span`
|
|
font-weight: 700;
|
|
font-size: 34px;
|
|
line-height: 40px;
|
|
|
|
${isMobileDevice
|
|
? css`
|
|
font-size: 13px;
|
|
line-height: 150%;
|
|
`
|
|
: ''};
|
|
|
|
/* margin-bottom: 15px; */
|
|
`
|
|
|
|
export const ScText = styled.div`
|
|
font-weight: 400;
|
|
font-size: 16px;
|
|
line-height: 28px;
|
|
|
|
${isMobileDevice
|
|
? css`
|
|
font-size: 9px;
|
|
line-height: 150%;
|
|
`
|
|
: ''};
|
|
`
|
|
|
|
export const ScInfoWrap = styled.div`
|
|
display: flex;
|
|
flex-direction: row;
|
|
`
|
|
|
|
export const ScInputGroup = styled.div`
|
|
|
|
.Search__input {
|
|
transform: translateY(50%);
|
|
}
|
|
`
|
|
export const ScForm = styled.form`
|
|
width: 100%;
|
|
max-width: 560px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
${isMobileDevice
|
|
? css`
|
|
`
|
|
: ''};
|
|
|
|
& ul {
|
|
max-height: 200px;
|
|
}
|
|
& input {
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.FormHighlights__input__duration {
|
|
& input {
|
|
max-width: 40px;
|
|
}
|
|
}
|
|
|
|
.FormHighlights__input__sound {
|
|
& input {
|
|
margin-left: 25px;
|
|
|
|
${isMobileDevice
|
|
? css`
|
|
margin-left: 10px;
|
|
`
|
|
: ''};
|
|
}
|
|
}
|
|
|
|
${isMobileDevice
|
|
? css`
|
|
max-width: 100%;
|
|
`
|
|
: ''};
|
|
`
|
|
|