auth.scss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. body {
  2. background: #f1f1f1;
  3. box-shadow: none;
  4. margin: 100px auto 24px;
  5. padding: 0;
  6. }
  7. #wc-logo {
  8. border: 0;
  9. margin: 0 0 24px;
  10. padding: 0;
  11. text-align: center;
  12. img {
  13. max-width: 50%;
  14. }
  15. }
  16. .wc-auth-content {
  17. background: #fff;
  18. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);
  19. overflow: hidden;
  20. padding: 24px 24px 0;
  21. zoom: 1;
  22. h1, h2, h3, table {
  23. border: 0;
  24. clear: none;
  25. color: #666;
  26. margin: 0 0 24px;
  27. padding: 0;
  28. }
  29. p, ul {
  30. color: #666;
  31. font-size: 1em;
  32. line-height: 1.75em;
  33. margin: 0 0 24px;
  34. }
  35. p {
  36. padding: 0;
  37. }
  38. a {
  39. color: #a16696;
  40. &:hover, &:focus {
  41. color: #111;
  42. }
  43. }
  44. .wc-auth-login {
  45. label {
  46. color: #999;
  47. display: block;
  48. margin-bottom: 0.5em;
  49. }
  50. input {
  51. box-sizing: border-box;
  52. font-size: 1.3em;
  53. padding: 0.5em;
  54. width: 100%;
  55. }
  56. .wc-auth-actions {
  57. padding: 0;
  58. .wc-auth-login-button {
  59. float: none;
  60. width: 100%;
  61. }
  62. }
  63. }
  64. }
  65. .wc-auth-permissions {
  66. list-style: disc inside;
  67. padding: 0;
  68. li {
  69. font-size: 1em;
  70. }
  71. }
  72. .wc-auth-logged-in-as {
  73. background: #f5f5f5;
  74. border-bottom: 2px solid #eee;
  75. line-height: 70px;
  76. margin: 0 0 24px;
  77. padding: 0 1em 0 0;
  78. p {
  79. margin: 0;
  80. line-height: 70px;
  81. }
  82. img {
  83. float: left;
  84. height: 70px;
  85. margin: 0 1em 0 0;
  86. }
  87. .wc-auth-logout {
  88. float: right;
  89. }
  90. }
  91. .wc-auth .wc-auth-actions {
  92. overflow: hidden;
  93. padding-left: 24px;
  94. .button {
  95. background: #f7f7f7;
  96. border-bottom-width: 2px;
  97. border: 1px solid #d7d7d7;
  98. box-sizing: border-box;
  99. color: #777;
  100. float: right;
  101. font-size: 1.25em;
  102. height: auto;
  103. line-height: 1em;
  104. padding: 1em 2em;
  105. text-align: center;
  106. width: 50%;
  107. &:hover, &:focus {
  108. background: #fcfcfc;
  109. }
  110. }
  111. .button-primary {
  112. background: #ad6ea1;
  113. border-color: #a16696;
  114. box-shadow: inset 0 1px 0 rgba( 255, 255, 255, 0.2 ), 0 1px 0 rgba( 0, 0, 0, 0.15 );
  115. color: #fff;
  116. float: right;
  117. opacity: 1;
  118. text-shadow: 0 -1px 1px #8a4f7f, 1px 0 1px #8a4f7f, 0 1px 1px #8a4f7f, -1px 0 1px #8a4f7f;
  119. &:hover, &:focus {
  120. background: #b472a8;
  121. color: #fff;
  122. }
  123. }
  124. .wc-auth-approve {
  125. float: right;
  126. }
  127. .wc-auth-deny {
  128. float: left;
  129. margin-left: -24px;
  130. }
  131. }