_connection-landing.scss 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. // ==========================================================================
  2. // Jetpack Connection Landing Page ('Please connect jetpack')
  3. //===========================================================================
  4. // ==========================================================================
  5. // Jetpack NUX Page(s) (main jetpack admin page + jumpstart)
  6. //===========================================================================
  7. // 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
  8. // Once everything is tested, I'll remove all the comments below as well. - @jeffgolenski
  9. // wrapping these common element names temporarily until I can audit - jeff
  10. .jp-content {
  11. .hide {
  12. display: none;
  13. }
  14. .landing {
  15. margin: 0 auto;
  16. z-index: 2;
  17. position: relative;
  18. }
  19. h1 {
  20. font-weight: 400;
  21. line-height: 1.75em;
  22. position: relative;
  23. z-index: 3;
  24. width: 100%;
  25. text-align: center;
  26. &.success {
  27. color: $green;
  28. }
  29. }
  30. .footer {
  31. padding-top: 0;
  32. margin-top: 0;
  33. background-image: none;
  34. &:before {
  35. height: inherit;
  36. }
  37. }
  38. .more-info:before {
  39. content: none;
  40. }
  41. } //.jp-content
  42. .landing {
  43. .wpcom-connect {
  44. min-height: 400px;
  45. }
  46. }
  47. .wpcom-connect {
  48. .j-col {
  49. padding: 0;
  50. }
  51. }
  52. // Breakpoints
  53. @include breakpoint(large-desktop) {
  54. .jp-content {
  55. .landing {
  56. padding: 0 2em;
  57. }
  58. .footer {
  59. padding-top: 1.5em;
  60. }
  61. }
  62. } // large-desktop
  63. @include breakpoint(large-phone) {
  64. .jp-content {
  65. .landing {
  66. padding: 0 .5em;
  67. }
  68. }
  69. } // large-phone