Skip to content

Without Cubes Background Image #1602

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified _static/conan-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/search-input-bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions _themes/conan/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{% set css_files = ['css/signup.css', 'css/theme.css'] + css_files %}

<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if IE 8] ><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
Expand Down Expand Up @@ -129,7 +129,7 @@
{% endif %}
{% endblock %}
<div class="dark_newsletter-div">
<p>Sign up for release updates:</p>
<p>Sign up for updates:</p>
<script src="https://app-lon04.marketo.com/js/forms2/js/forms2.min.js"></script>
<form id="mktoForm_1479"></form>
<script>MktoForms2.loadForm("https://app-lon04.marketo.com", "256-FNZ-187", 1479);</script>
Expand All @@ -156,7 +156,7 @@
<div class="wy-nav-content">
<div class="rst-content">
{% include "breadcrumbs.html" %}
<!--<select id="search" name="state" multiple="true" onchange="window.location = reldir + this.value;" style="width:90%"></select>
<!--<select id="searchss" name="state" multiple="true" onchange="window.location = reldir + this.value;" style="width:90%"></select>
<hr/>-->

<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
Expand Down
2 changes: 1 addition & 1 deletion _themes/conan/searchbox.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{%- if builder != 'singlehtml' %}
<div role="search">
<form id="rtd-search-form" class="wy-form" action="{{ pathto('search') }}" method="get">
<input type="text" name="q" placeholder="{{ _('Search docs') }}" />
<input type="text" name="q" placeholder="{{ _('Search docs') }}" id="searchDocsInput" required />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
Expand Down
153 changes: 146 additions & 7 deletions _themes/conan/static/css/signup.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@


.dark_newsletter-div .mktoLabel a{
display: inline !important;
display: block !important;
padding: 0px;
color: #538cc3 !important;
}
Expand All @@ -40,7 +40,7 @@
.mktoForm .mktoRequiredField label.mktoLabel {
font-weight: bold;
color: white;
width: 80% !important;
width: 100% !important;
}

.mktoForm .mktoAsterix {
Expand Down Expand Up @@ -77,12 +77,18 @@
display: block !important;
}

.mktoForm input#Email {
width: 233px !important;
height: 35px;
margin-top: 10px;
max-width: 100% !important;
}

.dark_newsletter-div {
margin-left: 8px;
margin-top: 20px;
border: 1px solid #80808080;
padding: 10px;
width: 88%;
width: 100%;
padding-left: 1.618em;
padding-right: 1.618em;
margin-bottom: 50px;
}

Expand All @@ -96,6 +102,139 @@
background-repeat: no-repeat;
background-position: left;
padding-left: 80px;
}

body .mktoForm .mktoButtonWrap.mktoSimple .mktoButton {
width: 92px;
height: 34px;
background: #4CB74A;
color: #fff;
font-size: 14px;
margin-top: 10px;
}

label.mktoLabel.mktoHasWidth {
font-size: 14px;
}




}
.mktoFormRow:nth-child(3) .mktoFieldWrap.mktoRequiredField .mktoLabel {
padding-left: 18px;
}
.mktoFormRow:nth-child(3) .mktoFieldWrap.mktoRequiredField .mktoClear{
display: none !important;
}
.mktoFormRow:nth-child(3) .mktoFieldWrap.mktoRequiredField {
display: -webkit-flex !important;
display: -ms-flex !important;
display: flex !important;
-webkit-flex-direction: row-reverse;
-ms-flex-direction: row-reverse;
flex-direction: row-reverse;
-ms-align-items: center;
align-items: center;
justify-content: flex-end;
}

form#rtd-search-form ::placeholder {
padding-left: 20px;
}

form#rtd-search-form input[name="q"] {
width: 100%;
border: 1px solid #2C4257;
border-radius: 2px;
background-image: url(../../../../_static/search-input-bg.png);
background-repeat: no-repeat;
background-position: 10px center;
color: #000;
}

form#rtd-search-form input[name="q"]:valid {
background: none;
color: #000
}

@media screen and (max-width: 480px) {
form.mktoForm.mktoHasWidth.mktoLayoutLeft {
display: block !important;
padding-left: 0;
padding-right: 0;
}
form.mktoForm.mktoHasWidth.mktoLayoutLeft input#Email{
margin-top: 0;
}
}



/* checkbox */

/* Basic styles */
.mktoFormRow:nth-child(3) .mktoFieldWrap.mktoRequiredField a.mchNoDecorate:hover {
color: #fff;
background: transparent;
}
.mktoFormRow:nth-child(3) .mktoFieldWrap.mktoRequiredField .mktoLogicalField input[type="checkbox"] {
position: absolute;
opacity: 0;
z-index: -1;
}

.mktoFormRow:nth-child(3) .mktoFieldWrap.mktoRequiredField .mktoLogicalField label {
position: relative;
display: inline-block;
padding: 0 0 0 2em;
height: 1.5em;
line-height: 1.5;
cursor: pointer;
}
.mktoFormRow:nth-child(3) .mktoFieldWrap.mktoRequiredField .mktoLogicalField label::before,
.mktoFormRow:nth-child(3) .mktoFieldWrap.mktoRequiredField .mktoLogicalField label::after {
position: absolute;
top: 0;
left: 0;
display: block;
width: 1.5em;
height: 1.5em;
}
.mktoFormRow:nth-child(3) .mktoFieldWrap.mktoRequiredField .mktoLogicalField label::before {
content: " ";
border: 2px solid #bdc3c7;
border-radius: 20%;
}
/* Checkbox */
.mktoFormRow:nth-child(3) .mktoFieldWrap.mktoRequiredField .mktoLogicalField input[type="checkbox"] + label::after {
content: "\2714";
color: #2c3e50;
line-height: 1.5;
text-align: center;
}

/* :checked */
.mktoFormRow:nth-child(3) .mktoFieldWrap.mktoRequiredField .mktoLogicalField input[type="checkbox"]:checked + label::before {
background: #fff;
border-color: #fff;
}
.mktoFormRow:nth-child(3) .mktoFieldWrap.mktoRequiredField .mktoLogicalField input[type="checkbox"] + label::after {
-webkit-transform: scale(0);
-ms-transform: scale(0);
-o-transform: scale(0);
transform: scale(0);
}
.mktoFormRow:nth-child(3) .mktoFieldWrap.mktoRequiredField .mktoLogicalField input[type="checkbox"]:checked + label::after {
-webkit-transform: scale(1.5);
-ms-transform: scale(1.5);
-o-transform: scale(1.5);
transform: scale(1.5);
top: 3px;
left: 1px;
}
/* Transition */
.mktoFormRow:nth-child(3) .mktoFieldWrap.mktoRequiredField .mktoLogicalField label::after {
-webkit-transition: .25s all ease;
-o-transition: .25s all ease;
transition: .25s all ease;
}
55 changes: 54 additions & 1 deletion _themes/conan/static/css/theme.css

Large diffs are not rendered by default.