-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Andy Martha
committed
Feb 14, 2014
0 parents
commit 51c8887
Showing
7 changed files
with
323 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,237 @@ | ||
.wordrupal-top-menu | ||
{ | ||
height:28px; | ||
min-height:28px; | ||
width:100%; | ||
min-width:960px; | ||
position:absolute; | ||
top:0px; | ||
left:0px; | ||
border-bottom:solid #393939 1px; | ||
margin:0px; | ||
float:left; | ||
background-color:#464646; | ||
} | ||
|
||
.wordrupal-top-menu > li | ||
{ | ||
float:left; | ||
padding-right:12px; | ||
padding-left:12px; | ||
list-style:none; | ||
line-height:30px; | ||
font-size:13px; | ||
border-right: 1px solid #333; | ||
} | ||
|
||
.wordrupal-top-menu a | ||
{ | ||
color:#cccccc !important; | ||
text-decoration:none; | ||
} | ||
|
||
|
||
|
||
|
||
|
||
.wordrupal-first-menu | ||
{ | ||
position:absolute; | ||
top:60px; | ||
height:70px; | ||
width: 146px; | ||
left:0px; | ||
border-bottom:solid #393939 1px; | ||
margin:0px; | ||
float:left; | ||
background-color:#ffffff; | ||
} | ||
|
||
.wordrupal-first-menu > li | ||
{ | ||
padding-left:4px; | ||
list-style:none; | ||
line-height:20px; | ||
font-size:12px; | ||
border-right: 1px solid #333; | ||
} | ||
|
||
.wordrupal-first-menu a | ||
{ | ||
color:#21759b !important; | ||
text-decoration:none; | ||
} | ||
|
||
.wordrupal-first-menu a:hover, .wordrupal-first-menu li:hover | ||
{ | ||
color:#000000 !important; | ||
background-color:#eaf2fa; | ||
text-decoration:none; | ||
} | ||
|
||
|
||
.wordrupal-second-menu | ||
{ | ||
position:absolute; | ||
top:130px; | ||
left:0px; | ||
width: 146px; | ||
margin:0px; | ||
float:left; | ||
background-color:#ececec; | ||
font-weight: bold; | ||
} | ||
|
||
.wordrupal-second-menu > li | ||
{ | ||
padding-left:4px; | ||
list-style:none; | ||
height:30px; | ||
font-size:12px; | ||
border-right: 4px solid #dfdfdf; | ||
border-top:solid #f9f9f9 1px; | ||
border-bottom:solid #dfdfdf 1px; | ||
padding: 5px 5px; | ||
font-weight:bold; | ||
} | ||
|
||
.wordrupal-second-menu a | ||
{ | ||
color:#21759b !important; | ||
text-decoration:none; | ||
} | ||
|
||
.wordrupal-second-menu a:hover, .wordrupal-second-menu li:hover | ||
{ | ||
color:#ff0000 !important; | ||
background-color:#dfdfdf; | ||
text-decoration:none; | ||
} | ||
|
||
#icon1 | ||
{ | ||
width:20px;height:20px;margin-top:4px;background-image: url(http://andymartha.com/caffeine-monitor/wp-includes/images/admin-bar-sprite.png?d=20111130);background-position: 0px -76px;background-repeat: no-repeat; | ||
} | ||
|
||
#icon2 | ||
{ | ||
width:20px;height:20px;margin-top:4px;background-image: url(http://andymartha.com/caffeine-monitor/wp-includes/images/admin-bar-sprite.png?d=20111130);background-position: -2px -159px;background-repeat: no-repeat; | ||
} | ||
|
||
#icon3 | ||
{ | ||
width:20px;height:20px;margin-top:4px;background-image: url(http://andymartha.com/caffeine-monitor/wp-includes/images/admin-bar-sprite.png?d=20111130);background-position: -1px -134px;background-repeat: no-repeat; | ||
} | ||
|
||
#icon4 | ||
{ | ||
width:20px;height:20px;margin-top:4px;background-image: url(http://andymartha.com/caffeine-monitor/wp-includes/images/admin-bar-sprite.png?d=20111130);background-position: -2px -182px;background-repeat: no-repeat; | ||
} | ||
|
||
#icon5 | ||
{ | ||
position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: -269px -33px;background-repeat: no-repeat; | ||
} | ||
|
||
#icon5:hover | ||
{ | ||
position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: -269px 0px;background-repeat: no-repeat; | ||
} | ||
|
||
#icon6 | ||
{ | ||
position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: -119px -33px;background-repeat: no-repeat; | ||
} | ||
|
||
#icon6:hover | ||
{ | ||
position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: -119px 0px;background-repeat: no-repeat; | ||
} | ||
|
||
#icon7 | ||
{ | ||
position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: -89px -33px;background-repeat: no-repeat; | ||
} | ||
|
||
#icon7:hover | ||
{ | ||
position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: -89px 0px;background-repeat: no-repeat; | ||
} | ||
|
||
#icon8 | ||
{ | ||
position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: -149px -33px;background-repeat: no-repeat; | ||
} | ||
|
||
#icon8:hover | ||
{ | ||
position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: -149px 0px;background-repeat: no-repeat; | ||
} | ||
|
||
#icon9 | ||
{ | ||
position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: -29px -33px;background-repeat: no-repeat; | ||
} | ||
|
||
#icon9:hover | ||
{ | ||
position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: -29px 0px;background-repeat: no-repeat; | ||
} | ||
|
||
#icon10 | ||
{ | ||
position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: 1px -33px;background-repeat: no-repeat; | ||
} | ||
|
||
#icon10:hover | ||
{ | ||
position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: 1px 0px;background-repeat: no-repeat; | ||
} | ||
|
||
#icon11 | ||
{ | ||
position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: -179px -33px;background-repeat: no-repeat; | ||
} | ||
|
||
#icon11:hover | ||
{ | ||
position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: -179px 0px;background-repeat: no-repeat; | ||
} | ||
|
||
#icon12 | ||
{ | ||
position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: -300px -33px;background-repeat: no-repeat; | ||
} | ||
|
||
#icon12:hover | ||
{ | ||
position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: -300px 0px;background-repeat: no-repeat; | ||
} | ||
|
||
#icon13 | ||
{ | ||
position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: -209px -33px;background-repeat: no-repeat; | ||
} | ||
|
||
#icon13:hover | ||
{ | ||
position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: -209px 0px;background-repeat: no-repeat; | ||
} | ||
|
||
#icon14 | ||
{ | ||
position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: -239px -33px;background-repeat: no-repeat; | ||
} | ||
|
||
#icon14:hover | ||
{ | ||
position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: -239px 0px;background-repeat: no-repeat; | ||
} | ||
|
||
#homeicon | ||
{ | ||
position:absolute; top:28px; left:0px; float:left; height:31px; width:160px; | ||
} | ||
|
||
|
||
|
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,11 @@ | ||
name = wordrupal | ||
description = "This module changes Drupal into Wordpress to fool your friends." | ||
core = 7.x | ||
configure = admin/config/wordrupal | ||
|
||
; Information added by drupal.org packaging script on 2012-11-01 | ||
version = "7.x-1.0-rc5" | ||
core = "7.x" | ||
project = "wordrupal" | ||
datestamp = "1351786623" | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,65 @@ | ||
<?php | ||
|
||
/** | ||
* @file | ||
* | ||
*/ | ||
|
||
/** | ||
* Implements hook_help(). | ||
*/ | ||
function wordrupal_help($path, $arg) { | ||
switch ($path) { | ||
case 'admin/help#wordrupal': | ||
return t('<p>This module changes Drupal into Wordpress to fool your friends.</p>'); | ||
case 'admin/settings/wordrupal': | ||
return t('This module changes Drupal into Wordpress to fool your friends.'); | ||
} | ||
} | ||
|
||
|
||
/** | ||
* Implements hook_init(). | ||
*/ | ||
function wordrupal_init() { | ||
if ($_GET['q'] == "wordrupal") | ||
{ | ||
drupal_add_css(drupal_get_path('module', 'wordrupal') . '/wordrupal.css'); | ||
drupal_add_js(drupal_get_path('module', 'wordrupal') . '/wordrupal.js'); | ||
drupal_set_message('Hello PhotoMatt!'); | ||
} | ||
} | ||
|
||
|
||
/** | ||
* Implements hook_menu(). | ||
*/ | ||
function wordrupal_menu() { | ||
$items = array(); | ||
|
||
$items['wordrupal'] = array( | ||
'title' => 'Welcome to your new WordPress site!', | ||
'page callback' => 'wordrupal_render_array', | ||
'access callback' => TRUE, | ||
'type' => MENU_NORMAL_ITEM, | ||
); | ||
return $items; | ||
} | ||
|
||
/** | ||
* Menu callback; page callback returning a render array. | ||
*/ | ||
function wordrupal_render_array() { | ||
$build = array( | ||
'string_paragraph' => array( | ||
'#type' => 'markup', | ||
'#markup' => '<p>If you need help getting started, check out our documentation on First Steps with WordPress. If youd rather dive right in, here are a few things most people do first when they set up a new WordPress site. If you need help, use the Help tabs in the upper right corner to get information on how to use your current screen and where to go for more assistance.</p>', | ||
), | ||
'why_render_arrays' => array( | ||
'#items' => array('This is a render array', 'This is a module generated list.'), | ||
'#title' => 'Whatever camp this is, both CMS systems are great', | ||
'#theme' => 'item_list', | ||
), | ||
); | ||
return $build; | ||
} |