2018-10-31 14:05:35 -07:00
|
|
|
@import '~styles/variables.less';
|
2019-02-01 11:13:30 -08:00
|
|
|
@max-width: 1280px;
|
2018-09-22 09:44:55 -07:00
|
|
|
@collapse-width: 1100px;
|
|
|
|
@single-col-width: 600px;
|
2018-10-01 09:29:36 -07:00
|
|
|
@block-title-space: 3.75rem;
|
2018-09-22 09:44:55 -07:00
|
|
|
|
2019-02-01 11:13:30 -08:00
|
|
|
|
2018-09-22 09:44:55 -07:00
|
|
|
.Proposal {
|
2019-02-01 11:13:30 -08:00
|
|
|
max-width: @max-width;
|
2018-09-22 09:44:55 -07:00
|
|
|
margin: 0 auto;
|
|
|
|
|
2019-01-09 10:23:08 -08:00
|
|
|
&-banner {
|
2019-02-01 11:13:30 -08:00
|
|
|
width: 100vw;
|
|
|
|
position: relative;
|
|
|
|
left: 50%;
|
|
|
|
right: 50%;
|
|
|
|
margin: -@template-space-top -50vw 1rem;
|
2019-01-09 10:23:08 -08:00
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
.ant-alert {
|
2019-02-01 11:13:30 -08:00
|
|
|
padding: 1rem;
|
2019-01-09 10:23:08 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-09-22 09:44:55 -07:00
|
|
|
&-top {
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
margin-bottom: 2rem;
|
|
|
|
|
|
|
|
@media (max-width: @collapse-width) {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2018-10-01 09:29:36 -07:00
|
|
|
&-social {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
margin-top: @block-title-space;
|
|
|
|
margin-right: 0.5em;
|
|
|
|
margin-left: -1rem;
|
|
|
|
font-size: 1.1rem;
|
|
|
|
|
|
|
|
@media (max-width: @collapse-width) {
|
|
|
|
position: absolute;
|
2018-10-18 18:30:48 -07:00
|
|
|
font-size: 1.5em;
|
|
|
|
margin-left: -1.8rem;
|
|
|
|
margin-top: @block-title-space + 1rem;
|
|
|
|
padding: 0.2rem 0.5rem 0;
|
|
|
|
background: #ffffff;
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
border-radius: 4px;
|
|
|
|
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(0, 0, 0, 0.1);
|
|
|
|
z-index: 1;
|
2018-10-01 09:29:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-09-22 09:44:55 -07:00
|
|
|
&-main {
|
2018-09-25 12:41:47 -07:00
|
|
|
position: relative;
|
2018-09-22 09:44:55 -07:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
width: calc(100% - 19rem);
|
|
|
|
margin-right: 1.5rem;
|
|
|
|
|
|
|
|
@media (max-width: @collapse-width) {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-title {
|
|
|
|
font-size: 2rem;
|
|
|
|
line-height: 3rem;
|
|
|
|
margin-bottom: 0.75rem;
|
|
|
|
margin-left: 0.5rem;
|
|
|
|
|
|
|
|
@media (min-width: @collapse-width) {
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: @collapse-width) {
|
|
|
|
font-size: 1.8rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: @single-col-width) {
|
|
|
|
font-size: 1.6rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// shared
|
|
|
|
&-block {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
position: relative;
|
|
|
|
padding: 1.5rem;
|
2019-02-01 11:13:30 -08:00
|
|
|
margin-bottom: 0.8rem;
|
2018-09-22 09:44:55 -07:00
|
|
|
border-radius: 4px;
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(0, 0, 0, 0.1);
|
2018-09-25 12:52:08 -07:00
|
|
|
overflow: hidden;
|
2018-09-22 09:44:55 -07:00
|
|
|
|
|
|
|
// shared
|
|
|
|
&-title {
|
2019-02-01 11:13:30 -08:00
|
|
|
font-size: 1.4rem;
|
|
|
|
line-height: 2rem;
|
|
|
|
margin-top: 1.2rem;
|
2018-09-22 09:44:55 -07:00
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
margin-left: 0.5rem;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-bodyText {
|
2018-09-25 12:52:08 -07:00
|
|
|
flex-grow: 1;
|
|
|
|
flex-basis: 0;
|
2018-09-22 09:44:55 -07:00
|
|
|
overflow: hidden;
|
|
|
|
font-size: 1.1rem;
|
|
|
|
|
2018-10-16 13:18:12 -07:00
|
|
|
@media (max-width: @collapse-width) {
|
|
|
|
flex-basis: auto;
|
|
|
|
max-height: 300px;
|
|
|
|
}
|
|
|
|
|
2018-09-22 09:44:55 -07:00
|
|
|
&.is-expanded {
|
2018-09-25 12:52:08 -07:00
|
|
|
overflow: visible;
|
|
|
|
flex-basis: auto;
|
2018-10-16 13:18:12 -07:00
|
|
|
max-height: none;
|
2018-09-22 09:44:55 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-bodyExpand {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
height: 120px;
|
|
|
|
border-radius: 4px;
|
|
|
|
line-height: 160px;
|
|
|
|
text-align: center;
|
|
|
|
background: linear-gradient(
|
|
|
|
to bottom,
|
|
|
|
rgba(255, 255, 255, 0),
|
|
|
|
rgba(255, 255, 255, 1),
|
|
|
|
rgba(255, 255, 255, 1)
|
|
|
|
);
|
|
|
|
outline: none;
|
2018-10-31 14:05:35 -07:00
|
|
|
color: rgba(@primary-color, 0.8);
|
2018-09-22 09:44:55 -07:00
|
|
|
cursor: pointer;
|
|
|
|
transition: color 100ms ease;
|
|
|
|
|
|
|
|
&:hover {
|
2018-10-31 14:05:35 -07:00
|
|
|
color: rgba(@primary-color, 1);
|
2018-09-22 09:44:55 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-09-25 12:41:47 -07:00
|
|
|
|
|
|
|
&-menu {
|
|
|
|
position: absolute;
|
2018-10-16 13:18:12 -07:00
|
|
|
top: 1.5rem;
|
2018-09-25 12:41:47 -07:00
|
|
|
right: 0;
|
2018-10-16 13:18:12 -07:00
|
|
|
transform: translateY(-50%);
|
2018-09-25 12:41:47 -07:00
|
|
|
}
|
2018-09-22 09:44:55 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
&-side {
|
|
|
|
width: 19rem;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
@media (max-width: @collapse-width) {
|
|
|
|
width: 100%;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
2019-02-01 11:13:30 -08:00
|
|
|
flex-wrap: wrap;
|
2018-09-22 09:44:55 -07:00
|
|
|
|
|
|
|
> * {
|
2018-10-16 13:18:12 -07:00
|
|
|
width: 50%;
|
2018-09-22 09:44:55 -07:00
|
|
|
|
2019-02-01 11:13:30 -08:00
|
|
|
&:first-child {
|
|
|
|
width: 100%;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
width: calc(50% - 1rem);
|
|
|
|
margin-left: 1rem;
|
|
|
|
}
|
2018-09-22 09:44:55 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: @single-col-width) {
|
|
|
|
flex-direction: column;
|
|
|
|
|
2018-10-16 13:18:12 -07:00
|
|
|
> * {
|
2019-02-01 11:13:30 -08:00
|
|
|
&,
|
|
|
|
&:first-child,
|
|
|
|
&:last-child {
|
|
|
|
width: auto;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2018-09-22 09:44:55 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// shared
|
|
|
|
&-block {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
> *:last-child {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-02-04 14:39:46 -08:00
|
|
|
|
|
|
|
&-bottom {
|
|
|
|
min-height: 400px;
|
|
|
|
}
|
2018-09-22 09:44:55 -07:00
|
|
|
}
|