.plans { p { color: @gray-dark; margin-bottom: @line-height-computed; } .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 .btn { white-space:normal; } .card-group { .card-highlighted { padding-top: @line-height-computed * 2; padding-bottom: @line-height-computed * 2; } } .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 { 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; border-radius: 50%; background-color: @red; color: white; white-space: nowrap; span.small { color: rgba(255, 255, 255, 0.85); font-size: @font-size-base * .8; } } .circle-img { border-radius: 50%; float: right; height: 100px; overflow: hidden; position: relative; width: 100px; img { display: inline; margin: 0 auto; width: 100%; } } .faq { p { margin: 0 } } .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; } .tagline { margin-bottom: 20px; } .top-switch { .currency-dropdown { margin-right: -15px; } } 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; } } } #changePlanSection { padding-top: 30px; .changePlanButton { padding-top: 15px; } } .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; } } .plansPageStudentLink { margin-left: 20px; margin-top: 20px; } /** Plans Test */ @best-val-height: 35px; @highlight-border: 3px; @highlight-color: #d3584b; @gray-med: #6d6d6d; @white-med: #fdfdfd; /* Media Queries */ @media (max-width: @screen-sm-max) { .plans { .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) { .plans { 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; } 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 } }