5175fd0f by Kevin Burton

updated branding

1 parent 5f1bcaad
1 <?php 1 <?php
2
3 namespace Tz\WordPress\Tools\Branding; 2 namespace Tz\WordPress\Tools\Branding;
4 use Tz\WordPress\Tools; 3 use Tz\WordPress\Tools;
5 4
5
6 call_user_func(function() {
7 Tools\add_actions(__NAMESPACE__ . '\Actions');
8 });
9
6 class Actions { 10 class Actions {
11
7 public static function admin_print_styles() { 12 public static function admin_print_styles() {
8 _enqueue_style('branding-style', Tools\url('css/tenzing.css', __FILE__)); 13 _enqueue_style('branding-style', Tools\url('css/tenzing.css', __FILE__));
9 } 14 }
10 15
11 public static function admin_head() { 16 public static function admin_head() {
17
18
19
20 /*
12 global $current_user; 21 global $current_user;
13 get_currentuserinfo(); 22 get_currentuserinfo();
14 23
15 include('views/header.php'); 24 include('views/header.php');
25 */
16 } 26 }
17 27
18 public static function admin_footer() { 28 public static function admin_footer_text() {
19 include('views/footer.php'); 29 echo '&copy; 2010 Tenzing Communications Inc.';
20 } 30 }
21 31
22 public static function login_head() { 32 public static function login_head() {
23 echo '<link rel="stylesheet" type="text/css" href="' . Tools\url('css/tz_login.css', __FILE__) . '" />'; 33 echo '<link rel="stylesheet" type="text/css" href="' . Tools\url('css/tz_login.css', __FILE__) . '" />';
24 } 34 }
35
36
25 } 37 }
26 38
27 Tools\add_actions(__NAMESPACE__ . '\Actions'); 39 //Tools\add_actions(__NAMESPACE__ . '\Actions');
40
28 ?> 41 ?>
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -19,7 +19,57 @@ ...@@ -19,7 +19,57 @@
19 * 19 *
20 */ 20 */
21 21
22 #header-logo {
23 display:none;
24 /*
25 background-color:#3b0d32;
26 color:#fff;
27 */
28 }
29
30 #wphead { background:#3b0d32; height:56px; border-bottom: 2px solid #71aed7; }
31 #footer { background:#3b0d32; color:#fadfb3; }
32
33 #footer {
34 border-style:solid;
35 border-top:1px solid;
36 margin-top:-46px;
37 border-color: #71aed7;
38 border:none;
39 }
40
41 #wphead h1 {
42 background: transparent url(../images/tz.gif) left no-repeat;
43 padding-left:200px;
44 color:#fff;
45 height: 35px;
46 overflow: hidden;
47 }
48
49 #wphead h1 a {
50 display: inline-block;
51 margin-top:4px;
52 }
53
54 #wphead h1 a,
55 #wphead h1 a span { color:#f7bd55; font-family: Georgia, Helvetica, Serif; font-style: italic;}
22 56
57 #wphead > a { color:#fff; }
58
59 #user_info {margin-top:5px; color:#fff; }
60 #user_info p a, #user_info a { color: #fadfb3; }
61 #favorite-actions { margin: 15px 12px 0; }
62
63 #user_info a:link, #user_info a:visited, #footer a:link, #footer a:visited {
64 color:#f7bd55;
65 text-decoration:none;
66 }
67
68 .wp-admin { background:#fdfdee;}
69
70 #backtoblog { background:#3b0d32; color:#fadfb3; }
71
72 /*
23 #wphead { display:none; } 73 #wphead { display:none; }
24 74
25 #TzBrandingHeader { 75 #TzBrandingHeader {
...@@ -35,7 +85,8 @@ ...@@ -35,7 +85,8 @@
35 #TzBrandingHeader_UtilityMenu a { color: #fce4c0; text-decoration:none; } 85 #TzBrandingHeader_UtilityMenu a { color: #fce4c0; text-decoration:none; }
36 #TzBrandingHeader_UtilityMenu a:hover { color: #f7bd55; text-decoration:underline;} 86 #TzBrandingHeader_UtilityMenu a:hover { color: #f7bd55; text-decoration:underline;}
37 87
38 #footer { display:none;} 88 /* #footer { display:none;} */
89
39 #TzBrandingFooter { 90 #TzBrandingFooter {
40 background-color:#3B0D32; 91 background-color:#3B0D32;
41 color:#f7bd55; 92 color:#f7bd55;
...@@ -47,9 +98,4 @@ ...@@ -47,9 +98,4 @@
47 margin-top: -28px; 98 margin-top: -28px;
48 } 99 }
49 #TzBrandingFooter a { color:#fff; text-decoration:none; } 100 #TzBrandingFooter a { color:#fff; text-decoration:none; }
50
51 #wpcontent {
52 /*background: #FFFFFF url(../images/backing.gif) top left repeat-y;*/
53 }
54
55 .update-nag { display:none; }
...\ No newline at end of file ...\ No newline at end of file
101 */
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -67,3 +67,14 @@ body.login { ...@@ -67,3 +67,14 @@ body.login {
67 } 67 }
68 68
69 p#backtoblog { display:block; } 69 p#backtoblog { display:block; }
70
71 #backtoblog { background:#3b0d32; color:#fadfb3; border:none; }
72 .login #backtoblog a {
73 color:#855d7e;
74 }
75
76 #user_pass, #user_login, #user_email {
77 font-family: Georgia, Helvetica, Serif;
78 font-size:18px;
79 font-style: italic;
80 }
...\ No newline at end of file ...\ No newline at end of file
......