overleaf/services/web/public/stylesheets/app/plans.less

394 lines
6.4 KiB
Text
Raw Normal View History

2014-07-07 07:27:58 -04:00
.plans {
p {
color: @gray-dark;
margin-bottom: @line-height-computed;
}
.plans-header{
h1, h2, p {
text-shadow: 0 -1px 1px white;
}
h1, h2 {
color: @red;
}
p {
margin-bottom: 0;
}
}
.plans-subheader {
margin-bottom: @line-height-computed;
}
.card.features {
margin-top: @line-height-computed;
i {
color: @red;
}
p {
margin: 0;
}
}
.card-group {
.card-highlighted {
2014-07-07 07:27:58 -04:00
padding-top: @line-height-computed * 2;
padding-bottom: @line-height-computed * 2;
}
}
2014-07-07 07:27:58 -04:00
.circle {
font-size: 1.5rem;
font-weight: 700;
padding: 38px 18px;
margin: 0 auto @line-height-computed;
text-shadow: 0 -1px 1px darken(@link-color, 10%);
width: 120px;
height: 120px;
2014-07-07 07:27:58 -04:00
border-radius: 50%;
background-color: @red;
color: white;
white-space: nowrap;
span.small {
color: rgba(255, 255, 255, 0.75);
font-size: @font-size-base * .8;
}
}
ul.nav-pills {
text-align: center;
margin-bottom: @line-height-computed;
li {
float: none;
display: inline-block;
}
> li + li {
margin-left: @line-height-computed / 2;
}
}
.card .btn { white-space:normal; }
.top-switch {
.currency-dropdown {
margin-right: -15px;
}
}
2014-09-04 14:03:04 -04:00
}
2014-09-05 11:11:19 -04:00
#changePlanSection {
padding-top: 30px;
.changePlanButton {
padding-top: 15px;
}
}
2014-10-13 12:51:59 -04:00
.paymentPageFeatures {
h1, h2, h3 {
color: @gray-dark;
}
h3 {
font-size: 18px;
&:first-child {
margin-top: 0;
}
}
p {
font-size: 14px;
color: @gray;
}
.small {
font-size: 12px;
2014-10-13 12:51:59 -04:00
}
2016-08-18 11:56:36 -04:00
}
.feature {
margin-top: (@line-height-computed / 2);
margin-bottom: (@line-height-computed / 1.5);
}
.features-check,
.features-copy {
display: inline-block;
width: 12%;
line-height: 1.4;
vertical-align: top;
}
.features-copy {
width: 88%;
2014-10-13 12:51:59 -04:00
}
2016-08-18 11:56:36 -04:00
.plansPageStudentLink {
margin-left: 20px;
margin-top: 20px;
}
2014-12-28 14:04:47 -05:00
input.paymentTypeOption.ng-valid {
margin-top: 15px;
2014-12-28 14:04:47 -05:00
}
2014-10-13 12:51:59 -04:00
2014-12-28 14:08:36 -05:00
.totalPrice {
padding-top: 15px;
}
2014-10-13 12:51:59 -04:00
.pricingBreakdown {
text-align: right;
}
2014-10-13 12:51:59 -04:00
/**
Plans Test
*/
@best-val-height: 35px;
@highlight-border: 3px;
@highlight-color: #d3584b;
@gray-med: #6d6d6d;
@white-med: #fdfdfd;
.more-details {
.best-value {
color: @red;
line-height: @line-height-computed;
}
blockquote {
footer{
/* accessibility fix */
color: @gray-med;
}
}
.btn-header {
font-family: @font-family-sans-serif;
margin-left: 10px;
margin-top: -10px;
text-shadow: 0 0 0;
}
.card-first, .card-last {
background: @white-med;
}
.card-highlighted {
border: @highlight-border solid @gray-lighter;
padding-top: 10px!important;
.best-value {
margin-bottom: 15px;
}
.card-header {
padding-bottom: 22px; /* align hr with other plans */
}
}
.card-header {
margin-bottom: 15px;
}
.circle {
/* accessibility fix */
span.small {
color: rgba(255, 255, 255, 0.85)
}
}
.circle-img {
border-radius: 50%;
float: right;
height: 100px;
overflow: hidden;
position: relative;
width: 100px;
img {
display: inline;
margin: 0 auto;
width: 100%;
}
}
.faq:last-child {
p {
margin-bottom: 0;
}
}
.questions-header {
color: @red;
line-height: 37px;
margin: 0;
text-align: right;
}
.tagline {
margin-bottom: 20px;
}
/* Media Queries */
@media (max-width: @screen-md-min) {
.card-highlighted {
/*override style in cards.less */
margin-top: @line-height-computed!important;
}
.circle-img {
float: left;
margin: 0 15px;
}
}
@media (min-width: @screen-md-min) {
blockquote {
margin-bottom: 0;
}
.faq {
.row:nth-child(2) {
h3 {
margin-top: 0;
}
}
}
}
}
.student-disclaimer {
font-size: 14px; /* match .paymentPageFeatures p */
color: @gray; /* match .paymentPageFeatures p */
margin: 12.5px 0 0 0;
}
/**
Plans Table
*/
.plans-table {
border: 1px solid @gray-lighter;
background-color: @white-med;
margin: @best-val-height 0 15px 0;
table-layout: fixed;
width: 100%;
th, td {
-moz-background-clip: padding;
-webkit-background-clip: padding;
background-clip: padding-box; /* needed for firefox when there is bg color */
border: 1px solid @gray-lighter;
padding: 6px;
text-align: center;
vertical-align: middle;
}
td {
font-weight: bold;
}
th {
border-top: 0;
font-family: @headings-font-family;
font-size: @font-size-h2;
font-weight: @headings-font-weight;
line-height: @headings-line-height;
padding: 18px;
}
th:first-child, td:first-child {
border-left: 0;
}
2014-10-13 12:51:59 -04:00
th:last-child, td:last-child {
border-right: 0;
}
td:first-child {
font-weight: bold;
padding-left: 18px;
text-align: left;
}
tr:first-child {
th {
position: relative;
/* keep here position here, otherwise messes up border on safari */
}
}
tr:last-child {
td {
border-bottom: 0;
padding: 18px;
}
/* highlighted column */
td:nth-child(3) {
position: relative;
/* keep here position here, otherwise messes up border on safari when there is a bg color */
&:before {
/* needed for safafi */
border-top: 1px solid @gray-lighter;
content: '';
left: 0;
position: absolute;
top: -1px;
width: 100%;
}
}
td:first-child {
border: 0;
}
}
.fa-check {
color: @green;
}
/* accessibility fixes */
.small {
color: @gray-med;
}
/* highlighted column */
td:nth-child(3), th:nth-child(3) {
background-color: white;
border-left: @highlight-border solid @gray-lighter;
border-right: @highlight-border solid @gray-lighter;
}
.outer {
left: -@highlight-border;
right: -@highlight-border;
position: absolute;
.outer-content {
background: white;
border: @highlight-border solid @gray-lighter;
border-radius: @border-radius-base;
font-size: @font-size-base;
font-family: @font-family-sans-serif;
font-weight: bold;
height: @best-val-height;
padding-top: 10px;
}
}
.outer.outer-top {
top: -@best-val-height;
.outer-content {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
border-bottom: 0;
}
}
.outer.outer-btm {
bottom: -@best-val-height/2;
.outer-content {
border-top-left-radius: 0;
border-top-right-radius: 0;
border-top: 0;
height: @best-val-height/2;
}
}
/* highlight rows on hover */
tr:hover {
td {
background-color: @gray-lightest;
}
}
tr:first-child:hover {
background-color: transparent;
}
tr:last-child:hover {
background-color: transparent;
td {
background-color: transparent;
}
}
/* tooltip */
sup {
color: @red;
cursor: pointer;
margin-left: 5px;
}
.tooltip.in {
min-width: 200px
}
}