gaf-mobile
Version:
GAF mobile Web site
432 lines (355 loc) • 7.93 kB
text/less
@import (reference) '../../themes/variables';
/* Project views */
// 1. Landscape styling media query
// 2. Sponsored Bid styles - needs design
// 1.
// @media all and (orientation:landscape) and (max-height: 640px) {
// .project {
// top: @secondary-header-height;
// }
// }
.project-views {
padding-top: @padding;
&-inner {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
&-with-padding {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
padding-bottom: 44px + @padding;
}
&-with-deepLink {
margin-top: 50px;
position: fixed;
padding-bottom: 160px;
}
&-with-nda {
padding-bottom: 50px;
&--deepLink {
padding-bottom: 216px;
}
}
&-with-success-nda, &-with-failed-milestone, &-hourly {
margin-bottom: 16px;
}
&-btnWrapper .btn {
display: block;
width: 100%;
margin-bottom: 10px;
}
&-bottomFixed {
background: @septenary-color-xxlight;
position: absolute;
padding: 8px;
bottom: 0;
width: 100%;
.btn {
width: 100%;
}
}
&-empty {
text-align: center;
}
&-nda {
position: fixed;
bottom: 60px;
padding: 0 16px;
}
}
/* Project Details view */
.listing-promotions {
display: block;
overflow: hidden;
font-size: 0;
&.has-promotions {
margin-top: 15px;
}
}
.project-info-countdown {
display: block;
margin-bottom: 8px;
font-size: @type-size-xlge;
font-weight: bold;
white-space: nowrap;
.countdown-title {
font-weight: normal;
}
.icon-clock {
color: @septenary-color-light;
font-weight: normal;
font-size: 16px;
}
.countdown-metric {
margin: 0 4px 0 2px;
font-size: @type-size-sml;
font-weight: normal;
}
}
.project-info-status-awarded {
color: @success-notify-color;
}
.project-info-status-expired,
.project-info-status-cancelled {
color: @error-notify-color;
}
.project-info-data {
display: table;
width: 100%;
padding: 12px 0;
background-color: @septenary-color-xxlight;
font-size: @type-size-xlge;
text-align: center;
.data-bids,
.data-average-bids,
.data-project-budget {
display: table-cell;
padding: 8px 10px;
vertical-align: middle;
}
.data-bids {
border-right: 1px solid @septenary-color-xlight;
}
.data-average-bids {
border-right: 1px solid @septenary-color-xlight;
}
.data-description {
margin: 4px 0 0 0;
font-size: @type-size-sml;
line-height: 1.2em;
color: @septenary-color;
}
}
.project-info-description,
.project-freelancer-bid-description {
white-space: pre-line;
}
.post-similar-button {
margin-bottom: 15px;
white-space: normal;
}
.bid-button {
margin-bottom: 20px;
}
.project {
// Employer profile
&-employer {
position: relative;
margin-top: 6px;
padding: 16px;
background-color: @body-bg-light;
border: 1px solid @septenary-color-xxlight;
&-details {
margin: 20px 0;
}
}
&-desc {
font-weight: @type-weight-light;
white-space: pre-wrap;
}
.user-profile {
&-payment-verified {
position: relative;
display: block;
z-index: 0;
}
&-flag {
margin-left: 2px;
height: @type-size;
width: auto;
}
}
.user-verification {
list-style: none;
margin: 1em 0 0 0;
padding: 0;
&-item {
position: relative;
padding-left: 30px;
margin-bottom: 12px;
}
}
&-employer-collapse-btn,
&-employer-expand-btn {
position: absolute;
right: 6px;
}
&-employer-collapse-btn {
bottom: 6px;
}
&-employer-expand-btn {
top: 6px;
}
&-employer-overview-item {
display: block;
margin-bottom: 16px;
}
// Freelancer Bids
&-awarded,
&-pending {
padding-bottom: 12px;
margin-bottom: 24px;
border-bottom: 1px solid @septenary-color-xlight;
.project-freelancer-expand-btn {
color: @septenary-color-xxxlight;
}
}
&-pending {
.project-freelancer-status {
background-color: @septenary-color-xlight;
border-color: @septenary-color-xlight;
}
}
@media only screen and (max-width: 440px) {
&-active-btns {
margin-bottom: 16px;
}
}
&-freelancer {
position: relative;
margin-bottom: 12px;
padding: 16px;
background-color: @body-bg-light;
border: 1px solid @septenary-color-xxlight;
.user-profile-details {
position: relative;
padding-left: 10px;
}
}
&-freelancer-status {
display: block;
margin-top: -16px;
margin-left: -16px;
margin-right: -16px;
margin-bottom: 16px;
padding: 8px 0;
line-height: 1;
text-align: center;
text-transform: uppercase;
font-size: @type-size;
color: @septenary-color-xxxlight;
background-color: @quinary-color;
border: 1px solid @quinary-color-dark;
}
&-freelancer-collapse-btn,
&-freelancer-expand-btn {
position: absolute;
right: 6px;
}
&-freelancer-collapse-btn {
bottom: 6px;
}
&-freelancer-expand-btn {
top: 6px;
}
&-freelancer-earnings {
display: block;
}
&-freelancer-specifics {
float: right;
margin-top: 21px;
}
&-freelancer-amount {
font-weight: bold;
margin-left: 4px;
}
&-freelancer-overview-item {
display: block;
margin-bottom: 16px;
}
&-freelancer-cta-btn {
margin-top: 10px;
margin-bottom: 15px;
margin-right: 4px;
}
// Confirm awarded views
&-confirm {
padding-top: 8px;
}
&-confirm-btn {
margin-top: 20px;
}
&-cancel-btn {
margin-top: 20px;
}
&-accept-banner {
padding: 16px;
background-color: @primary-color;
&-text {
text-align: center;
font-size: @type-size;
color: @septenary-color-xxxlight;
}
}
}
.user-profile-time-estimate {
display: inline-block;
width: 35%;
text-align: right;
}
.user-profile-bid-amount {
float: right;
font-size: @type-size-xlge;
line-height: 21px;
font-weight: bold;
text-align: right;
word-break: break-all;
}
/* Project Bid view */
.project-bids-bid-total {
display: block;
position: relative;
margin: 10px 0 20px 0;
text-transform: uppercase;
}
.project-bids-help {
position: absolute;
right: 0;
top: 0;
margin: 0;
padding: 0;
font-size: @type-size-lge;
color: @link-color;
&:active,
&:focus,
&.fl-touch-active,
html.no-touch &:hover {
text-decoration: none;
}
}
.bid-promotion {
float: right;
}
/* No bids view */
.project-bids-empty {
text-align: center;
.large-icon {
margin-top: 20px;
}
.btn-group {
margin-top: 30px;
}
}
/* Bids loading view */
.project-bids-loading {
margin-top: 20px;
text-align: center;
}
/* Bid Info modal */
.bid-info-modal-heading {
margin: 1em 0 0 0;
}
/* Project Awarded view */
.project-bids-awarded-description {
display: block;
}
/* Local job map */
.angular-google-map-container {
height: 200px
}