Initial commit
This commit is contained in:
commit
28e6ddf404
1083 changed files with 191734 additions and 0 deletions
881
plugins/jetpack/scss/templates/_connection-landing.scss
Normal file
881
plugins/jetpack/scss/templates/_connection-landing.scss
Normal file
|
@ -0,0 +1,881 @@
|
|||
// ==========================================================================
|
||||
// Jetpack Connection Landing Page ('Please connect jetpack')
|
||||
//===========================================================================
|
||||
|
||||
// Variables specific to connection landing page
|
||||
|
||||
// layout
|
||||
$j-gutter: em(20px);
|
||||
|
||||
// color
|
||||
$landing-bdr: #D9D9D9;
|
||||
$gray-light: #f4f4f4;
|
||||
|
||||
@mixin jp-card {
|
||||
background: $white;
|
||||
border: 1px $landing-bdr solid;
|
||||
text-align: center;
|
||||
p {
|
||||
font-size: em(16px);
|
||||
}
|
||||
}
|
||||
|
||||
@mixin jp-card-cta {
|
||||
text-align: center;
|
||||
p {
|
||||
font-size: em(16px);
|
||||
}
|
||||
}
|
||||
|
||||
.connection-landing {
|
||||
text-align: center;
|
||||
|
||||
h1 {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
h2 {
|
||||
margin: 0;
|
||||
padding: $j-gutter*.8 0;
|
||||
font-size: em(22px);
|
||||
line-height: 160%;
|
||||
font-weight: 400;
|
||||
}
|
||||
h2 + p {
|
||||
margin-top: 0;
|
||||
}
|
||||
p {
|
||||
color: $gray-med;
|
||||
}
|
||||
} // connection-landing
|
||||
|
||||
.connect-card {
|
||||
@include jp-card-cta;
|
||||
margin: $j-gutter*1.5 auto $j-gutter;
|
||||
padding: 0 $j-gutter*3 $j-gutter;
|
||||
@include breakpoint(tablet) { padding: 0 $j-gutter $j-gutter; }
|
||||
}
|
||||
|
||||
.jp-card {
|
||||
@include jp-card;
|
||||
margin-bottom: $j-gutter*2;
|
||||
.j-int {
|
||||
padding: 0 $j-gutter*3;
|
||||
}
|
||||
}
|
||||
|
||||
/* ==================
|
||||
The following header part is a little hacky. Certain versions of IE were having a difficult time processing multiple svg BG images.
|
||||
So I moved to stack the svgs as actual imgs instead. IE also had a hard time dealing with em(px) conversions for sizing. - golenski
|
||||
*/
|
||||
|
||||
.feature-container {
|
||||
background: $gray-light;
|
||||
|
||||
.j-int {
|
||||
background: $white;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.first-header {
|
||||
position: relative;
|
||||
|
||||
@include breakpoint(desktop) {
|
||||
border-bottom: 1px $landing-bdr solid;
|
||||
background-image: none;
|
||||
|
||||
.j-header-img {
|
||||
display: none;
|
||||
}
|
||||
} // < desktop
|
||||
|
||||
@include minbreakpoint(desktop) {
|
||||
background:
|
||||
url('../images/connection-landing/stars-right.svg') no-repeat,
|
||||
url('../images/connection-landing/stars-left.svg') no-repeat,
|
||||
$white;
|
||||
background-position: 90% 50%, 10% 50%;
|
||||
background-size: 100px, 125px;
|
||||
} // > desktop
|
||||
|
||||
.j-header-img {
|
||||
position: absolute;
|
||||
left: 0; right: 0; bottom: 0;
|
||||
|
||||
img {
|
||||
margin: 0 auto;
|
||||
max-width: 100%;
|
||||
z-index: 1001;
|
||||
position: absolute;
|
||||
left: 0; right: 0; bottom: 0;
|
||||
&:first-of-type {
|
||||
@include minbreakpoint(desktop) { bottom: -12px; }
|
||||
@include minbreakpoint(large-desktop) { bottom: -10px; }
|
||||
}
|
||||
}
|
||||
|
||||
img + img {
|
||||
z-index: 999;
|
||||
}
|
||||
}
|
||||
}
|
||||
.secondary-header {
|
||||
background: transparent;
|
||||
padding: 0 $j-gutter*7;
|
||||
@include breakpoint(tablet) { padding: 0 $j-gutter; }
|
||||
}
|
||||
.j-feature-img {
|
||||
padding: 0 $j-gutter;
|
||||
margin-bottom: $j-gutter*2;
|
||||
img {
|
||||
width: 100%;
|
||||
}
|
||||
&:last-of-type {
|
||||
margin-bottom: $j-gutter;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Adjust the padding for each specific header img
|
||||
.j-traffic {
|
||||
.first-header {
|
||||
@include minbreakpoint(desktop) { padding-bottom: 200px; }
|
||||
}
|
||||
}
|
||||
|
||||
.j-security {
|
||||
.first-header {
|
||||
@include minbreakpoint(desktop) { padding-bottom: 225px; }
|
||||
}
|
||||
} // .j-security
|
||||
|
||||
// ================== End hacky stuff
|
||||
|
||||
.three-feature {
|
||||
margin: $j-gutter 0;
|
||||
padding: 0 $j-gutter;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: nowrap;
|
||||
@include breakpoint(tablet) { flex-wrap: wrap; }
|
||||
@include breakpoint(large-phone) { padding: 0; }
|
||||
|
||||
.j-col {
|
||||
border: 1px $landing-bdr solid;
|
||||
text-align: left;
|
||||
padding: 0;
|
||||
background: $clouds;
|
||||
@include breakpoint(tablet) { margin-bottom: $j-gutter; }
|
||||
@include breakpoint(large-phone) { border-left: none; border-right: none; }
|
||||
}
|
||||
.j-col:nth-of-type(2) {
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
@include breakpoint(tablet) { border: 1px $landing-bdr solid; }
|
||||
@include breakpoint(large-phone) { border-left: none; border-right: none; }
|
||||
}
|
||||
h3 {
|
||||
font-weight: 600;
|
||||
font-size: em(16px);
|
||||
min-width: em(215px);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
@include breakpoint(tablet) { font-size: em(14px); }
|
||||
}
|
||||
.feature-img {
|
||||
background: $white;
|
||||
border-bottom: 1px $landing-bdr solid;
|
||||
text-align: center;
|
||||
img {
|
||||
width: 100%;
|
||||
max-width: 500px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
||||
p {
|
||||
line-height: 150%;
|
||||
padding-bottom: 0;
|
||||
font-size: em(14px);
|
||||
}
|
||||
h3, p {
|
||||
margin: 0;
|
||||
padding: $j-gutter;
|
||||
@include breakpoint(tablet) { font-size: em(13px); }
|
||||
}
|
||||
h3 {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ==========================================================================
|
||||
// Jetpack NUX Page(s) (main jetpack admin page + jumpstart)
|
||||
//===========================================================================
|
||||
|
||||
// Needs to be cleaned. Let's remove those important tags and unneeded classes that we can utilize from core. Properly nest elements. migrate into _main.scss
|
||||
// Once everything is tested, I'll remove all the comments below as well. - @jeffgolenski
|
||||
|
||||
// wrapping these common element names temporarily until I can audit - jeff
|
||||
.jp-content {
|
||||
.hide {
|
||||
display: none;
|
||||
}
|
||||
.pointer {
|
||||
cursor: pointer;
|
||||
}
|
||||
.landing {
|
||||
margin: 0 auto;
|
||||
z-index: 2;
|
||||
position: relative;
|
||||
}
|
||||
h1 {
|
||||
font: 400 1.75em "proxima-nova","Open Sans",Helvetica,Arial,sans-serif;
|
||||
position: relative;
|
||||
z-index: 3;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
&.success {
|
||||
color: $green;
|
||||
}
|
||||
}
|
||||
.footer {
|
||||
padding-top: 0;
|
||||
margin-top: 0;
|
||||
background-image: none;
|
||||
&:before {
|
||||
height: inherit;
|
||||
}
|
||||
}
|
||||
.more-info:before {
|
||||
content: none;
|
||||
}
|
||||
} //.jp-content
|
||||
|
||||
.landing {
|
||||
.wpcom-connect {
|
||||
min-height: 400px;
|
||||
}
|
||||
}
|
||||
|
||||
.wpcom-connect {
|
||||
.j-col {
|
||||
padding: 0;
|
||||
}
|
||||
.connect-desc {
|
||||
padding-right: 25px;
|
||||
}
|
||||
.connect-btn {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
.module-grid h2 {
|
||||
color: #000;
|
||||
font: 300 2.57143em/1em "proxima-nova","Open Sans",Helvetica,Arial,sans-serif;
|
||||
}
|
||||
|
||||
// place button styles in _button.scss
|
||||
.download-jetpack {
|
||||
margin-top: 1em!important;
|
||||
}
|
||||
|
||||
|
||||
.jump-start-area {
|
||||
@include jp-card;
|
||||
padding: 0 $j-gutter;
|
||||
|
||||
h1 {
|
||||
margin: 1em auto 0;
|
||||
}
|
||||
}
|
||||
|
||||
.jumpstart-message {
|
||||
p {
|
||||
padding-right: 25px;
|
||||
}
|
||||
}
|
||||
|
||||
.jumpstart-desc {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#jumpstart-cta {
|
||||
text-align: center;
|
||||
display:inline-block;
|
||||
float:none
|
||||
}
|
||||
|
||||
.dismiss-jumpstart {
|
||||
color: #999;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
// place button styles in _button.scss
|
||||
#jumpstart-cta .button,
|
||||
#jumpstart-cta .button-primary {
|
||||
margin: 1em;
|
||||
font-size: 18px;
|
||||
height: 45px!important;
|
||||
padding: 8px 15px 1px;
|
||||
}
|
||||
|
||||
#jumpstart-cta .button-primary {
|
||||
display: block;
|
||||
margin: 20px 20px 5px 20px;
|
||||
}
|
||||
|
||||
#jp-config-list {
|
||||
position: relative;
|
||||
padding-top: 15px;
|
||||
padding-bottom: 15px;
|
||||
margin-left: -15px;
|
||||
margin-right: -15px;
|
||||
|
||||
.j-col {
|
||||
padding: 15px;
|
||||
}
|
||||
strong {
|
||||
display: inline-block;
|
||||
}
|
||||
small {
|
||||
display: block;
|
||||
margin-top: 5px;
|
||||
line-height: 150%;
|
||||
}
|
||||
.close {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: 0;
|
||||
text-transform: uppercase;
|
||||
font-weight: bold;
|
||||
display: block;
|
||||
z-index: 5;
|
||||
}
|
||||
}
|
||||
|
||||
.jp-config-status {
|
||||
text-transform: uppercase;
|
||||
font-size: 10px;
|
||||
font-weight: bold;
|
||||
line-height: 100%;
|
||||
color: #fff;
|
||||
background: #9fbd72;
|
||||
border-radius: 2px;
|
||||
padding: 2px 4px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
// Nux landing page 2015
|
||||
|
||||
@mixin vertalign { // vertical center this div
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
-ms-transform: translate(0,-50%);
|
||||
-webkit-transform: translate(0,-50%);
|
||||
transform: translate(0,-50%);
|
||||
}
|
||||
|
||||
.nux-intro {
|
||||
|
||||
h3 {
|
||||
background: $green;
|
||||
color: $white;
|
||||
font-weight: 600;
|
||||
padding: .75em;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
h4 {
|
||||
margin: 0 0 2px 0;
|
||||
}
|
||||
|
||||
p {
|
||||
text-align: center;
|
||||
font-size: 1.24em;
|
||||
line-height: 175%;
|
||||
}
|
||||
|
||||
a {
|
||||
transition: all .4s ease;
|
||||
}
|
||||
|
||||
.j-col {
|
||||
padding: 0 0.5em;
|
||||
&:first-of-type {
|
||||
padding-left: 0;
|
||||
}
|
||||
&:last-of-type {
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.nux-in {
|
||||
background: darken($clouds, 5%);
|
||||
-webkit-border-bottom-right-radius: 6px;
|
||||
-webkit-border-bottom-left-radius: 6px;
|
||||
-moz-border-radius-bottomright: 6px;
|
||||
-moz-border-radius-bottomleft: 6px;
|
||||
border-bottom-right-radius: 6px;
|
||||
border-bottom-left-radius: 6px;
|
||||
|
||||
h3 {
|
||||
font-size: 1.10em;
|
||||
-webkit-border-top-left-radius: 6px;
|
||||
-webkit-border-top-right-radius: 6px;
|
||||
-moz-border-radius-topleft: 6px;
|
||||
-moz-border-radius-topright: 6px;
|
||||
border-top-left-radius: 6px;
|
||||
border-top-right-radius: 6px;
|
||||
|
||||
.dashicons {
|
||||
float: right;
|
||||
color: darken($green, 10%);
|
||||
font-size: 1.25em;
|
||||
padding-left: 0;
|
||||
&:hover {
|
||||
color: darken($green, 15%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: .9em;
|
||||
line-height: 150%;
|
||||
margin: 0;
|
||||
text-align: left;
|
||||
color: $gray-med;
|
||||
}
|
||||
|
||||
.j-row {
|
||||
border-bottom: 1px $clouds solid;
|
||||
padding: 5px 0;
|
||||
position: relative;
|
||||
min-height: 70px; // moderating consistent heights w/o JS
|
||||
&:hover {
|
||||
background: darken($clouds, 10%);
|
||||
}
|
||||
}
|
||||
|
||||
.unavailable {
|
||||
opacity: 0.5;
|
||||
|
||||
.act {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.paid {
|
||||
top: 4px;
|
||||
margin-left: 12px;
|
||||
}
|
||||
|
||||
.dashicons {
|
||||
color: $green;
|
||||
font-size: 1em;
|
||||
position: relative;
|
||||
top: 3px;
|
||||
padding-left: 6px;
|
||||
&:hover {
|
||||
color: darken($green, 15%);
|
||||
}
|
||||
}
|
||||
|
||||
.dashicons-external {
|
||||
font-size: 1.5em;
|
||||
top: 2px;
|
||||
padding-left: 3px;
|
||||
}
|
||||
|
||||
.lmore {
|
||||
font-size: 11px;
|
||||
color: $green;
|
||||
&:hover {
|
||||
color: darken($green, 15%);
|
||||
}
|
||||
}
|
||||
|
||||
} // nux-in
|
||||
|
||||
.feat {
|
||||
&.j-col {
|
||||
padding: 10px 2px 10px 10px;
|
||||
}
|
||||
.dashicons {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.activated .feat {
|
||||
.dashicons {
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
.act {
|
||||
@include vertalign;
|
||||
right: 8px;
|
||||
float: right;
|
||||
|
||||
&.j-col {
|
||||
padding: 5px;
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
|
||||
.module-action {
|
||||
text-transform: uppercase;
|
||||
font-size: .85em;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.wpcom {
|
||||
|
||||
h3 {
|
||||
background: $wpcom;
|
||||
.dashicons {
|
||||
color: darken($wpcom, 10%);
|
||||
&:hover {
|
||||
color: darken($wpcom, 15%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.j-col {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.goto {
|
||||
text-align: center;
|
||||
padding: 1em;
|
||||
|
||||
&:hover {
|
||||
background: darken($clouds, 5%);
|
||||
}
|
||||
|
||||
.j-col {
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
a {
|
||||
width: 100%;
|
||||
padding: .25em;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.button {
|
||||
height: auto;
|
||||
min-height: 28px;
|
||||
line-height: 18px;
|
||||
white-space: normal;
|
||||
max-width: 200px;
|
||||
margin-bottom: 0;
|
||||
padding-top: 4px;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
.feat {
|
||||
@include vertalign;
|
||||
}
|
||||
} // go-to
|
||||
}
|
||||
|
||||
.nux-foot {
|
||||
.j-col {
|
||||
padding: 1em;
|
||||
}
|
||||
}
|
||||
|
||||
} // nux-intro
|
||||
|
||||
.nux-foot {
|
||||
margin-top: 2em;
|
||||
background: darken($clouds, 5%);
|
||||
border-radius: 6px;
|
||||
|
||||
.j-col {
|
||||
min-height: 75px;
|
||||
padding: 1em;
|
||||
@media (max-width: 650px) { width: 100%; }
|
||||
}
|
||||
|
||||
.j-col + .j-col {
|
||||
border-left: 1px $clouds solid;
|
||||
@media (max-width: 650px) { border-left: none; border-top: 1px $clouds solid; }
|
||||
}
|
||||
|
||||
.actions {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
img {
|
||||
float: right;
|
||||
margin-left: 1em;
|
||||
width: 75px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: .9em;
|
||||
text-align: left;
|
||||
font-weight: 600;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
p + p {
|
||||
font-weight: 400;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
ul {
|
||||
font-size: .9em;
|
||||
margin-bottom: 0;
|
||||
|
||||
li {
|
||||
margin-right: .875em;
|
||||
margin-bottom: 0;
|
||||
line-height: 175%;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
} // nux-foot
|
||||
|
||||
// Activate toggle - replicated from WordPress.com
|
||||
.form-toggle[type="checkbox"] {
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.form-toggle__switch {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
border-radius: 12px;
|
||||
box-sizing: border-box;
|
||||
padding: 2px;
|
||||
width: 40px;
|
||||
height: 24px;
|
||||
background: darken($clouds, 25%);
|
||||
vertical-align: middle;
|
||||
outline: 0;
|
||||
cursor: pointer;
|
||||
transition: all .4s ease;
|
||||
|
||||
&:before, &:after {
|
||||
position: relative;
|
||||
display: block;
|
||||
content: "";
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
&:after {
|
||||
left: 0;
|
||||
border-radius: 50%;
|
||||
background: #fff;
|
||||
transition: all .2s ease;
|
||||
}
|
||||
|
||||
&:before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background: lighten($green, 25%);
|
||||
}
|
||||
} // __switch
|
||||
|
||||
.form-toggle__label {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.plugin-action__label {
|
||||
padding-right: 5px;
|
||||
top: -1px;
|
||||
position: relative;
|
||||
color: lighten($gray-med, 15%);
|
||||
}
|
||||
|
||||
.activated .plugin-action__label {
|
||||
color: $green;
|
||||
}
|
||||
|
||||
.form-toggle:focus + .form-toggle__label .form-toggle__switch,
|
||||
.form-toggle:focus:checked + .form-toggle__label .form-toggle__switch {
|
||||
box-shadow: 0 0 0 2px $wpcom;
|
||||
}
|
||||
|
||||
.form-toggle:checked + .form-toggle__label .form-toggle__switch {
|
||||
background: $green;
|
||||
&:after {
|
||||
left: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.form-toggle:checked:hover + .form-toggle__label .form-toggle__switch {
|
||||
background: lighten($green, 25%);
|
||||
}
|
||||
|
||||
|
||||
.form-toggle:disabled + .form-toggle__label .form-toggle__switch,
|
||||
.form-toggle:disabled:hover + .form-toggle__label .form-toggle__switch {
|
||||
background: #e9eff3;
|
||||
}
|
||||
|
||||
.form-toggle.is-toggling + .form-toggle__label .form-toggle__switch {
|
||||
background: $green;
|
||||
}
|
||||
|
||||
.form-toggle.is-toggling:checked + .form-toggle__label .form-toggle__switch {
|
||||
background: lighten($green, 25%);
|
||||
}
|
||||
|
||||
.form-toggle.is-compact + .form-toggle__label .form-toggle__switch {
|
||||
border-radius: 8px;
|
||||
width: 24px;
|
||||
height: 16px;
|
||||
&:before, &:after {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
.form-toggle.is-compact:checked + .form-toggle__label .form-toggle__switch:after {
|
||||
left: 8px;
|
||||
}
|
||||
// end toggle
|
||||
|
||||
|
||||
// Breakpoints
|
||||
|
||||
|
||||
@include breakpoint(large-desktop) {
|
||||
|
||||
.jp-content {
|
||||
.landing {
|
||||
padding: 0 2em;
|
||||
}
|
||||
.footer {
|
||||
padding-top: 1.5em;
|
||||
}
|
||||
}
|
||||
|
||||
.nux-intro {
|
||||
.main-col {
|
||||
width: 50%;
|
||||
margin-bottom: 2em;
|
||||
&.wpcom {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.main-col + .main-col {
|
||||
padding-right: 0;
|
||||
}
|
||||
.wpcom {
|
||||
padding: 0;
|
||||
|
||||
.j-row {
|
||||
width: 50%;
|
||||
float: left;
|
||||
border-bottom: 1px $clouds solid;
|
||||
border-right: 1px $clouds solid;
|
||||
&:last-of-type {
|
||||
width: 100%;
|
||||
float: none;
|
||||
clear: both;
|
||||
border: none;
|
||||
border-top: 1px $clouds solid;
|
||||
position: relative; // hides border of 2nd to last j-row
|
||||
top: -1px;
|
||||
}
|
||||
}
|
||||
.goto {
|
||||
.feat a {
|
||||
float: left;
|
||||
}
|
||||
}
|
||||
}
|
||||
} // nux-intro
|
||||
|
||||
.nux-foot {
|
||||
.j-col {
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
|
||||
} // large-desktop
|
||||
|
||||
|
||||
@include breakpoint(desktop) {
|
||||
|
||||
.nux-intro {
|
||||
.main-col {
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
.wpcom {
|
||||
.j-row {
|
||||
width: 100%;
|
||||
float: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
} // desktop
|
||||
|
||||
@include breakpoint(tablet) {
|
||||
|
||||
#jumpstart-cta .button-primary {
|
||||
margin: 10px 0 5px 0;
|
||||
}
|
||||
|
||||
#jump-start-area .spinner {
|
||||
background-position: 50% 35%;
|
||||
}
|
||||
|
||||
} // tablet
|
||||
|
||||
@include breakpoint(phablet) {
|
||||
|
||||
.nux-intro {
|
||||
h1 {
|
||||
font-size: 1.75em;
|
||||
}
|
||||
p {
|
||||
font-size: 1em;
|
||||
}
|
||||
}
|
||||
|
||||
} // phablet
|
||||
|
||||
@include breakpoint(large-phone) {
|
||||
|
||||
.jp-content {
|
||||
.landing {
|
||||
padding: 0 .5em;
|
||||
}
|
||||
}
|
||||
|
||||
#jump-start-area {
|
||||
padding: 0 1em;
|
||||
}
|
||||
|
||||
.jumpstart-message {
|
||||
p {
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
#jumpstart-cta .button-primary {
|
||||
margin: 0 0 5px 0;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
.footer .a8c-attribution a:after {
|
||||
top: 6px;
|
||||
}
|
||||
|
||||
} // large-phone
|
99
plugins/jetpack/scss/templates/_dashboard-widget.scss
Normal file
99
plugins/jetpack/scss/templates/_dashboard-widget.scss
Normal file
|
@ -0,0 +1,99 @@
|
|||
|
||||
#jetpack_summary_widget {
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.inside {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: "proxima-nova", "Open Sans", Helvetica, Arial, sans-serif;
|
||||
}
|
||||
|
||||
.stats,
|
||||
.widgets,
|
||||
.wpcom-connect {
|
||||
padding: .75em;
|
||||
}
|
||||
|
||||
.wpcom-connect {
|
||||
background: #fafafa;
|
||||
text-align: center;
|
||||
|
||||
.jp-emblem {
|
||||
padding: 5px 0 0 0;
|
||||
}
|
||||
|
||||
svg {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
path {
|
||||
fill: $green;
|
||||
}
|
||||
}
|
||||
|
||||
.jp-emblem,
|
||||
h3,
|
||||
p {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.25em;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
p {
|
||||
color: #777;
|
||||
margin-top: 0;
|
||||
padding: 0 15px;
|
||||
}
|
||||
|
||||
.actions {
|
||||
text-align: center;
|
||||
padding: 15px 0 10px 0;
|
||||
small {
|
||||
display: block;
|
||||
a {
|
||||
color: #999;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.button-jetpack {
|
||||
@include button( $green );
|
||||
}
|
||||
|
||||
footer {
|
||||
background: #fafafa;
|
||||
padding: .75em;
|
||||
overflow: hidden;
|
||||
border-top: 1px solid #ccc;
|
||||
|
||||
.protect,
|
||||
.akismet {
|
||||
width: 50%;
|
||||
float: left;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.5em;
|
||||
font-weight: normal;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
section {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
}
|
9
plugins/jetpack/scss/templates/_id-crisis.scss
Normal file
9
plugins/jetpack/scss/templates/_id-crisis.scss
Normal file
|
@ -0,0 +1,9 @@
|
|||
// styles are inline for now - line 5073 - class.jetpack.php, move here.
|
||||
.jp-identity-crisis {
|
||||
.jp-btn-group {
|
||||
margin-top: 15px;
|
||||
}
|
||||
strong {
|
||||
color: $green;
|
||||
}
|
||||
}
|
1660
plugins/jetpack/scss/templates/_main.scss
Normal file
1660
plugins/jetpack/scss/templates/_main.scss
Normal file
File diff suppressed because it is too large
Load diff
417
plugins/jetpack/scss/templates/_settings.scss
Normal file
417
plugins/jetpack/scss/templates/_settings.scss
Normal file
|
@ -0,0 +1,417 @@
|
|||
// ==========================================================================
|
||||
// Settings
|
||||
// ==========================================================================
|
||||
|
||||
.jetpack_page_jetpack_modules {
|
||||
.wrap {
|
||||
@include breakpoint(phone){
|
||||
padding: 0 0 1em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.page-content.configure {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.configure .frame {
|
||||
|
||||
&.top {
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
padding-top: em(20px);
|
||||
position: relative;
|
||||
top: auto;
|
||||
|
||||
&.fixed {
|
||||
background: #f9f9f9;
|
||||
border-bottom: 1px solid #e9e9e9;
|
||||
padding-left: 160px;
|
||||
margin-top: -6px;
|
||||
position: fixed;
|
||||
right: 0;
|
||||
top: 32px;
|
||||
width: 100%;
|
||||
z-index: 4;
|
||||
box-shadow: 0 2px 2px -2px #eee;
|
||||
|
||||
@media (max-width: 782px) {
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
padding-top: em(20px);
|
||||
position: relative;
|
||||
top: auto;
|
||||
}
|
||||
@media (max-width: 600px) {
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.tablenav.top {
|
||||
float: left;
|
||||
|
||||
.actions {
|
||||
@media (max-width: 900px) {
|
||||
display: block;
|
||||
}
|
||||
@media (max-width: 782px) {
|
||||
margin-top: 6px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.jp-frame-top-fixed .configure {
|
||||
padding-top: 94px;
|
||||
}
|
||||
|
||||
.filter-search {
|
||||
display: none;
|
||||
float: right;
|
||||
margin-top: 10px;
|
||||
@media (max-width: 782px) {
|
||||
display: block;
|
||||
}
|
||||
@media (max-width: 530px) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.module-actions.landing-page {
|
||||
float: right;
|
||||
margin-right: 15px;
|
||||
|
||||
a {
|
||||
font-size: 0.6em;
|
||||
}
|
||||
}
|
||||
|
||||
.table-bordered.jetpack-modules {
|
||||
border: none;
|
||||
margin-bottom: 0;
|
||||
tr.jetpack-module {
|
||||
|
||||
th {
|
||||
border-left: 0;
|
||||
padding: 14px 4px 0;
|
||||
input {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
&:hover {
|
||||
.genericon {
|
||||
display: inline-block;
|
||||
}
|
||||
td .row-actions span a {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
&.active {
|
||||
th,
|
||||
td {
|
||||
background: #f7fcfe;
|
||||
}
|
||||
th {
|
||||
border-left: 4px solid #2ea2cc;
|
||||
padding-left: 0px;
|
||||
}
|
||||
td {
|
||||
&:first-child {
|
||||
border-left: 4px solid #2ea2cc;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.unavailable {
|
||||
opacity: 0.3;
|
||||
input {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
&#vaultpress {
|
||||
opacity: 1;
|
||||
}
|
||||
&.deprecated {
|
||||
span {
|
||||
color: #888;
|
||||
}
|
||||
.dep-msg {
|
||||
margin-right: 10px;
|
||||
color: #555;
|
||||
}
|
||||
}
|
||||
th,
|
||||
td {
|
||||
background: #fff;
|
||||
margin: 0;
|
||||
-webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
|
||||
box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
|
||||
|
||||
}
|
||||
td {
|
||||
padding: 10px 10px 8px 14px;
|
||||
line-height: 25px;
|
||||
|
||||
&:first-child {
|
||||
border-left: 4px solid #fff;
|
||||
}
|
||||
.row-actions {
|
||||
float: right;
|
||||
padding: 0 0 1px;
|
||||
visibility: visible;
|
||||
|
||||
span {
|
||||
margin-left: 5px;
|
||||
a {
|
||||
opacity: 0;
|
||||
&:focus {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 530px) {
|
||||
display: none;
|
||||
}
|
||||
@include breakpoint(tablet){
|
||||
display: block;
|
||||
padding-left: 10px;
|
||||
visibility: visible;
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
&>thead>tr>th {
|
||||
border: 0;
|
||||
vertical-align: middle;
|
||||
|
||||
&:last-child {
|
||||
padding-right: 0;
|
||||
|
||||
@include breakpoint(tablet){
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
td {
|
||||
background: #fff;
|
||||
}
|
||||
#doaction {
|
||||
margin-top: 0;
|
||||
|
||||
@media (max-width: 782px) {
|
||||
padding: 10px 7px;
|
||||
}
|
||||
}
|
||||
.checkall {
|
||||
margin-top: 1px;
|
||||
}
|
||||
.filter-search {
|
||||
margin-top: 8px;
|
||||
}
|
||||
.genericon {
|
||||
color: #999;
|
||||
display: none;
|
||||
margin: 7px 3px 0;
|
||||
|
||||
@include breakpoint(desktop){
|
||||
display: inline-block;
|
||||
};
|
||||
}
|
||||
.med {
|
||||
width: 70px;
|
||||
}
|
||||
.sm {
|
||||
width: 30px;
|
||||
}
|
||||
@media (max-width: 782px) {
|
||||
.check-column {
|
||||
width: 50px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.fixed-top .check-column {
|
||||
padding: 8px 10px 0 10px;
|
||||
width: 2.2em;
|
||||
}
|
||||
.wrap {
|
||||
margin: 0;
|
||||
padding: 0 1.5em 1em;
|
||||
overflow: hidden;
|
||||
|
||||
h2 {
|
||||
font-size: 24px;
|
||||
font-weight: 400;
|
||||
}
|
||||
.manage-left {
|
||||
float: left;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 63%;
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
}
|
||||
th {
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
@media (max-width: 782px) {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.manage-right {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
/*position: absolute;
|
||||
right: 0;*/
|
||||
float: right;
|
||||
width: 35%;
|
||||
z-index: 1;
|
||||
|
||||
p {
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
color: #bbb;
|
||||
padding-top: 2px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
clear: left;
|
||||
}
|
||||
.bumper {
|
||||
margin-left: 33px;
|
||||
}
|
||||
&.show {
|
||||
display: block;
|
||||
// position: fixed;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
position: absolute;
|
||||
z-index: 100000; // sits on top of wp-admin bar
|
||||
}
|
||||
.search-bar {
|
||||
margin-bottom: 18px;
|
||||
max-width: 300px;
|
||||
}
|
||||
p.search-box {
|
||||
float: none;
|
||||
height: auto;
|
||||
margin-bottom: 0;
|
||||
position: relative;
|
||||
|
||||
input[type='search'] {
|
||||
padding: 0 8px;
|
||||
width: 90%;
|
||||
line-height: initial;
|
||||
|
||||
@media (max-width: 782px) {
|
||||
float: left;
|
||||
padding: 9px 8px;
|
||||
}
|
||||
}
|
||||
input[type="submit"] {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.button-group {
|
||||
.button {
|
||||
outline: none;
|
||||
}
|
||||
}
|
||||
.subsubsub {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
a {
|
||||
padding: 0;
|
||||
line-height: inherit;
|
||||
}
|
||||
.current{
|
||||
padding:1px 5px;
|
||||
border-radius:2px;
|
||||
margin-left:-5px;
|
||||
background: #0D72B2;
|
||||
color: #fff;
|
||||
|
||||
.count{
|
||||
color: #BCD7E7;
|
||||
font-weight:200;
|
||||
}
|
||||
}
|
||||
|
||||
li {
|
||||
display: block;
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 782px) {
|
||||
background: #fff;
|
||||
bottom: 0;
|
||||
display: none;
|
||||
min-width: 300px;
|
||||
position: fixed;
|
||||
right: 0;
|
||||
top: 0;
|
||||
z-index: 13;
|
||||
box-shadow: 0 1px 20px 5px rgba(0, 0, 0, 0.1);
|
||||
|
||||
.bumper {
|
||||
margin: 13px;
|
||||
}
|
||||
.navbar-form {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
} // < 782
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 782px) {
|
||||
|
||||
// Fix to override particular wp-list-table changes in core - July 2015
|
||||
.wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.column-primary):not(.check-column) {
|
||||
padding: 11px 10px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.jetpack_page_jetpack_modules {
|
||||
#doaction {
|
||||
padding: 7px 14px;
|
||||
}
|
||||
.fixed-top thead .check-column {
|
||||
padding: 28px 10px 0 10px;
|
||||
}
|
||||
.filter-search {
|
||||
margin-top: 28px;
|
||||
.button {
|
||||
padding: 7px 14px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.manage-right.show .subsubsub li {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
} // < 782
|
||||
|
||||
@media (max-width: 650px) {
|
||||
|
||||
.table-bordered.jetpack-modules tr.jetpack-module.deprecated td .row-actions {
|
||||
float: none;
|
||||
padding-left: 18px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 430px) {
|
||||
|
||||
// Hide activate / config links on really small screens. Users can still utlize these actions by tapping on the title of the module
|
||||
.table-bordered.jetpack-modules tr.jetpack-module td .row-actions {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.table-bordered.jetpack-modules tr.jetpack-module.deprecated td .row-actions {
|
||||
display: block;
|
||||
}
|
||||
} // < 430
|
Reference in a new issue