jam-cloud/web/app/assets/stylesheets/landings/school_landing.scss

568 lines
10 KiB
SCSS

@import "client/common";
$fluid-break: 1100px;
$copy-color-on-dark: #b9b9b9;
$cta-color: #e03d04;
$copy-color-on-white: #575757;
$chunkyBorderWidth: 6px;
@mixin layout-small {
@media (max-width: #{$fluid-break - 1px}) {
@content;
}
}
@mixin layout-normal {
@media (min-width: #{$fluid-break}) {
@content;
}
}
body.web.school_register {
h1.web-tagline {
@include layout-small {
display: none;
}
}
.wrapper {
@include layout-small {
width: auto;
}
}
.header-area {
padding-top:30px;
text-align:center;
margin-bottom:40px;
}
.explain {
margin-bottom:40px;
text-align:center;
p {
display:inline-block;
text-align: left;
width:600px;
}
}
.field {
margin-top:1px;
}
.header-content {
display:inline-block;
}
.school-logo {
margin-right:60px;
float:left;
margin-bottom:20px;
img {
max-width:225px;
max-height:225px;
}
}
.headers {
float:left;
text-align:left;
margin-bottom:20px;
h1 {
margin-bottom:10px;
}
h2 {
font-size:16px;
}
}
.register-area {
text-align:center;
width:100%;
margin:0 auto;
input {
background-color: $copy-color-on-dark;
color: black;
font-size: 16px;
@include layout-small {
font-size:30pt;
}
&[name="terms"] {
width:auto;
line-height:24px;
vertical-align:middle;
@include layout-small {
line-height:125%;
}
}
}
.checkbox-wrap {
float: left;
margin-top: 6px;
margin-left:64px;
@include border_box_sizing;
text-align:right;
input {
height:auto;
@include layout-small {
height: 30pt !important;
width: 30pt !important;
}
}
@include layout-small {
width:40%;
margin-left:0;
.icheckbox_minimal {
right: -18px;
}
}
.icheckbox_minimal {
}
}
.cta-button {
font-size: 24px;
color: white;
background-color: $cta-color;
text-align: center;
padding: 10px;
display: block;
width: 100%;
border: 1px outset buttonface;
font-family: Raleway, Arial, Helvetica, sans-serif;
@include layout-small {
font-size:30pt;
}
}
.privacy-policy {
margin-top:10px;
line-height:125%;
}
form {
display:inline-block;
}
.errors {
font-size:12px;
height:20px;
margin:0;
visibility: hidden;
text-align: center;
color: red;
font-weight: bold;
&.active {
visibility: visible;
}
@include layout-small {
font-size:20pt;
height:32pt;
}
}
label {
text-align:left;
width:100px;
display: inline-block;
height: 36px;
vertical-align: middle;
line-height: 36px;
margin-bottom: 15px;
@include border-box_sizing;
&.terms-help {
color:$ColorTextTypical;
width:205px;
height:28px;
line-height:14px;
float:right;
@include layout-small {
line-height:125%;
}
}
@include layout-small {
height:40pt;
font-size:30pt;
}
}
input {
width: 195px;
height: 36px;
float: right;
margin-bottom: 15px;
@include border-box_sizing;
@include layout-small {
height:40pt;
font-size:30pt;
}
}
}
&.teacher_list {
.headers {
//padding-top:140px;
clear:right;
width:50%;
}
.header-area {
text-align:left;
}
.explain {
width:700px;
float:left;
text-align:left;
p {
line-height: 125%;
margin-bottom: 20px;
width:auto;
}
@include layout-small {
width:90%;
padding:0 20px;
}
}
.school-teacher {
margin-bottom:20px;
.verthelper {
}
}
.school-top-row {
height:70px;
margin-bottom:20px;
}
.school-bottom-row {
}
.signup-btn {
margin-bottom:40px;
}
.school-left {
width:260px;
float:left;
height:70px;
}
.school-right {
float:left;
height:70px;
}
.teacher-descr {
position:relative;
}
.profile-link {
position:absolute;
top:20px;
white-space: nowrap;
left:0;
}
.avatar {
float:right;
padding:1px;
width:64px;
height:64px;
background-color:#ed4818;
margin:0;
-webkit-border-radius:32px;
-moz-border-radius:32px;
border-radius:32px;
margin-right:20px;
}
.avatar img {
width: 64px;
height: 64px;
-webkit-border-radius:32px;
-moz-border-radius:32px;
border-radius:32px;
}
.username {
float:left;
margin-right:20px;
height:100%;
}
.book-lesson {
float:right;
margin-right:20px;
height:100%;
}
.school-teacher{
}
.teacher-lister {
float:left;
}
.preview-and-action-box {
background-color: black;
float:right;
max-width: 330px;
right:0;
@include border_box_sizing;
border-width: $chunkyBorderWidth;
border-style: solid;
border-color: $copy-color-on-dark;
z-index: 1;
@include layout-small {
margin: 20px 20px;
position: static;
width: calc(100% - 40px);
max-width: calc(100% - 40px);
}
.preview-jamtrack-header {
background-color: $cta-color;
color: white;
font-size: 24px;
text-align: center;
padding: 20px 0;
border-width: 0 0 $chunkyBorderWidth;
border-style: solid;
border-color: $copy-color-on-dark;
@include layout-small {
font-size: 40pt;
}
}
.preview-area {
padding: 10px;
border-width: 0 0 $chunkyBorderWidth;
@include layout-small {
font-size: 20px;
}
&.jam-class {
border-width: 0 0 2px;
p {
line-height:125%;
padding: 8px 10px;
text-align: center;
@include border_box_sizing;
}
}
border-style: solid;
border-color: $copy-color-on-dark;
&.logged-in {
border-width: 0;
.tracks {
height: 258px;
}
}
.cta-buttons {
text-align: center;
}
.cta-button {
@include border_box_sizing;
font-size: 24px;
color: white;
background-color: $cta-color;
text-align: center;
padding: 10px;
display: block;
width: 100%;
border-radius: 8px;
border: 1px outset buttonface;
font-family: Raleway, Arial, Helvetica, sans-serif;
@include layout-small {
font-size: 30pt;
}
&.gift-card {
font-size: 16px;
width: 138px;
margin: 15px 5px;
display: inline-block;
}
}
}
.terms-help {
float: left;
margin-top: 2px;
font-size: 12px;
}
.register-area {
@include layout-small {
label {
width: 40% !important;
text-align: right;
padding-right: 20px;
&.terms-help {
height: auto !important;
}
@include layout-small {
height: 40pt;
font-size: 30pt;
}
}
input {
width: 60% !important;
@include layout-small {
height: 40pt;
font-size: 30pt;
}
}
}
&.jam-class {
padding: 0;
}
&.ios {
background-color: $cta-color;
font-size: 40pt;
.ios-appstore-badge {
display: inline-block;
text-align: center;
margin-left: 20px;
margin-top: 30px;
width: 100%;
img {
width: 50%;
}
}
}
padding: 10px;
input {
background-color: $copy-color-on-dark;
color: black;
font-size: 16px;
@include layout-small {
font-size: 30pt;
}
&[name="terms"] {
width: auto;
line-height: 24px;
vertical-align: middle;
@include layout-small {
line-height: 125%;
}
}
}
.checkbox-wrap {
float: left;
margin-top: 6px;
margin-left: 64px;
@include border_box_sizing;
text-align: right;
input {
height: auto;
@include layout-small {
height: 30pt !important;
width: 30pt !important;
}
}
@include layout-small {
width: 40%;
margin-left: 0;
.icheckbox_minimal {
right: -18px;
}
}
.icheckbox_minimal {
}
}
.privacy-policy {
text-decoration: underline;
}
form {
margin: 0 0 10px;
}
.errors {
font-size: 12px;
height: 20px;
margin: 0;
visibility: hidden;
text-align: center;
color: red;
font-weight: bold;
&.active {
visibility: visible;
}
@include layout-small {
font-size: 20pt;
height: 32pt;
}
}
label {
display: inline-block;
height: 36px;
vertical-align: middle;
line-height: 36px;
margin-bottom: 15px;
@include border-box_sizing;
&.terms-help {
width: 205px;
height: 28px;
line-height: 14px;
float: right;
@include layout-small {
line-height: 125%;
}
}
@include layout-small {
height: 40pt;
font-size: 30pt;
}
}
input {
width: 195px;
height: 36px;
float: right;
margin-bottom: 15px;
@include border-box_sizing;
@include layout-small {
height: 40pt;
font-size: 30pt;
}
}
}
}
}
}