-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleaned up theme styles and naming conventions
- Loading branch information
Showing
7 changed files
with
208 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"tabWidth": 4, | ||
"semi": false, | ||
"singleQuote": true, | ||
"useTabs": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
/* | ||
* Style Dashboard | ||
* By Drew Baker - 2011 | ||
* [email protected] | ||
* | ||
*/ | ||
|
||
/* | ||
* Logo Icon | ||
*/ | ||
#wpwrap #wpadminbar #wp-admin-bar-wp-logo > .ab-item { | ||
background-image: url(../favicon.png); | ||
background-position: center center; | ||
background-repeat: no-repeat; | ||
background-size: 26px auto; | ||
background-color: #ffffff; | ||
} | ||
#wpwrap #wpadminbar #wp-admin-bar-wp-logo > .ab-item span { | ||
visibility: hidden; | ||
} | ||
|
||
/* | ||
* Turn off menus | ||
*/ | ||
body:not(.is-developer) #toplevel_page_edit-post_type-acf-field-group { | ||
display: none; | ||
} | ||
/* | ||
#menu-posts { | ||
display: none; | ||
} | ||
#menu-media { | ||
display: none; | ||
} | ||
#menu-links { | ||
display: none; | ||
} | ||
#menu-pages { | ||
display: none; | ||
} | ||
#menu-appearance { | ||
display: none; | ||
} | ||
#menu-plugins { | ||
display: none; | ||
} | ||
#menu-users { | ||
display: none; | ||
} | ||
#menu-tools { | ||
display: none; | ||
} | ||
#menu-settings { | ||
display: none; | ||
} | ||
*/ | ||
#menu-comments { | ||
display: none; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
/* | ||
* Style login page | ||
*/ | ||
|
||
/* | ||
* Globals | ||
*/ | ||
:root { | ||
--main-color: white; | ||
--accent-color: black; | ||
--text-color: black; | ||
--hover-text-color: #00a0d2; | ||
} | ||
html { | ||
background: var(--main-color); | ||
} | ||
body.login { | ||
font-size: 14px; | ||
background: var(--main-color); | ||
line-height: 1.4; | ||
padding: 0; | ||
margin: 0; | ||
border: none; | ||
width: 100%; | ||
} | ||
a { | ||
outline: none; | ||
} | ||
|
||
/* | ||
* Login Banner Image | ||
*/ | ||
#login h1 a { | ||
background-image: url(../images/logo.svg); | ||
background-position: center center; | ||
margin: 0; | ||
background-size: auto; | ||
width: auto; | ||
} | ||
|
||
/* | ||
* Login Form | ||
*/ | ||
#loginform { | ||
box-shadow: none; | ||
background: var(--main-color); | ||
} | ||
#loginform label { | ||
color: var(--text-color); | ||
} | ||
#loginform input[type='text'], | ||
#loginform input[type='password'] { | ||
background: #f2f2f2; | ||
border: 1px solid #cccccc; | ||
font-family: inherit; | ||
padding: 5px 8px; | ||
box-sizing: border-box; | ||
} | ||
#loginform input[type='checkbox'], | ||
#loginform input[type='radio'] { | ||
vertical-align: baseline; | ||
} | ||
|
||
/* | ||
* Login Submit Button | ||
*/ | ||
#wp-submit { | ||
background: var(--accent-color); | ||
color: var(--main-color); | ||
border: none; | ||
text-shadow: none; | ||
box-shadow: none; | ||
text-transform: uppercase; | ||
border: 2px solid var(--accent-color); | ||
height: initial; | ||
padding-top: 2px; | ||
} | ||
#wp-submit:hover, | ||
#wp-submit:focus { | ||
background: var(--main-color); | ||
color: var(--accent-color); | ||
border: 2px solid var(--text-color); | ||
} | ||
|
||
/* | ||
* "Lost password" link | ||
*/ | ||
#nav { | ||
text-shadow: none; | ||
} | ||
.login #nav a { | ||
text-decoration: none; | ||
padding: 0 1px; | ||
text-shadow: none; | ||
color: var(--text-color); | ||
text-decoration: underline; | ||
} | ||
.login #nav a:hover, | ||
.login #nav a:focus { | ||
color: var(--hover-text-color) !important; | ||
font-weight: normal; | ||
text-shadow: none; | ||
} | ||
|
||
/* | ||
* "Back to blog" link header | ||
*/ | ||
#backtoblog { | ||
display: none; | ||
} | ||
.login .message, | ||
.login #login_error { | ||
background-color: var(--main-color); | ||
color: var(--text-color); | ||
} | ||
.login #login_error a { | ||
color: var(--text-color); | ||
} | ||
.login #login_error a:hover, | ||
.login #login_error a:focus { | ||
color: var(--hover-text-color); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
/* | ||
Theme Name: MPC 2019 | ||
Theme Name: Stackhaus | ||
Theme URI: http://funkhaus.us | ||
Description: A Vue theme for WordPress. Depends on "Rest Easy" plugin by Funkhaus to properly work. | ||
Description: A theme to turn WordPress into a headless CMS | ||
Author: Funkhaus | ||
Author URI: http://www.funkhaus.us | ||
Text Domain: vuehaus | ||
Text Domain: stackhaus | ||
Version: 1.0.0 | ||
*/ |