mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
Move styling from some elements from IDs to classes
Closes #1605 * Move styling for `#signup`, `#forgotten`, `#reset`, `#login`, `#usermenu` and `#notifications` to classes No IDs have been added or removed, so any events shouldn't be affected and it passes all tests.
This commit is contained in:
parent
1a4c13a63f
commit
223b23ec4a
7 changed files with 12 additions and 12 deletions
|
@ -55,7 +55,7 @@
|
|||
1. Login
|
||||
============================================================================= */
|
||||
|
||||
#login {
|
||||
.login-form {
|
||||
@include box-sizing(border-box);
|
||||
max-width: 530px;
|
||||
color: lighten($midgrey, 15%);
|
||||
|
@ -182,7 +182,7 @@
|
|||
2. Signup and Reset
|
||||
============================================================================= */
|
||||
|
||||
#signup, #reset {
|
||||
.signup-form, .reset-form {
|
||||
@include box-sizing(border-box);
|
||||
max-width: 280px;
|
||||
color: lighten($midgrey, 15%);
|
||||
|
@ -270,7 +270,7 @@
|
|||
3. Forgotten
|
||||
============================================================================= */
|
||||
|
||||
#forgotten {
|
||||
.forgotten-form {
|
||||
@include box-sizing(border-box);
|
||||
max-width: 280px;
|
||||
color: lighten($midgrey, 15%);
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
.editor {
|
||||
|
||||
#notifications {
|
||||
.notifications {
|
||||
@include breakpoint($biggerthan-mobile) {
|
||||
bottom: 40px;
|
||||
}
|
||||
|
@ -376,7 +376,7 @@
|
|||
|
||||
body.zen {
|
||||
background: lighten($lightbrown, 3%);
|
||||
#usermenu {display: none;}
|
||||
.usermenu {display: none;}
|
||||
#global-header, #publish-bar {
|
||||
opacity: 0;
|
||||
height: 0;
|
||||
|
|
|
@ -540,7 +540,7 @@ nav {
|
|||
}//.navbar
|
||||
|
||||
// The user menu in the top right corner of the screen
|
||||
#usermenu {
|
||||
.usermenu.subnav {
|
||||
position:absolute;
|
||||
top:0;
|
||||
right:0;
|
||||
|
@ -636,7 +636,7 @@ nav {
|
|||
|
||||
}
|
||||
|
||||
#usermenu {
|
||||
.usermenu {
|
||||
position:fixed;
|
||||
top:0;
|
||||
right:auto;
|
||||
|
@ -928,7 +928,7 @@ nav {
|
|||
Notifications
|
||||
========================================================================== */
|
||||
|
||||
#notifications {
|
||||
.notifications {
|
||||
@include breakpoint($biggerthan-mobile) {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<form id="forgotten" method="post" novalidate="novalidate">
|
||||
<form id="forgotten" class="forgotten-form" method="post" novalidate="novalidate">
|
||||
<div class="email-wrap">
|
||||
<input class="email" type="email" placeholder="Email Address" name="email" autocapitalize="off" autocorrect="off">
|
||||
</div>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<form id="login" method="post" novalidate="novalidate">
|
||||
<form id="login" class="login-form" method="post" novalidate="novalidate">
|
||||
<div class="email-wrap">
|
||||
<input class="email" type="email" placeholder="Email Address" name="email" autocapitalize="off" autocorrect="off">
|
||||
</div>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<form id="reset" method="post" novalidate="novalidate">
|
||||
<form id="reset" class="reset-form" method="post" novalidate="novalidate">
|
||||
<div class="password-wrap">
|
||||
<input class="password" type="password" placeholder="Password" name="newpassword" />
|
||||
</div>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<form id="signup" method="post" novalidate="novalidate">
|
||||
<form id="signup" class="signup-form" method="post" novalidate="novalidate">
|
||||
<div class="name-wrap">
|
||||
<input class="name" type="text" placeholder="Full Name" name="name" autocorrect="off" />
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue