diff --git a/level_omega/block-any_vote-company_payment.tpl.php b/level_omega/block-any_vote-company_payment.tpl.php new file mode 100644 index 0000000..93b8366 --- /dev/null +++ b/level_omega/block-any_vote-company_payment.tpl.php @@ -0,0 +1,35 @@ + +votes['yes'] === NULL) ? 0 : $block->votes['yes']; ?> +votes['no'] === NULL) ? 0 : $block->votes['no']; ?> + + +
+ +subject): ?> +

subject ?>

+ + +
question ?>
+ +
+ + +
widget ?>
+ +
+ total_votes == '0'): ?>--% + + total_votes >> '0'): ?> + total_votes,1); ?>% + +
+ +
+ +
content ?>
+ +
\ No newline at end of file diff --git a/level_omega/block-any_vote-company_qos.tpl.php b/level_omega/block-any_vote-company_qos.tpl.php new file mode 100644 index 0000000..17a95c2 --- /dev/null +++ b/level_omega/block-any_vote-company_qos.tpl.php @@ -0,0 +1,14 @@ + +
+ +subject): ?> +

subject ?>

+ + +
question ?>
+ +
widget ?>
+
content ?>
+
\ No newline at end of file diff --git a/level_omega/block-any_vote-company_recommendation.tpl.php b/level_omega/block-any_vote-company_recommendation.tpl.php new file mode 100644 index 0000000..df4ba4b --- /dev/null +++ b/level_omega/block-any_vote-company_recommendation.tpl.php @@ -0,0 +1,41 @@ + +votes['yes'] === NULL) ? 0 : $block->votes['yes']; ?> +votes['no'] === NULL) ? 0 : $block->votes['no']; ?> + + +
+ +subject): ?> +

subject ?>

+ + +
question ?>
+ +
+ extra_classes == 'block_has_no_votes'): ?> +
content ?>
+ + + extra_classes !== 'block_has_no_votes'): ?> + + +
+ + + +
+ + + + widget ?> +
+ + +
\ No newline at end of file diff --git a/level_omega/css/dev.css b/level_omega/css/dev.css new file mode 100644 index 0000000..161919b --- /dev/null +++ b/level_omega/css/dev.css @@ -0,0 +1,814 @@ +/* Layout */ +#page { + padding-bottom: 42px; + position: relative; +} + +#site-header { + padding: 25px 0 10px 0; + background: transparent url(../images/icon-beta.gif) 100% 0 no-repeat; +} + +div#branding { + margin-top: 0; +} + +#block-level_user-user_login_logout_links { + padding-right: 75px; +} + +body.not-front #main_wrapper { + padding-bottom: 0; + position: relative; +} + +#header_container, +#content, +#main-content, +#content-top, +#content-bottom, +#footer_wrapper { + position: relative; + clear: both; +} + +#main_content_container { + position: relative; +} + +#footer_main { + margin-top: 14px; + padding-top: 21px; +} + +/* node layout */ +body.not-front #main-content .node .node-column { + width: 340px; + float: left; +} + +body.not-front #main-content .node .first-col { + padding-right: 10px; +} +body.not-front #main-content .node .last-col { + padding-left: 10px; +} + +/* Typography */ +/** + * text colors + * #333 + * #666 + * #21a0e1 + */ + +/* rollover */ +a:hover, ul.pager a:hover { + color: #333; +} +/*html, body,*/ +body.not-front #main-content .node { + font: normal 14px/1.5 Arial, sans-serif; + color: #666; +} + +body.not-front #main-content .node p { + margin: 0; + padding: 0 0 21px 0; +} + +/* heading */ +/*h1#page-title { + font: bold 20px/1em Arial, sans-serif; + color: #333; + text-align: right; + float: right; +}*/ + +body.not-front #main-content .node h2 { + font: bold 30px/1.25em Arial, sans-serif; + color: #21a0e1; + margin: 0; + padding: 0 0 21px 0; +} + +body.not-front #main-content .node h2.section-title { + font: normal 100px/1em Georgia, 'Adobe Garamond Pro', serif; + color: #333; + margin: 0 0 28px 0; + padding: 21px 0 28px 0; + border-bottom: 1px dotted #666; +} + +body.not-front #main-content .node h3 { + font: bold 20px/1.25em Arial, sans-serif; + color: #333; + margin: 0; + padding: 21px 0 14px 0; +} + +body.not-front #main-content .node h4 { + font: bold 14px/1.5 Arial, sans-serif; + color: #333; + margin: 0; + padding: 0; +} + +/* list style*/ +#main-content .node ul { + list-style: disc url(../images/bullet-list.gif); + margin: 0 21px 21px 14px; +} + +#main-content .node ol { + margin: 0 0 21px 21px; +} +#main-content .node ol li { + color: #21a0e1; + font-weight: bold; +} +#main-content .node ol li span { /* need to wrap around text for different color */ + color: #666; + font-weight: normal; +} + +/* Explained page */ + +/* tabulation */ +div.bus_size { + -moz-box-shadow: 0 0 0 transparent; + -webkit-box-shadow: 0 0 0 transparent; + box-shadow: 0 0 0 transparent; + background: #fff url(../images/tabular-top.gif) 50% 0 no-repeat; + padding-top: 25px; + margin-bottom: 35px; +} + +.node .bus_size_heading, +div.bus_accounts_section , +div.bus_conditions_section { + padding: 15px 20px; +} + +.node .bus_size_heading { + margin: 0; + border-bottom: 1px dotted #aaa; + height: auto; +} + +div.bus_accounts_section { + border-bottom: 1px dotted #aaa; + border-top: 0 none; + height: 180px; +} + +div.bus_conditions_section { + background: #f0f0f0 url(../images/tabular-bottom.gif) 50% 100% no-repeat; + height: 185px; +} + +body.not-front #main-content .node .bus_size_heading h3 { + font: bold 30px/1.25em Arial, sans-serif; + color: #21a0e1; + padding: 0; + margin: 0; + position: relative; + top: 0; + left: 0; +} + +body.not-front #main-content .node div.bus_size h4 { + border-top: 0 none; + line-height: 1.25em; + padding-bottom: 14px; +} + +body.not-front #main-content .node h2, +#main-content .node a.section_link, +#main-content .node div.large h3, +#main-content .node div.medium h3, +#main-content .node div.small h3 { + font: bold 30px/1.25em Arial, sans-serif; +} + +body.not-front #main-content .node .intro { + font: bold 20px/24px Arial, sans-serif; +} + +img#terminology { + margin-bottom: 21px; +} + +#main-content .node a.section_link, +#main-content .node .intro { + color: #21a0e1; + padding-top: 0; +} + +div.bus_size ul li { + background: transparent; + padding-left: 0; +} + +.node-type-page #main-content div.bus_size ol { + padding: 0; + margin-left: 21px; +} + +body.not-front #main-content .node h2.glossary-title { + border-top: 1px dotted #666; + padding-top: 21px; + margin-top: 21px; +} +body.not-front #main-content .node h2.first-glossary { + border-top: 0 none; + padding-top: 0; + margin-top: 0; +} + +/* terminology list & table (without JS) */ +#main-content .node ul.term-list, +#main-content .node ul.term-list li { + list-style: none; + padding-bottom: 5px; +} + +#main-content .node ul.term-list { + margin-left: 10px; + margin-right: 10px; +} + +#main-content .node dl, +#main-content .node dl.terminology { + margin: 0; + padding: 0 0 21px 0; + background: 0 none; + +} + +#main-content .node dl.terminology .grid_1 { + width: 220px; +} + +#main-content .node dl.terminology div { + clear: both; + overflow: auto; +} + +#main-content .node dt, +#main-content .node dd { + font: normal 1em/1.5em Arial, sans-serif; + padding-bottom: 0; + display: block; +} + +#main-content .node dt { + font: bold 1em/1.5em Arial, sans-serif; + padding-bottom: 21px; + color: #21a0e1; +} + +#main-content .node dt div, +#main-content .node dd div { + padding: 0; + margin: 0; +} + +/* glossaryToggle JS */ +#main-content .node div.terminology { + width: 700px; + margin: 0; + padding: 0; +} + +#main-content .node div.terminology .inner-wrapper { + background: #fff url(../images/glossary-wrapper.png) 50% 100% no-repeat; + padding: 0 25px; + /*border: 1px solid #ccc; + -moz-border-radius-bottomleft: 5px; + -webkit-border-bottom-left-radius: 5px; + border-bottom-left-radius: 5px; + -moz-border-radius-bottomright: 5px; + -webkit-border-bottom-right-radius: 5px; + border-bottom-right-radius: 5px;*/ +} +.close-button { + background: #fff url(../images/glossary-wrapper.png) 50% 0 no-repeat; + display: block; + clear: both; + padding: 30px 25px 0 25px; +} +.close-button a { + background: transparent url(../images/icon-close.gif) 100% 50% no-repeat; + padding-right: 15px; + float: right; +} + +#main-content .node .termDefinition { + position: relative; + clerar: both; +} + +#main-content .node .termDefinition h3.term { + font: bold 20px/1.5em Arial, sans-serif; + padding-bottom: 14px; + padding-top: 0; + color: #21a0e1; +} + +#main-content .node .termDefinition div.definition { + padding-bottom: 10px; +} + + +/* Team page */ +.node .staff-row { + position: relative; + clear: both; + padding: 28px 0; + border-top: 1px dotted #666; +} + +.node #ceo { + border-top: 0 none; + padding-top: 0; +} + +.node .staff .staff-content { + width: 340px; + float: left; +} + +.node .even-row .staff .staff-content { + float: right; +} + +body.not-front #main-content .node .name { + font: bold 30px/1.25em Arial, sans-serif; + color: #21a0e1; + padding-bottom: 0; +} + +body.not-front #main-content .node .job { + font: bold 20px/1.25em Arial, sans-serif; + color: #333; + padding-top: 0; +} + +/* blockquote */ +body.not-front #main-content .node #ceo .quote-wrapper { + width: 302px; + float: right; + background: #fff url(../images/bq-top.jpg) 50% 0 no-repeat; + padding: 9px 0 0 0; + margin: 0 19px; +} +body.not-front #main-content .node #ceo .quote-wrapper blockquote { + background: #fff url(../images/bq-bottom.jpg) 50% 100% no-repeat; + padding: 0 0 30px 0; + color: #fff; +} +body.not-front #main-content .node #ceo .quote-wrapper blockquote p { + background: #fff url(../images/bq-content.jpg) 0 0 repeat-y; + margin: 0; + padding: 10px 20px; + font: normal 28px/1.25em Georgia, 'Adobe Garamond Pro', serif; + letter-spacing: -1px; +} + +#main-content .node ul.internal-links, +#main-content .node ul.contact { + display: block; + clear: both; + margin: 0; + padding: 14px 0; + list-style: none; +} +#main-content .node ul.internal-links li, +#main-content .node ul.contact li { + list-style: none; + display: inline; + margin-right: 1.5em; + /*text-transform: capitalize;*/ +} + +img.staff-doodle { + position: absolute; + bottom: 21px; + right: 0; + z-index: -1; +} + +.node .even-row img.staff-doodle { + position: absolute; + bottom: 21px; + left: 0; + z-index: -1; +} + +/* doodle images as bg */ +#ceo .staff { + background: transparent url(../node-images/team/ceo.jpg) 100% 100% no-repeat; +} +#cmo .staff { + background: transparent url(../node-images/team/cmo.jpg) 0 100% no-repeat; +} +#cto .staff { + background: transparent url(../node-images/team/cto.jpg) 100% 100% no-repeat; +} + +#main-content .node .investors-images { + width: 720px; + margin: 10px -10px; + padding: 21px 0 42px 0; + background: transparent url(../images/shadow-700.jpg) 50% 100% no-repeat; +} + +img#advisor-image { + margin-bottom: 0; +} + +.node .advisor { + border-top: 1px dotted #666; + padding-top: 21px; +} +.node .first-advisor { + border-top: 0 none; +} + +#main-content .node .investors-images a { + width: 360px; + float: left; +} + +.node .investor { + border-top: 1px dotted #666; + padding-top: 21px; +} +.node .first-investor { + border-top: 0 none; + padding-top: 0; +} + +body.not-front #main-content .investor .name { + padding-bottom: 7px; +} + +/* FAQs page */ +#main-content .node ul.faq-list, +#main-content .node ul.faq-list li { + list-style: none; + padding-bottom: 7px; +} + +#main-content .node ul.faq-list { + margin-left: 10px; + margin-right: 10px; +} + +body.not-front #main-content .node h2.faq-title { + font: bold 20px/1.25em Arial, sans-serif; + border-top: 1px dotted #666; + padding-top: 21px; +} + +body.not-front #main-content .node h2.first-faq { + border-top: 0 none; +} + +/* Work with us page */ +.node .section-wrapper { + margin-bottom: 21px; +} + +.node #work-with-us { + background: transparent url(../node-images/work_with_us/work-environment.jpg) 100% 100% no-repeat; +} + +body.not-front #main-content .node p.work-intro { + font: normal 35px/1.25em Georgia, 'Adobe Garamond Pro', serif; + letter-spacing: -1px; +} + +body.not-front #main-content .node #work-with-us h3.recruit-title { + padding-top: 14px; +} + +#main-content .node ul.recruiting { + border-top: 1px dotted #666; +} + +#main-content .node ul.recruiting, +#main-content .node ul.recruiting li { + list-style: none; + margin-left: 0; +} + +#main-content .node ul.recruiting li { + display: block; + margin: 0; + padding: 0; + text-transform: capitalize; +} + +#main-content .node ul.recruiting li a { + font: bold 20px/1em Arial, sans-serif; + display: block; + background: transparent url(../images/blue-arrow.gif) 100% 50% no-repeat; + border-bottom: 1px dotted #666; + padding: 14px 0; +} + +#main-content .node .section-wrapper ul.contact { + padding-bottom: 0; +} + +body.not-front #main-content .node .section-wrapper h2 { + padding-bottom: 0; +} + +body.not-front #main-content .node .section-wrapper h3 { + padding-top: 0; +} + +/* images */ +img.section-image { + clear: both; + margin-bottom: 42px; +} + + +/* misc */ +body.not-front #main_wrapper, +body.not-front #main-content .node { + background: transparent; +} + +#top-bar { + padding: 20px 0; +} + +.page-faq #top_bar, +.page-team #top_bar, +.page-accounts-explained #top_bar, +.page-work #top_bar, +.page-work-development-manager #top_bar { + float: right; + padding: 20px 0; + position: absolute; + right: 0; + top: 70px; +} + +.page-faq h1#page-title, +.page-team h1#page-title, +.page-accounts-explained h1#page-title, +.page-work h1#page-title, +.page-work-development-manager h1#page-title { + font: bold 20px/1em Arial, sans-serif; + color: #333; + text-align: right; + float: right; +} + +.hidden { + display: none !important; +} + +/* any_vote */ +.block-any_vote { + position: relative; + width: 181px; + min-height: 210px; + padding: 10px 15px 15px 15px; + margin: 20px 10px; + float: left; + /*background: #fff url(../images/bg-vote.gif) 50% 0 no-repeat;*/ + background: #f7f7f7; + border: 1px solid #ddd; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + border-radius: 5px; +} + +#block-any_vote-company_payment { + margin-right: 0; +} + +.block-any_vote h2 { + font-size: 20px; + color: #333; + margin-bottom: 5px; +} + +.block-any_vote .question { + color: #333; + font-size: 0.85em; + line-height: 1.25em; +} + +.block-any_vote .content { + font-size: 0.85em; + line-height: 1.25em; +} + +/* has no vote */ +.block_has_no_votes .content { + color: #21a0e1; + font-weight: bold; +} + +/* company_payment */ +#block-any_vote-company_payment .question { + margin-bottom: 0; +} + +#block-any_vote-company_payment .score { + clear: both; + position: relative; +} + +#block-any_vote-company_payment .score img { + width: 115px; + height: 115px; + float: left; + background: transparent url(../images/empty-donut.gif) 50% 50% no-repeat; +} + +#block-any_vote-company_payment .widget ul { + float: right; + margin: 10px 5px 0 0; + padding: 0; +} +#block-any_vote-company_payment .widget li { + margin: 15px 0 0 0; +} + +#block-any_vote-company_payment .score .percentage { + width: 115px; + height: 15px; + position: absolute; + top: 0; + left: 0; + font-weight: bold; + text-align: center; + font-size: 15px; + line-height: 15px; + padding: 50px 0; + color: #29B93C; +} + +#block-any_vote-company_payment .content { + clear: both; + font-size: 0.85em; + line-height: 1.25em; +} + +/* override the ctools class */ +.widget a.ctools-ajaxing { + padding-right: 0 !important; + } + +/* options widget list */ +.widget .any_vote_option_widget li a, +.widget .any_vote_option_widget li span { + display: block; + width: 60px; + height: 14px; + background: transparent url(../images/button-yes-no.gif) 0 50% no-repeat; + text-align: center; + text-transform: capitalize; + font-weight: bold; + font-size: 14px; + line-height: 1em; + padding: 4px 0 6px 0; +} + +.widget .any_vote_option_widget li.first a, +.widget .any_vote_option_widget li.first span { + color: #29B93C; +} +.widget .any_vote_option_widget li.first a:hover { + color: #fff; + background: transparent url(../images/button-yes-no.gif) -60px 50% no-repeat; +} + +.widget .any_vote_option_widget li.last a, +.widget .any_vote_option_widget li.last span { + color : #ee3322; +} +.widget .any_vote_option_widget li.last a:hover { + color : #fff; + background: transparent url(../images/button-yes-no.gif) 100% 50% no-repeat; +} + +/* star widget */ +#block-any_vote-company_qos .widget { + margin: 0 0 7px 0; +} +.block-any_vote .widget ul.any_vote_points_widget { + width: 183px; + height: 32px; + padding: 45px 0 40px 0; +} + +.block-any_vote .widget .any_vote_points_widget, +.block-any_vote .widget .any_vote_points_widget li { + margin: 5px 0; + padding: 0; + text-align: center; +} +.block-any_vote .widget .any_vote_points_widget li { + display: inline; +} + +.block-any_vote .widget .any_vote_points_widget li.first a { + margin-left: 8px; +} + +.widget .any_vote_points_widget a, +.widget .any_vote_points_widget span { + display: block; + float: left; + width: 30px; + height: 28px; + margin: 2px 2px 2px 2px; + background: transparent url(../images/vote-stars.png) 0 50% no-repeat; + text-indent: -999em; +} +.widget .any_vote_points_widget a:hover, +.widget .any_vote_points_widget span.user_vote_score { + display: block; + float: left; + width: 30px; + height: 28px; + background: transparent url(../images/vote-stars.png) 100% 50% no-repeat; + text-indent: -999em; +} + +/* recommend any_vote */ +#block-any_vote-company_recommendation ul.any_vote_option_widget, +#block-any_vote-company_recommendation ul.result-number { + margin: 0; + padding: 0 15px 10px 15px; + clear: both; + text-align: center; + font-weight: bold; +} + +#block-any_vote-company_recommendation ul.result-number { + padding: 10px 0 0 0; + margin: 0 15px; + background: #f7f7f7 url(../images/bar-chart-zero-base.gif) 0 0 no-repeat; + position: relative; + left: 0; + top: -5px; + z-index: 2; +} + +#block-any_vote-company_recommendation ul.result-number li { + display: block; + width: 60px; + height: 20px; + text-align: center; + text-transform: capitalize; + font-weight: bold; + font-size: 20px; + line-height: 1em; + padding: 0; +} + +#block-any_vote-company_recommendation.block_has_no_votes ul.result-number li { + display: none; +} + +#block-any_vote-company_recommendation ul.any_vote_option_widget li.first, +#block-any_vote-company_recommendation ul.result-number li.first { + float: left; + color: #29B93C; +} + +#block-any_vote-company_recommendation ul.any_vote_option_widget li.last, +#block-any_vote-company_recommendation ul.result-number li.last { + float: right; + color: #ee3322; +} + +#block-any_vote-company_recommendation .score { + position: relative; + clear: both; + margin: 10px 15px 0 15px; + overflow: hidden; +} + +#block-any_vote-company_recommendation .score .content { + width: 140px; + padding: 5px 5px 10px 5px; +} + +#block-any_vote-company_recommendation.block_has_no_votes .widget { + margin-top: 20px; +} + +/* fix some content to bottom */ + diff --git a/level_omega/css/jquery-ui.css b/level_omega/css/jquery-ui.css index 00064b2..66adf52 100644 --- a/level_omega/css/jquery-ui.css +++ b/level_omega/css/jquery-ui.css @@ -180,14 +180,77 @@ table.ui-datepicker .ui-datepicker-title-row td a { background: #ffffff; color: #222222; - border: 4px solid #d3d3d3; + border: 7px solid #ccc; position: relative; + width: 550px !important; + border-radius: 5px; +} +body .ui-dialog-content { + border: 0 none; + background: #fff; + color: #333; + padding: 10px 20px; + margin: 0; + width: 510px !important; + font-size: 1em; } -.ui-dialog-content { - border: 1px solid #d3d3d3; - background: #ffffff; - color: #222222; + +body .ui-dialog-content .intro-text { + color: #21a0e1; + font-size: 30px; + line-height: 1.2em; + font-weight: bold; + padding: 10px 0 21px 0; +} + +body .ui-dialog-content .dialog-links-wrapper { + width: 420px; + margin: 0 45px; } + +.dialog-links li { + text-align: center; +} + +.dialog-links a { + display: block; + width: 329px; + height: 36px; + padding: 6px 0 18px 0; + margin: 5px 45px; + font: bold 30px/36px Arial, sans-serif; + letter-spacing: -1px; + text-align: center; + color: #21a0e1; +} + +.dialog-links li.linkedin-login a { + background: transparent url(../images/form-buttons.gif) -330px 0 no-repeat; + text-align: left; + letter-spacing: -1px; + width: 273px; + padding-left: 56px; + color: #333; +} +.dialog-links li.linkedin-login a:hover { + background: transparent url(../images/form-buttons.gif) -330px -60px no-repeat; +} + +.dialog-links li.standard-login a, +.dialog-links li.register a { + background: transparent url(../images/form-buttons.gif) 0 0 no-repeat; +} +.dialog-links li.standard-login a:hover, +.dialog-links li.register a:hover { + background: transparent url(../images/form-buttons.gif) 0 -60px no-repeat; +} + + +.ui-dialog-content p.register-intro { + background: transparent url(../images/shadow-420.gif) 50% 0 no-repeat; + padding: 20px 45px 10px 45px; +} + .ui-resizable-handle { position: absolute; font-size: 0.1px; @@ -255,72 +318,65 @@ body .ui-resizable-autohide .ui-resizable-handle { display: none; } /* use 'body right: 0px; top: 0px; } -.ui-dialog-titlebar { + +body .ui-dialog-titlebar { /*resets*/margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; - padding: .5em 1.5em .5em 1em; + padding: 20px; color: #555555; - background: #e6e6e6 url(images/e6e6e6_40x100_textures_02_glass_75.png) 0 50% repeat-x; - border-bottom: 1px solid #d3d3d3; - font-size: 1.1em; - font-weight: normal; + background: #21a0e1; + border-bottom: 0 none; + font-weight: bold; position: relative; } -.ui-dialog-title { +body .ui-dialog-title { + font-size: 30px; } -.ui-dialog-titlebar-close { + +body a.ui-dialog-titlebar-close, +body a:hover.ui-dialog-titlebar-close { /*resets*/margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; - background: url(images/888888_11x11_icon_close.gif) 0 0 no-repeat; - position: absolute; - right: 8px; - top: .7em; - width: 11px; - height: 11px; - z-index: 100; -} -.ui-dialog-titlebar-close-hover, .ui-dialog-titlebar-close:hover { - background: url(images/454545_11x11_icon_close.gif) 0 0 no-repeat; -} -.ui-dialog-titlebar-close:active { - background: url(images/222222_11x11_icon_close.gif) 0 0 no-repeat; + background: url(../images/button-dialog-close.gif) 50% 50% no-repeat; + position: realtive; + float: right; + width: 40px; + height: 40px; + } + .ui-dialog-titlebar-close span { display: none; } -.ui-dialog-content { - /*resets*/margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; - background: #ffffff; - color: #222222; - padding: 1.5em 1.7em; -} -.ui-dialog-buttonpane { - position: absolute; - bottom: 0; - width: 100%; + + +body .ui-dialog-buttonpane { + position: relative !important; + bottom: auto !important; + width: 330px; + height: 240px; + margin: 0 117px; text-align: left; - border-top: 1px solid #d3d3d3; - background: ; + background: transparent; } -.ui-dialog-buttonpane button { - margin: .5em 0 .5em 8px; - color: #555555; - background: #e6e6e6 url(images/e6e6e6_40x100_textures_02_glass_75.png) 0 50% repeat-x; - font-size: 1.1em; - border: 1px solid #d3d3d3; + +body .ui-dialog-buttonpane button, +body .ui-dialog-buttonpane button:first-child, +body .ui-dialog-buttonpane button:last-child { cursor: pointer; - padding: .2em .6em .3em .6em; - line-height: 1.4em; -} -.ui-dialog-buttonpane button:hover { - color: #212121; - background: #dadada url(images/dadada_40x100_textures_02_glass_75.png) 0 50% repeat-x; - border: 1px solid #999999; -} -.ui-dialog-buttonpane button:active { - color: #222222; - background: #ffffff url(images/ffffff_40x100_textures_02_glass_65.png) 0 50% repeat-x; - border: 1px solid #dddddd; + height: 60px; + width: 330px; + margin: 0; + padding: 0; + background: #21a0e1; + color: #fff; + border: 0 none; + font-size: 30px; + line-height: 1.2em; + font-weight: bold; + text-align: center; + clear: both; } + .ui-dialog.ui-draggable .ui-dialog-titlebar, .ui-dialog.ui-draggable .ui-dialog-titlebar { cursor: move; diff --git a/level_omega/css/level.css b/level_omega/css/level.css index 3fd59c5..785b88e 100644 --- a/level_omega/css/level.css +++ b/level_omega/css/level.css @@ -937,22 +937,12 @@ page-doc-company-uk-06937730 #main_content_container, #block-views-company_files /* Styles for the accounts explained page */ div.bus_size { - background-color: #f2f2f2; - height: 520px; - -moz-border-radius: 5px 5px 5px 5px; - dr-webkit-border-radius:5px; - -moz-box-shadow: 0 0 2px rgba(0, 0, 0, 0.5); - -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.5); - box-shadow: 0 0 2px rgba(0, 0, 0, 0.5); + background-color: #f2f2f2; + height: 520px; background: #FFFFFF; - background: -moz-linear-gradient(top, #FFFFFF , #EFEFEF); - background: -webkit-gradient(linear, - left top, left bottom, from(#FFFFFF), to(#EFEFEF)); - filter: progid:DXImageTransform.Microsoft.Gradient( - StartColorStr='#FFFFFF', EndColorStr='#EFEFEF', GradientType=0); margin-top: 20px; margin-bottom: 20px; - } +} div.bus_size_heading { display: block; @@ -1026,6 +1016,7 @@ div.bus_size ul li { { padding: 10px; background-color: #FFF; + clear: both; } #left_sidebar .block-level_search ul @@ -1349,4 +1340,4 @@ body.front #block-level_user-user_login_logout_links { .view-id-director_search .views-field { font-size: 0.9em; -} \ No newline at end of file +} diff --git a/level_omega/css/registration.css b/level_omega/css/registration.css index 385dc02..b9cf10f 100644 --- a/level_omega/css/registration.css +++ b/level_omega/css/registration.css @@ -1,7 +1,16 @@ @CHARSET "UTF-8"; -/* some changes for the register page */ -body.page-register #top_bar { +/* some changes for the user related paged */ +body.page-user #top_bar, +body.page-user-login #top_bar, +body.page-login-opts #top_bar, +body.page-user-password #top_bar, +body.page-register #top_bar, +body.page-user-register #top_bar, +body.section-users #top_bar, +body.section-linkedin #top_bar { background-color: inherit; + padding: 10px 0 0 0; + } body.page-register #main_wrapper { @@ -9,96 +18,455 @@ body.page-register #main_wrapper { margin-bottom: 20px; } +/* Page titles */ +body.page-user h1.title, +body.page-register h1.title, +body.page-user-register h1.title, +body.page-user-login h1.title, +body.page-login-opts h1.title, +body.page-user-password h1.title, +body.section-users h1.title, +body.section-linkedin h1.title { + color: #333333; + font: 100px/1em Georgia,'Adobe Garamond Pro',serif; + margin: 0; + padding: 10px 0 21px 0 !important; + border-bottom: 1px solid #333 !important; +} + #main-content form { - padding-left: 10px; padding-bottom: 20px; } +#main-content #user-register { + padding-top: 10px; +} + #user-login legend, #user-register legend { display: none; } -label { - font-size: 1.6em; +#main-content #user-login .form-item, +#main-content #user-register .form-item { + margin: 0 0 10px 0; +} + +.section-user #main-content #user-login label, +#user-register label, +p.intro-text { + font-size: 30px; + line-height: 1.2em; font-weight: bold; - color: #4fa7e2; + color: #21a0e1; + padding-top: 14px; +} + +p.intro-text { + padding: 21px 0; } #user-register .simplenews label, -#edit-legal-accept-wrapper label +.not-logged-in #edit-legal-accept-wrapper label { - font-size: 0.8em; + font-size: 0.9em; font-weight: normal; - color: #999; + color: #fff; } #user-register #edit-pass-pass1-wrapper label, -#user-register #edit-pass-pass2-wrapper label, -#user-profile-form #edit-pass-pass1-wrapper label, -#user-profile-form #edit-pass-pass2-wrapper label -{ +#user-register #edit-pass-pass2-wrapper label { font-size: 0.9em; font-weight: normal; color: #999; - padding-top:3px; + padding-top:7px; } -#user-register input { - border: 1px solid #999; +#user-register #edit-pass-wrapper #edit-pass-pass1-wrapper { + margin: 0 0 0 0; } -#user-login label .form-required, -#user-register label .form-required +#main-content #user-login input.form-text, +#main-content #user-register input.form-text, +#main-content #user-pass input.form-text { + border: 1px solid #ccc; + padding: 11px 14px; + width: 300px; + font-size: 20px; + line-height: 1em; + background: #fffafa; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + border-radius: 5px; +} + +#main-content #user-login label .form-required, +#main-content #user-register label .form-required { display: none; width: 100%; height: 25px; } -#user-register input.form-text { - width: 50%; - height: 20px; -} - #user-register input#edit-profile-real-name, #user-register input#edit-mail, #user-register textarea { - width: 100%; - margin-top: 10px; + width: 340px; } input#edit-submit, input#edit-delete { - background-color: #4fa7e2; + background-color: #21a0e1; color: #FFF; font-weight: bold; font-size: 1.2em; padding: 5px; - border: 2px solid #FFF; cursor: pointer; -} - -input#edit-submit:hover, -input#edit-delete:hover -{ - border: 2px solid #999; + border: 0 none; } #user-register .description { font-size: 0.85em; line-height: 1.6em; - margin-bottom: 5px; - margin-top: 5px; + margin: 0; + color: #333; } + +#user-register #edit-legal-accept-wrapper, #user-register #edit-simplenews-1-wrapper { - margin-top: 0px; + margin-bottom: 5px; + padding: 5px 10px; + background: #21a0e1; + color: #fff; + width: 680px; } - #user-register #edit-legal-accept-wrapper { - margin-bottom: 0px; + background: #70c057; +} + +#user-register input#edit-profile-company-name { + width: 678px; +} + +#edit-conditions-wrapper textarea { + width: 678px; + padding: 10px; + border: 1px solid #ccc; +} + +#user-register input#edit-submit { + display: block; + border: 0 none; + width: 329px; + height: 60px; + padding: 6px 0 18px 0; + font: bold 30px/36px Arial, sans-serif; + letter-spacing: -1px; + text-align: center; + color: #fff; + background: transparent url(../images/form-buttons.gif) -660px 0 no-repeat; + margin: 21px 0 0 185px; +} +#user-register input#edit-submit:hover { + background: transparent url(../images/form-buttons.gif) -660px -60px no-repeat; +} + +/* error input */ +input.error { + border: 1px solid red !important; +} + +#main-content #user-register #edit-mail-wrapper { + margin-bottom: 0; +} + +#main-content #user-register .password-strength, +#main-content #user-register .password-confirm { + display: block; + clear: both; +} + +span#company_optional { + font-weight: normal; + color: #81e0ff; +} + +/* /login-opts page */ +.page-login-opts #main-content { + width: 420px; + margin: 0 140px; +} + +.page-login-opts #main-content .item-list ul, +.page-login-opts #main-content .item-list ul li { + list-style: none; + padding: 0; + margin: 0; +} + +.page-login-opts #main-content .item-list ul li { + padding: 0 0 15px 0; +} +.page-login-opts #main-content .item-list ul li.last { + padding-bottom: 10px; +} + +.page-login-opts #main-content .item-list ul li a { + display: block; + width: 329px; + height: 36px; + padding: 6px 0 18px 0; + margin: 5px 45px; + font: bold 30px/36px Arial, sans-serif; + letter-spacing: -1px; + text-align: center; + color: #21a0e1; +} + +.page-login-opts .no-account-text { + width: 330px; + padding: 35px 45px 7px 45px; + margin: 0 0 5px 0; + color: #333; + background: transparent url(../images/shadow-420.gif) 50% 0 no-repeat; + font-size: 0.9em; +} + +.page-login-opts #main-content .item-list ul li.linkedin-login-option { + padding-top: 35px; +} + +.page-login-opts #main-content .item-list ul li.linkedin-login-option a { + background: transparent url(../images/form-buttons.gif) -330px 0 no-repeat; + text-align: left; + width: 273px; + padding-left: 56px; + color: #333; + letter-spacing: -2px; +} +.page-login-opts #main-content .item-list ul li.linkedin-login-option a:hover { + background: transparent url(../images/form-buttons.gif) -330px -60px no-repeat; +} + +.page-login-opts #main-content .item-list ul li.standard-login-option a, +.page-login-opts #main-content .item-list ul li.standard-registration-option a { + background: transparent url(../images/form-buttons.gif) 0 0 no-repeat; + color: #21a0e1; +} +.page-login-opts #main-content .item-list ul li.standard-login-option a:hover, +.page-login-opts #main-content .item-list ul li.standard-registration-option a:hover { + background: transparent url(../images/form-buttons.gif) 0 -60px no-repeat; + color: #333; +} + + + +/* user login page */ +.page-user #main-content, +.page-user-login #main-content { + width: 420px; + margin: 0 140px; +} + +#main-content form#user-login { + width: 330px; + margin: 0 45px; + padding-top: 10px; +} + +form#user-login .description { + height: 0; + text-indent: -9999em; +} + +#main-content form#user-login #edit-pass-wrapper { + margin-bottom: 0; +} + +span#forgot_password { + display: block; + clear: both; + margin: 0 0 15px 0; +} +span#forgot_password a { + color: #f00; + font-size: 0.9em; +} + +span#forgot_password a:hover { + color: #333; +} + +.not-logged-in.page-user #main-content .item-list ul, +.not-logged-in.page-user-login #main-content .item-list ul, +.not-logged-in.page-user #main-content .item-list ul li, +.not-logged-in.page-user-login #main-content .item-list ul li { + list-style: none; + padding: 0; + margin: 0; +} + +.not-logged-in.page-user #main-content .item-list ul li, +.not-logged-in.page-user-login #main-content .item-list ul li { + padding: 0 0 5px 0; +} + +.not-logged-in.page-user #main-content .item-list ul li a, +.not-logged-in.page-user-login #main-content .item-list ul li a, +#main-content form#user-login input#edit-submit { + display: block; + width: 329px; + height: 36px; + padding: 6px 0 18px 0; + font: bold 30px/36px Arial, sans-serif; + text-align: center; + letter-spacing: -1px; +} + +/* compact form */ +.compact-form-label { + top: 5px; +} +#main-content #user-login .compact-form-label, +#main-content #user-register .compact-form-label, +#main-content #user-password .compact-form-label { + font-size: 20px; + line-height: 1em; + left: 10px; + position: absolute; + top: 7px; + z-index: 1; + color: #ccc; +} + +/* Login button */ +#main-content form#user-login input#edit-submit { + background: transparent url(../images/form-buttons.gif) -660px 0 no-repeat; + text-align: center; + height: 60px; + color: #fff; +} +#main-content form#user-login input#edit-submit:hover { + background: transparent url(../images/form-buttons.gif) -660px -60px no-repeat; +} + +/* LinkedIn button*/ +.section-user #main-content .item-list ul li.linkedin-auth-login-link-drupal-login-page a { + background: transparent url(../images/form-buttons.gif) -330px 0 no-repeat; + text-align: left; + letter-spacing: -2px; + width: 273px; + padding-left: 56px; + color: #333; +} +.section-user #main-content .item-list ul li.linkedin-auth-login-link-drupal-login-page a:hover { + background: transparent url(../images/form-buttons.gif) -330px -60px no-repeat; +} + + +.section-user #main-content .item-list ul li.standard-registration-option a { + background: transparent url(../images/form-buttons.gif) 0 0 no-repeat; + color: #21a0e1; +} +.section-user #main-content .item-list ul li.standard-registration-option a:hover { + background: transparent url(../images/form-buttons.gif) 0 -60px no-repeat; +} + +.section-user #main-content form { + padding-bottom: 7px; +} + +.section-user #main-content .additional { + padding: 0 45px; + width: 330px; + clear: both; + background: transparent url(../images/shadow-420.gif) 50% 0 no-repeat; +} + +.section-user #main-content .additional .no-account-text { + padding: 21px 0 7px 0; + color: #333; + font-size: 0.9em; +} + +/* Connect page */ +.associate-existing-acc-link { + display: none; +} + +.linkedin-button { + display: block; + clear: both; + padding: 0 185px 21px 185px; + background: transparent url(../images/shadow-420.gif) 50% 100% no-repeat; +} + +.section-user .linkedin-button { + background: transparent; +} + +.linkedin-button a, +.section-user #main-content .item-list ul li.linkedin-button a { + background: transparent url(../images/form-buttons.gif) -330px 0 no-repeat; + display: block; + height: 36px; + font: bold 30px/36px Arial, sans-serif; + text-align: left; + letter-spacing: -1px; + width: 273px; + padding: 6px 0 18px 56px; + color: #333; +} +.linkedin-button a:hover, +.section-user #main-content .item-list ul li.linkedin-button a:hover { + background: transparent url(../images/form-buttons.gif) -330px -60px no-repeat; +} + +/* Linked edit profile (JS elements) */ +#linkedinDialog { + text-align: center; + width: 700px; + background: transparent url(../images/black-50-opacity.png) 0 0 repeat; + position: absolute; + z-index: 999; +} +.section-user #linkedinDialog .linkedin-button { + padding: 40px 0 60px 0; + background: transparent url(../images/black-50-opacity.png) 0 0 repeat; +} + +#linkedinDialog .linkedin-button h2 { + font: bold 40px/50px Arial, sans-serif; + color: #fff; + margin-bottom: 21px; +} + +.section-user #linkedinDialog .linkedin-button a { + background: transparent url(../images/button-linkedin-transparent.png) 50% 0 no-repeat; + margin-left: 185px; +} +.section-user #linkedinDialog .linkedin-button a:hover { + color: #21A0E1; +} + +#linkedinDialog #refuse { + padding: 20px; +} + +#linkedinDialog #refuse a { + display: block; + height: 36px; + font: bold 30px/36px Arial, sans-serif; + letter-spacing: -1px; + width: 200px; + padding: 8px 0 6px 0; + margin: 0 230px; + background: transparent url(../images/button-grey-200.png) 50% 0 no-repeat; +} +#linkedinDialog #refuse a:hover { + background: transparent url(../images/button-grey-200.png) 50% 100% no-repeat; } \ No newline at end of file diff --git a/level_omega/images/bar-chart-zero-base.gif b/level_omega/images/bar-chart-zero-base.gif new file mode 100644 index 0000000..1c65feb Binary files /dev/null and b/level_omega/images/bar-chart-zero-base.gif differ diff --git a/level_omega/images/bg-vote.gif b/level_omega/images/bg-vote.gif new file mode 100644 index 0000000..6c27130 Binary files /dev/null and b/level_omega/images/bg-vote.gif differ diff --git a/level_omega/images/black-50-opacity.png b/level_omega/images/black-50-opacity.png new file mode 100644 index 0000000..0d0a764 Binary files /dev/null and b/level_omega/images/black-50-opacity.png differ diff --git a/level_omega/images/blue-arrow.gif b/level_omega/images/blue-arrow.gif new file mode 100644 index 0000000..cd6d1a9 Binary files /dev/null and b/level_omega/images/blue-arrow.gif differ diff --git a/level_omega/images/bq-bottom.jpg b/level_omega/images/bq-bottom.jpg new file mode 100644 index 0000000..09c95d3 Binary files /dev/null and b/level_omega/images/bq-bottom.jpg differ diff --git a/level_omega/images/bq-content.jpg b/level_omega/images/bq-content.jpg new file mode 100644 index 0000000..ae1da97 Binary files /dev/null and b/level_omega/images/bq-content.jpg differ diff --git a/level_omega/images/bq-top.jpg b/level_omega/images/bq-top.jpg new file mode 100644 index 0000000..d032a89 Binary files /dev/null and b/level_omega/images/bq-top.jpg differ diff --git a/level_omega/images/bullet-list.gif b/level_omega/images/bullet-list.gif new file mode 100644 index 0000000..7d30680 Binary files /dev/null and b/level_omega/images/bullet-list.gif differ diff --git a/level_omega/images/button-blue-login.gif b/level_omega/images/button-blue-login.gif new file mode 100644 index 0000000..1c1a4dc Binary files /dev/null and b/level_omega/images/button-blue-login.gif differ diff --git a/level_omega/images/button-dialog-close.gif b/level_omega/images/button-dialog-close.gif new file mode 100644 index 0000000..c5d45c3 Binary files /dev/null and b/level_omega/images/button-dialog-close.gif differ diff --git a/level_omega/images/button-grey-200.png b/level_omega/images/button-grey-200.png new file mode 100644 index 0000000..75858c3 Binary files /dev/null and b/level_omega/images/button-grey-200.png differ diff --git a/level_omega/images/button-linkedin-login.gif b/level_omega/images/button-linkedin-login.gif new file mode 100644 index 0000000..3d6fcb8 Binary files /dev/null and b/level_omega/images/button-linkedin-login.gif differ diff --git a/level_omega/images/button-linkedin-transparent.png b/level_omega/images/button-linkedin-transparent.png new file mode 100644 index 0000000..17acdbf Binary files /dev/null and b/level_omega/images/button-linkedin-transparent.png differ diff --git a/level_omega/images/button-standard-login.gif b/level_omega/images/button-standard-login.gif new file mode 100644 index 0000000..120df94 Binary files /dev/null and b/level_omega/images/button-standard-login.gif differ diff --git a/level_omega/images/button-standard-register.gif b/level_omega/images/button-standard-register.gif new file mode 100644 index 0000000..feed9f0 Binary files /dev/null and b/level_omega/images/button-standard-register.gif differ diff --git a/level_omega/images/button-yes-no.gif b/level_omega/images/button-yes-no.gif new file mode 100644 index 0000000..766de53 Binary files /dev/null and b/level_omega/images/button-yes-no.gif differ diff --git a/level_omega/images/empty-donut.gif b/level_omega/images/empty-donut.gif new file mode 100644 index 0000000..9865e2e Binary files /dev/null and b/level_omega/images/empty-donut.gif differ diff --git a/level_omega/images/form-buttons.gif b/level_omega/images/form-buttons.gif new file mode 100644 index 0000000..400a0bd Binary files /dev/null and b/level_omega/images/form-buttons.gif differ diff --git a/level_omega/images/glossary-wrapper.png b/level_omega/images/glossary-wrapper.png new file mode 100644 index 0000000..340cbe1 Binary files /dev/null and b/level_omega/images/glossary-wrapper.png differ diff --git a/level_omega/images/icon-beta.gif b/level_omega/images/icon-beta.gif new file mode 100644 index 0000000..3e33faf Binary files /dev/null and b/level_omega/images/icon-beta.gif differ diff --git a/level_omega/images/icon-close.gif b/level_omega/images/icon-close.gif new file mode 100644 index 0000000..373c6f9 Binary files /dev/null and b/level_omega/images/icon-close.gif differ diff --git a/level_omega/images/shadow-420.gif b/level_omega/images/shadow-420.gif new file mode 100644 index 0000000..a79fe26 Binary files /dev/null and b/level_omega/images/shadow-420.gif differ diff --git a/level_omega/images/shadow-700.jpg b/level_omega/images/shadow-700.jpg new file mode 100644 index 0000000..767c5de Binary files /dev/null and b/level_omega/images/shadow-700.jpg differ diff --git a/level_omega/images/tabular-bottom.gif b/level_omega/images/tabular-bottom.gif new file mode 100644 index 0000000..c2a88f8 Binary files /dev/null and b/level_omega/images/tabular-bottom.gif differ diff --git a/level_omega/images/tabular-top.gif b/level_omega/images/tabular-top.gif new file mode 100644 index 0000000..4c3346e Binary files /dev/null and b/level_omega/images/tabular-top.gif differ diff --git a/level_omega/images/vote-stars.png b/level_omega/images/vote-stars.png new file mode 100644 index 0000000..09f0b5a Binary files /dev/null and b/level_omega/images/vote-stars.png differ diff --git a/level_omega/js/dev.js b/level_omega/js/dev.js new file mode 100755 index 0000000..fb9da3d --- /dev/null +++ b/level_omega/js/dev.js @@ -0,0 +1,68 @@ +$(document).ready(function() { + + // add termDefinition class to definition wrapper + $('.node .terminology').children().addClass('termDefinition clearfix').wrapInner('
'); + + // hide all term definition + $('.node .terminology .termDefinition').hide(); + + // replace
with
+ $('dl.terminology').each(function(i){ + $(this).replaceWith('
' + $(this).html() + '
') + + }); + + // replace
with

+ $('.termDefinition dt').each(function(){ + $(this).replaceWith('

' + $(this).text() + '

'); + }); + + // replace
with
+ $('.termDefinition dd').each(function(){ + $(this).replaceWith('
' + $(this).html() + '
'); + }); + + $('.inner-wrapper').before(''); + + + // Glossary toggle + $('.term-list a:not(.active)').click(function() { + + // match each trigger (term link) with its own definition + trigger = $(this).attr('href').replace(/#/g, ''); + defClass = '.terminology .' + trigger; + + // this term definition is already open + if ($(this).hasClass('active') ) { + $('.term-list a.active').removeClass('active'); + $('.termDefinition').slideUp(); + } + + // this term definition is not already open + else { + // another term definition is open, close it first + if ($('.term-list a.active').length > 0) { + $('.term-list a.active').removeClass('active'); + $('.terminology .current-term').removeClass('current-term').slideUp(); + } + + // add .active class to current trigger + $(this).addClass('active'); + + // slide down new term definition + $(defClass).addClass('current-term').slideDown(); + } + return false; + }); + + // "Hide button" + $('.close-button a').bind('click', function() { + $('.term-list a.active').removeClass('active'); + $('.termDefinition').slideUp(); + return false; + }); + + // Equal height for any_vote widget blocks + $('#main_content_container .block-any_vote').equalHeight(); + +}); diff --git a/level_omega/js/jquery.equalHeight.js b/level_omega/js/jquery.equalHeight.js new file mode 100644 index 0000000..a953610 --- /dev/null +++ b/level_omega/js/jquery.equalHeight.js @@ -0,0 +1,58 @@ +/*** +@title: +Equal Height + +@version: +2.0 + +@author: +Andreas Lagerkvist + +@date: +2008-09-16 + +@url: +http://andreaslagerkvist.com/jquery/equal-height/ + +@license: +http://creativecommons.org/licenses/by/3.0/ + +@copyright: +2008 Andreas Lagerkvist (andreaslagerkvist.com) + +@requires: +jquery + +@does: +This plug-in makes HTML-elements equal height by adjusting their min-height CSS properties. Of course IE6 has no clue what min-height means so the plug-in uses height for that crappy old dinosaur. + +@howto: +jQuery('#content, #secondary-content').equalHeight(); would make the elements with IDs 'content' and 'secondary-content' equal height. + +@exampleHTML: +

Hi

+ +

Hi
Bye!

+ +@exampleJS: +jQuery('#jquery-equal-height-example p').equalHeight(); +***/ +jQuery.fn.equalHeight = function () { + var height = 0; + var maxHeight = 0; + + // Store the tallest element's height + this.each(function () { + height = jQuery(this).outerHeight(); + maxHeight = (height > maxHeight) ? height : maxHeight; + }); + + // Set element's min-height to tallest element's height + return this.each(function () { + var t = jQuery(this); + var minHeight = maxHeight - (t.outerHeight() - t.height()); + var property = jQuery.browser.msie && jQuery.browser.version < 7 ? 'height' : 'min-height'; + + t.css(property, minHeight + 'px'); + }); +}; \ No newline at end of file diff --git a/level_omega/level_omega.info b/level_omega/level_omega.info index 652b03e..8e7f87c 100644 --- a/level_omega/level_omega.info +++ b/level_omega/level_omega.info @@ -15,12 +15,15 @@ stylesheets[all][] = css/grid.css stylesheets[all][] = css/960.css ; To block out 960s grid and use our own. stylesheets[all][] = css/jquery-ui.css stylesheets[all][] = css/static.css +stylesheets[all][] = css/dev.css ; ------- Declare default javascript includes scripts[] = js/fb-connect.js scripts[] = js/superfish.js +scripts[] = js/jquery.equalHeight.js +scripts[] = js/dev.js ; ------- Declare default theme regions diff --git a/level_omega/node-images/accounts_explained/terminology.jpg b/level_omega/node-images/accounts_explained/terminology.jpg new file mode 100644 index 0000000..aee4063 Binary files /dev/null and b/level_omega/node-images/accounts_explained/terminology.jpg differ diff --git a/level_omega/node-images/team/advisors.jpg b/level_omega/node-images/team/advisors.jpg new file mode 100644 index 0000000..ba2b3da Binary files /dev/null and b/level_omega/node-images/team/advisors.jpg differ diff --git a/level_omega/node-images/team/ceo.jpg b/level_omega/node-images/team/ceo.jpg new file mode 100644 index 0000000..c3db70c Binary files /dev/null and b/level_omega/node-images/team/ceo.jpg differ diff --git a/level_omega/node-images/team/cmo.jpg b/level_omega/node-images/team/cmo.jpg new file mode 100644 index 0000000..5449972 Binary files /dev/null and b/level_omega/node-images/team/cmo.jpg differ diff --git a/level_omega/node-images/team/cto.jpg b/level_omega/node-images/team/cto.jpg new file mode 100644 index 0000000..15ec5fa Binary files /dev/null and b/level_omega/node-images/team/cto.jpg differ diff --git a/level_omega/node-images/team/eden-ventures.jpg b/level_omega/node-images/team/eden-ventures.jpg new file mode 100644 index 0000000..1e97b6e Binary files /dev/null and b/level_omega/node-images/team/eden-ventures.jpg differ diff --git a/level_omega/node-images/team/index-ventures.jpg b/level_omega/node-images/team/index-ventures.jpg new file mode 100644 index 0000000..f2ef548 Binary files /dev/null and b/level_omega/node-images/team/index-ventures.jpg differ diff --git a/level_omega/node-images/team/team.jpg b/level_omega/node-images/team/team.jpg new file mode 100644 index 0000000..32189b3 Binary files /dev/null and b/level_omega/node-images/team/team.jpg differ diff --git a/level_omega/node-images/work_with_us/how-we-work.jpg b/level_omega/node-images/work_with_us/how-we-work.jpg new file mode 100644 index 0000000..0279c5d Binary files /dev/null and b/level_omega/node-images/work_with_us/how-we-work.jpg differ diff --git a/level_omega/node-images/work_with_us/tech.jpg b/level_omega/node-images/work_with_us/tech.jpg new file mode 100644 index 0000000..614624c Binary files /dev/null and b/level_omega/node-images/work_with_us/tech.jpg differ diff --git a/level_omega/node-images/work_with_us/work-environment.jpg b/level_omega/node-images/work_with_us/work-environment.jpg new file mode 100644 index 0000000..c14a674 Binary files /dev/null and b/level_omega/node-images/work_with_us/work-environment.jpg differ diff --git a/level_omega/page-linkedin-register-create.tpl.php b/level_omega/page-linkedin-register-create.tpl.php new file mode 100644 index 0000000..779267b --- /dev/null +++ b/level_omega/page-linkedin-register-create.tpl.php @@ -0,0 +1,189 @@ + + + + + <?php print $head_title; ?> + + + + + + + + '; + print ''; + print ''; + // TODO: change this to be just http://levelbusiness.com + print ''; + } + if (arg(1) == 'person') { + global $base_root; + $path = $base_root . request_uri(); + print ''; + print ''; + print ''; + // TODO: change this to be just http://levelbusiness.com + print ''; + + } + ?> + + + + + +
+ + +
+ + +
+
+ +
+ +
+
+   +
+
+ +
+
+ + +
+ + + +
> + +
+ + + +

+ +
+ + + + +
+ + +
+ +
+ + + + + +
+ +

Please Login so that we can identify the account you want to connect to LinkedIn.

+ +

If you don't yet have a LevelBusiness account to connect to then please register.

+ + +
+ +
+ +
+ +
+ + + + + + + +
+ +
+ + + +
+ + + + \ No newline at end of file diff --git a/level_omega/page-register.tpl.php b/level_omega/page-register.tpl.php new file mode 100644 index 0000000..2b4d44b --- /dev/null +++ b/level_omega/page-register.tpl.php @@ -0,0 +1,182 @@ + + + + + <?php print $head_title; ?> + + + + + + + + '; + print ''; + print ''; + // TODO: change this to be just http://levelbusiness.com + print ''; + } + if (arg(1) == 'person') { + global $base_root; + $path = $base_root . request_uri(); + print ''; + print ''; + print ''; + // TODO: change this to be just http://levelbusiness.com + print ''; + + } + ?> + + + + + +
+ + +
+ + +
+
+ +
+ +
+
+   +
+
+ +
+
+ + +
+ + + +
> + +
+ + + +

+ +
+ + + + +
+ + +
+ +
+ + +
+ + +
+ +
+ +
+ +
+ + + + + + + +
+ +
+ + + +
+ + + + \ No newline at end of file diff --git a/level_omega/page-user.tpl.php b/level_omega/page-user.tpl.php new file mode 100644 index 0000000..cbe4202 --- /dev/null +++ b/level_omega/page-user.tpl.php @@ -0,0 +1,185 @@ + + + + + <?php print $head_title; ?> + + + + + + + + '; + print ''; + print ''; + // TODO: change this to be just http://levelbusiness.com + print ''; + } + if (arg(1) == 'person') { + global $base_root; + $path = $base_root . request_uri(); + print ''; + print ''; + print ''; + // TODO: change this to be just http://levelbusiness.com + print ''; + + } + ?> + + + + + +
+ + +
+ + +
+
+ +
+ +
+
+   +
+
+ +
+
+ + +
+ + + +
> + +
+ + + +

+ +
+ + + + +
+ + +
+ + + +
+ +
+ + +
+ +
+ +
+ +
+ +
+ + + + + + + +
+ +
+ + + +
+ + + + \ No newline at end of file diff --git a/level_omega/template.php b/level_omega/template.php index a40c598..47fb0a4 100644 --- a/level_omega/template.php +++ b/level_omega/template.php @@ -122,6 +122,22 @@ function level_omega_preprocess(&$vars, $hook) { break; } + + /* Check LinkedIn account associated */ + /* See linkedin.inc module file linkedin_get_profile_fields() */ + + if (module_exists('linkedin')) { + global $user; + + $vars['user'] = $user->uid; + + $associated = db_fetch_array(db_query("SELECT * FROM {linkedin_token} WHERE uid = %d AND type = 'access'", $vars['user'])); + // if drupal account was not associated + if (!$associated) { + // add js to show dialog box which has link to linkedin + drupal_add_js(drupal_get_path('theme', 'level_omega').'/js/linkedin-connect.js', 'theme', 'header'); + } + } } @@ -181,6 +197,29 @@ function level_omega_preprocess_block(&$vars, $hook) { } + // any_vote + //$vars['vote_value'] = ''; + //if (module_exists('votingapi')) { + //global $vote; + //$vars['vote_value'] = votingapi_current_user_identifier(); + if ($vars['block']->module == 'any_vote') { + + if ((arg(0) == 'node') && is_numeric(arg(1))) { + + //$node = node_load(arg(1)); + $content_type = $node->type; + $content_id = arg(1); + + + //$vars['vote_value'] = votingapi_recalculate_results($content_type, $content_id, $force_calculation = FALSE); + + $vars['vote_value'] = votingapi_select_single_result_value($criteria = array()); + } + } + + + //} + } function level_omega_preprocess_views_view_field(&$vars, $hook) { @@ -225,10 +264,14 @@ function level_omega_preprocess_page(&$vars, $hook) { elseif (arg(1) == 'person') { $vars['main_content_attributes']['typeof'] = 'v:Person'; } - + + // Dynamic insert additional content and change page titles for anonymous user. + $vars['obj'] = _level_omega_user_form_elements($vars['obj'] = array(), $vars['title'], $vars['content'], $vars['tabs']); + } + /** * Override or insert variables into the node templates. * @@ -346,12 +389,70 @@ function level_omega_form_element($element, $value) { if (!empty($element['#description'])) { $output .= '
'. $element['#description'] ."
\n"; } - - $output .= " $value\n"; - - + + $output .= "$value\n"; $output .= "
\n"; return $output; } + +/* Override LinkedIn button text to "Login with LinkedIn" */ +function level_omega_linkedin_auth_display_login_block_button($display = NULL, $path = 'linkedin/login/0', $text = 'Login with LinkedIn') { + drupal_add_css(drupal_get_path('module', 'linkedin_auth') . '/linkedin_auth.css', 'module'); + $data = l(t($text), $path); + $class = 'linkedin-button'; + $items[] = array( + 'data' => $data, + 'class' => $class, + ); + return theme('item_list', $items); +} + +/* Dynamic display page & user form elements */ +function _level_omega_user_form_elements($obj = array(), $title, $content, $tabs) { + + // Get Drupal paths + $path = drupal_get_path_alias($_GET['q']); + + // Additional content for login page + $login_add_contents = ' +
+ + +
+ '; + + $obj['tabs'] = $tabs; + $obj['title'] = $title; + $obj['content'] = $content; + + // Set Drupal paths as arguments + list($dest, ) = explode('/', $path, 2); + + if (arg(0) == 'login-opts') { + $obj['tabs'] = ''; + $obj['title'] = 'Login.'; + } + + if (arg(0) == 'user' && (arg(1) == NULL || arg(1) == 'login')) { + $obj['tabs'] = ''; + $obj['title'] = 'Login.'; + $obj['content'] = $content . $login_add_contents; + } + + if (arg(0) == 'register' && arg(1) == NULL) { + $obj['tabs'] = ''; + $obj['title'] = 'Register.'; + } + + if (arg(1) == 'register') { + $obj['tabs'] = ''; + $obj['title'] = 'Register.'; + } + + return $obj; + +} \ No newline at end of file