Commit 7053ff4f authored by Nic's avatar Nic Committed by Aegir user
Browse files

CiviCRM front-end page style conform

parent e05fc3f5
...@@ -163,11 +163,11 @@ h3.thin { ...@@ -163,11 +163,11 @@ h3.thin {
margin-top: 0px; margin-top: 0px;
} }
h4.clean-green { h4.clean-green {
color: #82c459; color: #82c459;
margin-top: 6px; margin-top: 6px;
margin-bottom: 6px; margin-bottom: 6px;
font-size: 31px; font-size: 31px;
line-height: 38px; line-height: 38px;
} }
a.full-width { a.full-width {
width: 100%; width: 100%;
...@@ -176,11 +176,11 @@ a.full-width { ...@@ -176,11 +176,11 @@ a.full-width {
margin: 7px 0; margin: 7px 0;
} }
h1.green-lead { h1.green-lead {
margin: 0 0 10px 0; margin: 0 0 10px 0;
color: #82c459; color: #82c459;
font-family: 'Oswald',sans-serif; font-family: 'Oswald',sans-serif;
font-weight: 700; font-weight: 700;
font-size: 60px; font-size: 60px;
} }
a.bluebutton{ a.bluebutton{
background: #056085; background: #056085;
...@@ -218,8 +218,8 @@ a.greenbutton:hover, a.greenbutton:active { ...@@ -218,8 +218,8 @@ a.greenbutton:hover, a.greenbutton:active {
color: #fff; color: #fff;
} }
a.greenbutton.small { a.greenbutton.small {
font-size: 16px; font-size: 16px;
padding: 5px 30px; padding: 5px 30px;
} }
/* COMMON TYPE ELEMENTS */ /* COMMON TYPE ELEMENTS */
...@@ -506,7 +506,8 @@ section.main-body > .container:first-child { ...@@ -506,7 +506,8 @@ section.main-body > .container:first-child {
.page-civicamp section.main-body > .container:first-child, .page-civicamp section.main-body > .container:first-child,
.page-support-us section.main-body > .container:first-child, .page-support-us section.main-body > .container:first-child,
.page-new-front-page section.main-body > .container:first-child, .page-new-front-page section.main-body > .container:first-child,
.page-node-5424 section.main-body > .container:first-child { .page-node-5424 section.main-body > .container:first-child,
.page-providers section.main-body > .container:first-child {
padding-top: 0px; padding-top: 0px;
} }
...@@ -555,7 +556,8 @@ section.main-body > .container:first-child { ...@@ -555,7 +556,8 @@ section.main-body > .container:first-child {
.page-service-providers .stripe-black .breadcrumb, .page-service-providers .stripe-black .breadcrumb,
.page-project-sponsors .stripe-black .breadcrumb, .page-project-sponsors .stripe-black .breadcrumb,
.page-case-studies .stripe-black .breadcrumb, .page-case-studies .stripe-black .breadcrumb,
.page-extensions .stripe-black .breadcrumb { .page-extensions .stripe-black .breadcrumb,
.page-support-us .stripe-black {
display: none; display: none;
} }
.page-working-groups .stripe-black, .page-working-groups .stripe-black,
...@@ -766,19 +768,19 @@ header #subnav .menu-block-wrapper .nav > li a.active-trail { ...@@ -766,19 +768,19 @@ header #subnav .menu-block-wrapper .nav > li a.active-trail {
.open > .dropdown-menu li a { .open > .dropdown-menu li a {
line-height: 30px !important; line-height: 30px !important;
} }
.navbar-collapse.collapse.main { .navbar-collapse.collapse.main {
width: 100% !important; width: 100% !important;
margin-top: 0px; margin-top: 0px;
} }
section#block-menu-menu-top-navigation > ul { section#block-menu-menu-top-navigation > ul {
margin: 0px; margin: 0px;
} }
header#page-header .menu-block-wrapper .nav > li a { header#page-header .menu-block-wrapper .nav > li a {
color: #635d5e; color: #635d5e;
font-size: 15px; font-size: 15px;
height: 40px; height: 40px;
line-height: 40px; line-height: 40px;
padding: 0 6px; padding: 0 6px;
} }
#topbar { #topbar {
background-color: #dedede; background-color: #dedede;
...@@ -799,7 +801,6 @@ header#navbar { ...@@ -799,7 +801,6 @@ header#navbar {
header #subnav .menu-block-wrapper .nav > li a { header #subnav .menu-block-wrapper .nav > li a {
font-size: 16px; font-size: 16px;
} }
#navbar ul li a { #navbar ul li a {
text-align: center; text-align: center;
padding: 0px; padding: 0px;
...@@ -825,9 +826,31 @@ section#block-menu-menu-top-navigation > ul { ...@@ -825,9 +826,31 @@ section#block-menu-menu-top-navigation > ul {
margin-left: 0px; margin-left: 0px;
} }
.navbar-collapse.in { .navbar-collapse.in {
overflow: hidden; overflow: hidden;
max-height: none !important; max-height: none !important;
height: auto !important; height: auto !important;
}
}
@media (max-width: 600px) {
#mainnav.container,
#topbar .container,
#subnav .container {
padding: 0px;
}
#navbar ul li a,
#navbar ul li > ul li a,
#navbar ul li > ul li a,
#navbar ul li.active > ul li a,
header #subnav .menu-block-wrapper .nav > li a{
height: 25px;
line-height: 25px;
font-size: 14px;
cursor: pointer;
}
.logo img {
width: 140px;
height: auto;
padding: 12px 0px;
} }
} }
...@@ -1539,6 +1562,14 @@ margin-top: 15px; ...@@ -1539,6 +1562,14 @@ margin-top: 15px;
.view-id-sponsorship_levels.view-display-id-block_2 { .view-id-sponsorship_levels.view-display-id-block_2 {
text-align: center; text-align: center;
} }
.pane-sponsorship-levels {
margin-bottom: 50px;
}
div.sponsor-block {
display: inline-block;
vertical-align: middle;
padding: 0 15px;
}
.view-sponsorship-levels.view-display-id-page_1 .view-content h3, .view-sponsorship-levels.view-display-id-page_1 .view-content h3,
.view-id-sponsorship_levels.view-display-id-block_1 .view-content h3, .view-id-sponsorship_levels.view-display-id-block_1 .view-content h3,
.view-sponsorship-levels.view-display-id-page_2 .view-content h3, .view-sponsorship-levels.view-display-id-page_2 .view-content h3,
...@@ -1547,10 +1578,10 @@ margin-top: 15px; ...@@ -1547,10 +1578,10 @@ margin-top: 15px;
font-size: 22px; font-size: 22px;
text-align: center; text-align: center;
border-bottom: 6px solid #dedede; border-bottom: 6px solid #dedede;
width: 40%; width: 40%;
margin: 40px auto 20px; margin: 40px auto 20px;
padding-bottom: 4px; padding-bottom: 4px;
font-family: 'Oswald'; font-family: 'Oswald';
} }
.view-sponsorship-levels.view-display-id-page_1 ul, .view-sponsorship-levels.view-display-id-page_1 ul,
.view-id-sponsorship_levels.view-display-id-block_1 ul, .view-id-sponsorship_levels.view-display-id-block_1 ul,
...@@ -1594,15 +1625,15 @@ p.sponsor-image.Text .sponsor-name a { ...@@ -1594,15 +1625,15 @@ p.sponsor-image.Text .sponsor-name a {
text-transform: uppercase; text-transform: uppercase;
} }
p.sponsor-image.midler a.top-pad img { p.sponsor-image.midler a.top-pad img {
padding-top: 30px; padding-top: 30px;
} }
p.sponsor-image.midler img { p.sponsor-image.midler img {
max-width: 140px; max-width: 140px;
height: auto; height: auto;
margin: 0 20px 20px 0; margin: 0 20px 20px 0;
} }
p.sponsor-image.midler a { p.sponsor-image.midler a {
float: left; float: left;
} }
.event-details { .event-details {
text-align: center; text-align: center;
...@@ -1614,21 +1645,21 @@ p.sponsor-image.midler a { ...@@ -1614,21 +1645,21 @@ p.sponsor-image.midler a {
} }
.detail-float-right { .detail-float-right {
width: 30%; width: 30%;
float: right; float: right;
padding: 15px; padding: 15px;
border: 1px solid #dedede; border: 1px solid #dedede;
background: #efefef; background: #efefef;
border-radius: 4px; border-radius: 4px;
margin-left: 10px; margin-left: 10px;
text-align: left; text-align: left;
} }
.detail-float-right h3 { .detail-float-right h3 {
font-weight: 300; font-weight: 300;
padding: 0px 0px 0px 0px; padding: 0px 0px 0px 0px;
margin-bottom: 15px; margin-bottom: 15px;
margin-top: 5px; margin-top: 5px;
font-size: 31px; font-size: 31px;
text-transform: uppercase; text-transform: uppercase;
} }
/* CIVICON SUBMENU */ /* CIVICON SUBMENU */
...@@ -2155,12 +2186,12 @@ ol.flex-control-nav { ...@@ -2155,12 +2186,12 @@ ol.flex-control-nav {
font-size: 60px; font-size: 60px;
} }
.page-working-groups .region.region-header p { .page-working-groups .region.region-header p {
color: #fff; color: #fff;
width: 60%; width: 60%;
} }
.page-working-groups .bootstrap-twocol-stacked .views-field-title h2 { .page-working-groups .bootstrap-twocol-stacked .views-field-title h2 {
color: #333; color: #333;
font-weight: 700; font-weight: 700;
} }
.page-working-groups .region.region-header { .page-working-groups .region.region-header {
background-color: #FFFFFF !important; background-color: #FFFFFF !important;
...@@ -2264,10 +2295,10 @@ ol.flex-control-nav { ...@@ -2264,10 +2295,10 @@ ol.flex-control-nav {
background-color: #aaa; background-color: #aaa;
} }
.node-type-feature blockquote { .node-type-feature blockquote {
padding: 12.5px 70px 15px 0px; padding: 12.5px 70px 15px 0px;
font-size: 22px; font-size: 22px;
border-left: 0px solid transparent; border-left: 0px solid transparent;
font-style: italic; font-style: italic;
width: 80%; width: 80%;
margin-left: 10%; margin-left: 10%;
} }
...@@ -2343,8 +2374,8 @@ ol.flex-control-nav { ...@@ -2343,8 +2374,8 @@ ol.flex-control-nav {
} }
.node-type-feature .pane-node-field-case-studies .node-readmore { .node-type-feature .pane-node-field-case-studies .node-readmore {
float: right; float: right;
padding: 0px 0px 25px 0px; padding: 0px 0px 25px 0px;
margin: 0px; margin: 0px;
} }
.node-type-feature .pane-2 h3 { .node-type-feature .pane-2 h3 {
padding-top: 25px; padding-top: 25px;
...@@ -2508,7 +2539,8 @@ ol.flex-control-nav { ...@@ -2508,7 +2539,8 @@ ol.flex-control-nav {
} }
.banner .page-header h1 { .banner .page-header h1 {
text-align: left; text-align: left;
color: #82c459; color: #82c459;
padding-top: 30px;
} }
div.cms, div.pane-blog-taxonomy { div.cms, div.pane-blog-taxonomy {
border: 1px solid #dedede; border: 1px solid #dedede;
...@@ -2547,6 +2579,13 @@ div.cms, div.pane-blog-taxonomy { ...@@ -2547,6 +2579,13 @@ div.cms, div.pane-blog-taxonomy {
padding: 0px 25px; padding: 0px 25px;
height: 270px; height: 270px;
} }
.node-type-extension .node-extension .field-type-image .field-item {
width: 250px;
height: auto;
margin: 10px 15px 0 0;
display: inline-block;
vertical-align: top;
}
.pane-partners-and-contributors h2 { .pane-partners-and-contributors h2 {
padding-top: 20px; padding-top: 20px;
} }
...@@ -2910,4 +2949,184 @@ div.cms { ...@@ -2910,4 +2949,184 @@ div.cms {
height: 580px; height: 580px;
} }
} }
/*************
CIVICRM FRONT END
*******************/
/* Page elements */
.crm-container .help,
.crm-container #help {
border: 0px transparent solid;
padding: 15px;
margin: 25px 0;
}
#crm-container .crm-socialnetwork {
margin-top: 30px;
}
abbr[title], abbr[data-original-title] {
text-decoration: none;
}
.crm-container h3,
.crm-container fieldset legend {
padding: 10px 0px;
font-family: Source Sans Pro, sans-serif;
font-size: 28px;
font-weight: 300;
text-transform: inherit;
background: none;
background-color: transparent;
border-bottom: 1px solid #CCC;
padding-bottom: 10px;
width: 100%;
margin: 10px 0;
}
.crm-container h3 {
margin-bottom: 16px;
}
.crm-container h2 {
text-transform: inherit;
}
.crm-container fieldset {
border: 0px solid transparent;
margin: 20px 0 10px;
}
.page-civicrm .page-header h1 {
margin: 0 0 10px 0;
color: #82c459;
font-family: 'Oswald',sans-serif;
font-weight: 700;
font-size: 48px;
text-transform: inherit;
}
#crm-container.crm-public .calc-value,
#crm-container.crm-public .content,
.crm-container .description,
.crm-container .help,
.crm-container table{
font-size: 18px;
line-height: 1.42857;
}
.crm-container .form-layout-compressed td,
.crm-container .form-layout-compressed th {
padding: 0px 15px 0 0;
}
.crm-container .form-layout-compressed td.crm-mailing-subscribe-form-block-description,
.crm-container .form-layout-compressed td.crm-mailing-subscribe-form-block-title {
padding: 15px;
}
#crm-container .crm-fb-tweet-buttons {
margin-top: 10px;
}
.helprow-post .description {
font-size: 16px !important;;
}
.iCal_links-section {
clear: both;
}
.crm-container .form-layout td.label,
.crm-container form table.report .label,
.crm-container form table label,
.crm-container form table.report label {
color: #635d5e;
}
#civicrm-footer,
.crm-container #civicrm-footer.crm-public-footer{
border-top: 0px solid transparent;
text-align: center;
}
#footer_text {
clear: both;
}
.crm-section.event_description-section img {
max-width: 100%;
}
/* Form elements */
input.crm-form-checkbox {
margin: 0 5px 0 0;
}
.crm-container input.crm-form-text,
.crm-container .crm-icon-picker-button,
.crm-container input.dateplugin,
.crm-container .replace-plain,
.crm-container textarea,
.crm-container select.crm-form-multiselect,
.select2-container-multi .select2-choices {
background-image: none;
border: 1px solid #ddd;
}
#crm-container.crm-public .label {
padding: 3px 0 0 0;
}
.crm-container label {
color: #3E3E3E;
font-weight: 600;
}
.crm-container td.price_set_option-label {
padding-left: 0px;
}
.crm-container .crm-section.help .label {
width: auto;
}
.labels label {
font-weight: normal !important;
}
#crm-container.crm-public .price-set-row input,
#crm-container.crm-public .price-set-row label {
margin: 0 5px 0 0;
}
.crm-container input[type="file"] {
font-family: Source Sans Pro, sans-serif;
font-size: 14px;
}
/* Buttons */
.crm-container a.button,
.crm-container a.button:link,
.crm-container a.button:visited,
.crm-container input.crm-form-submit,
.crm-container .ui-dialog-buttonset .ui-button,
.crm-container input[type="button"],
.crm-container .crm-button {
border-radius: 3px;
color: #fff;
display: inline-block;
font-size: 22px;
padding: 10px 25px;
text-shadow: none;
background: none;
margin: 0 10px 15px 0;
background-color: #82c459;
border: 0px solid transparent;
}
.crm-actionlinks-top a.button,
.crm-actionlinks-top a.button:link {
font-size: 18px;
padding: 5px 15px;
}
.crm-container .crm-button input[type="button"], .crm-container .crm-button input.crm-form-submit {
padding: 7px 15px;
}
.crm-container a.button:focus,
.crm-container a.button:hover {
background-color: #64a13f;
}
table.cividiscount input.crm-form-submit {
padding: 5px 15px;
font-size: 16px;
}
/* Resopnsive */
@media (max-width: 800px) {
.crm-container .crm-section .label {
width: 100%;
}
.crm-container .crm-section .content {
margin: 20px 0 10px;
width: 100%;
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment