Merge pull request #30 from wanderzell/GUI-rework-skaman82

Landing page style rework
10.3.x-maintenance
Albert Kravcov 2015-11-10 10:05:05 +01:00
commit 780913b705
3 changed files with 273 additions and 285 deletions

View File

@ -128,12 +128,12 @@ input[type="number"]::-webkit-inner-spin-button {
}
.headerbar {
height: 110px;
width: 100%;
float: left;
background-image: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.15));
height:110px;
width:100%;
background-image: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.15));
}
#logo {
position: relative;
float: left;
@ -905,10 +905,10 @@ dialog {
/* leave 20px side padding always */
/*padding: 0 20px 0 20px;
for testing: */
padding: 20px;
position: relative;
float: left;
width: calc(100% - 40px);
padding: 20px;
position: relative;
/*float: left;
width:calc(100% - 40px);*/
}
.content_toolbar {
@ -1370,7 +1370,7 @@ dialog {
border-radius: 3px;
color: #fff;
font-size: 10px;
}
}
.fixfalse {
background-color: #e60000;
@ -1385,7 +1385,7 @@ dialog {
@media only screen and (max-width: 1055px) , only screen and (max-device-width: 1055px) {
.content_wrapper {
padding: 15px;
width: calc(100% - 30px);
/*width:calc(100% - 30px);*/
}
.tab_title {
font-size: 16px;

View File

@ -1,255 +1,244 @@
.tab-landing {
margin: 0px;
padding: 0px;
background-color: #436c2c;
}
/* general layout */
.tab-landing {
margin: 0px;
padding: 0px;
width: 100%;
position: absolute;
}
.tab-landing .content_top {
float: left;
width: 100%;
background-color: #59aa29;
height: 240px;
height: 35%;
height: 190px;
}
.tab-landing .content_mid {
float: left;
width: 100%;
background-color: #eaeaea;
}
.tab-landing .content_foot {
float: left;
width: 100%;
}
.tab-landing .logowrapper {
float: both;
margin-left: auto;
margin-right: auto;
width: 450px;
color: white;
margin-top: 25px;
font-size: 14px;
font-family: 'open_sanslight', Arial;
}
.tab-landing .logowrapper img {
width: 420px;
margin: 5px;
}
.tab-landing .logowrapper span {
font-size: 22px;
font-family: 'open_sanslight', Arial;
}
.tab-landing .content_wrapper {
margin: 0px;
padding: 0px;
width: calc(100% - 0px);
height: 100%;
padding: 0;
box-sizing: content-box;
}
.tab-landing .left {
width: 60%;
position: relative;
.tab-landing .content_top {
height: 150px;
background: #59aa29;
padding: 20px;
}
.tab-landing .right {
float: left;
margin-left: 10px;
width: calc(40% - 10px);
position: relative;
.tab-landing .content_mid {
background-color:#eaeaea;
overflow: hidden;
}
.contributing li {
list-style-type: disc;
list-style-position: initial;
margin-left: 20px;
.tab-landing .content_foot {
clear: both;
padding: 20px;
}
#changelog_bt {
height: 84px;
width: 30px;
background-color: black;
margin-left: -30px;
margin-top: 30px;
position: absolute;
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
/* hero block */
.tab-landing .logowrapper {
margin-left:auto;
margin-right:auto;
width:800px;
color:white;
margin-top:25px;
font-size:14px;
font-family: 'open_sanslight', Arial;
}
#changelog_button {
display: block;
color: white;
height: 30px;
width: 100px;
transform: rotate(270deg);
transform-origin: left top 0;
margin-left: 6px;
margin-top: 74px;
.tab-landing .logowrapper img {
width:420px;
margin:5px;
}
.changelog_wrapper {
right: 0px;
width: 30px;
height: 100%;
position: fixed;
.tab-landing .logowrapper span {
font-size:22px;
font-family: 'open_sanslight', Arial;
}
.changelog {
height: calc(100% - 0px);
right: 0px;
width: 0px;
background-color: #363736;
position: absolute;
color: #ccc;
}
.changelog .title {
line-height: 20px;
text-align: left;
padding-left: 10px;
font-weight: bold;
color: #56AC1D;
text-transform: uppercase;
}
.changelog .changewrapper {
height: calc(100% - 40px);
padding: 10px;
overflow-y: hidden;
overflow-x: hidden;
-webkit-user-select: text;
opacity: 0;
}
.changelog .changewrapper.active {
overflow-y: scroll;
opacity: 0;
}
.changelog .changewrapper span {
font-weight: bold;
line-height: 22px;
}
.changelog .changewrapper ul {
margin-bottom: 10px;
line-height: 15px;
}
.changelog .changewrapper ul span {
font-weight: bold;
color: #fff;
}
.changelog .changewrapper li {
font-weight: normal;
margin-left: 0px;
border-top: 1px solid #656565;
padding-top: 4px;
padding-bottom: 4px;
}
.changelog .changewrapper p {
margin-bottom: 5px;
}
.text2 ul {
margin-bottom: 0px;
line-height: 15px;
}
.text2 li {
font-weight: normal;
margin-left: 0px;
border-top: 1px solid #ccc;
padding-top: 4px;
padding-bottom: 4px !important;
}
/* sponsors blocks */
.sponsors .title {
text-transform: uppercase;
font-size: 10px;
}
text-transform:uppercase;
font-size:10px;
}
.sponsors {
float: both;
margin-left: auto;
margin-right: auto;
width: 825px;
text-align: center;
color: rgba(255, 255, 255, 0.50);
margin-top: 2%;
margin-left:auto;
margin-right:auto;
text-align:center;
color: silver;
}
.sponsors ul {
margin-top: 10px;
float: left;
margin-top:10px;
}
.sponsors li {
float: left;
margin-right: 10px;
display: block;
display: inline-block;
margin-right:10px;
}
.sponsors li a {
border-radius: 3px;
padding: 2px;
padding-left: 4px;
padding-right: 4px;
font-size: 13px;
line-height: 10px;
color: white;
font-weight: normal;
font-family: 'open_sanslight', Arial;
border-radius:3px;
padding:2px;
padding-left:4px;
padding-right:4px;
font-size:13px;
line-height:10px;
font-weight:normal;
font-family: 'open_sanslight', Arial;
border: 1px solid white;
}
.sponsors li a:hover {
background-color: rgba(255, 255, 255, 0.30);
color: #fff;
border-color: #eaeaea;
}
.text1, .text2, .text3 {
margin-top: 15px;
margin-bottom: 15px;
font-weight: normal;
font-family: 'open_sansregular', Arial;
font-size: 12px;
margin-top:15px;
margin-bottom:15px;
font-weight:normal;
font-family: 'open_sansregular', Arial;
font-size:12px;
}
.text3 {
font-size: 11px;
/* text columns */
.tab-landing .content_mid .column .wrap {
padding: 20px;
}
.mid_head {
font-size: 13px;
line-height: 10px;
color: #000;
font-weight: bold;
margin-bottom: 10px;
line-height: 16px;
.tab-landing .content_mid h2,
.tab-landing .content_mid h3 {
margin-bottom: 10px;
}
.tab-landing .content_mid h3 {
font-size: 12px;
}
.donate {
float: left;
margin-top: 15px;
width: 100%;
text-align: center;
margin-bottom: -5px;
.tab-landing .content_mid .text1 {
width:37%;
}
.text1 a:hover, .text2 a:hover, .text3 a:hover {
color: #59aa29;
}
.tab-landing .content_mid .text2 {
width:37%;
}
.tab-landing .content_mid .text2 ul {
margin-top: 10px;
}
.tab-landing .content_mid .text2 li {
padding: 5px 0;
border-top: 1px dashed silver;
}
.tab-landing .content_mid .text3 {
width:26%;
}
.tab-landing .content_mid .text3 .wrap {
border: 1px solid silver;
border-radius: 5px;
background: white;
margin-right: 20px;
margin-top: 5px;
}
.tab-landing .content_mid .text3 .donate {
margin-top: 10px;
}
/* changelog block */
#changelog_bt {
height: 84px;
width:30px;
background-color:green;
margin-left:-30px;
margin-top:30px;
position:fixed;
border-top-left-radius:10px;
border-bottom-left-radius:10px;
}
#changelog_button {
display:block;
color:white;
height:30px;
width:100px;
transform:rotate(270deg);
transform-origin: left top 0;
margin-left:6px;
margin-top:90px;
text-align: center;
}
.changelog_wrapper {
right:0px;
width:400px;
height:100%;
position:absolute;
}
.changelog {
height:100%;
right:0px;
width:0px;
position:absolute;
overflow-y: scroll;
background-color:white;
border-left: 3px solid green;
}
.changelog .title {
line-height: 20px;
text-align:left;
padding-left:20px;
font-weight: bold;
color: #56AC1D;
text-transform:uppercase;
margin-top: 10px;
}
.changelog .changewrapper {
height: 100%;
padding: 20px;
overflow-y: hidden;
overflow-x: hidden;
-webkit-user-select: text;
opacity:0;
}
.changelog .changewrapper.active {
overflow-y: scroll;
opacity:0;
}
.changelog .changewrapper span {
font-weight: bold;
line-height:22px;
}
.changelog .changewrapper ul {
margin-bottom:10px;
line-height:17px;
}
.changelog .changewrapper ul span {
font-weight: bold;
}
.changelog .changewrapper li {
font-weight: normal;
margin-left: 0px;
border-top:1px solid #eee;
padding-top:5px;
padding-bottom:5px;
}
.changelog .changewrapper p {
margin-bottom: 20px;
}

View File

@ -1,71 +1,70 @@
<div class="tab-landing">
<div class="content_wrapper">
<div class="content_top">
<div class="logowrapper" align="center">
<span>Welcome to</span><br> <img src="../images/cf_logo_white.svg" />
<div class="" i18n="defaultWelcomeIntro" align="center"></div>
</div>
<div class="content_wrapper">
<div class="changelog_wrapper">
<div class="changelog configurator">
<div id="changelog_bt"><a id="changelog_button" href="#">Changelog</a></div>
<div class="title" i18n="defaultChangelogHead"></div>
<div class="changewrapper">
<!-- changelog content will be loaded here -->
</div>
</div>
<div class="content_mid">
<div class="cf_column third_left text1" style="width: 41%">
<div class="spacer_left" style="width: calc(100% - 30px); padding-left: 20; padding-right: 10px;">
<div class="mid_head">Hardware</div>
<div i18n="defaultWelcomeText"></div>
</div>
</div>
<div class="cf_column third_center text2" style="width: 37%;">
<div class="spacer">
<div i18n="defaultContributingHead" class="mid_head"></div>
<div i18n="defaultContributingText"></div>
</div>
</div>
<div class="cf_column third_right text3" style="width: calc(22% - 15px); margin-right: 15px;">
<div class="spacer_right" style="padding-left: 15px; width: calc(100% - 25px);">
<div class="gui_box grey" style="min-height: 200px; border: #59aa29 1px solid;">
<div class="spacer" style="margin-top: 10px; margin-bottom: 10px;">
<div i18n="defaultDonateHead" class="mid_head"></div>
<div i18n="defaultDonateText"></div>
<div class="donate">
<a
href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=TSQKVT6UYKGL6"
target="_blank" title="Donate"><img src="./images/btn-donate.png" alt="Paypal"
height="30" /></a>
</li>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="content_top">
<div class="logowrapper" align="center">
<span>Welcome to</span><br>
<img src="../images/cf_logo_white.svg"/>
<div class="" i18n="defaultWelcomeIntro" align="center"></div>
</div>
<div class="content_foot">
<div class="sponsors">
<div class="title" i18n="defaultSponsorsHead"></div>
<ul>
<li><a href="http://www.massiverc.com" title="www.massiverc.com" target="_blank">MassiveRC</a></li>
<li><a href="http://www.armattanquads.com" title="www.armattanquads.com" target="_blank">Armattan
Quads</a></li>
<li><a href="http://www.bcmultirotors.com" title="www.bcmultirotors.com" target="_blank">Bungeecow
Multirotors</a></li>
<li><a href="http://www.immersionrc.com" title="www.immersionrc.com" target="_blank">Immersion
RC</a></li>
<li><a href="http://www.radioc.co.uk" title="www.radioc.co.uk" target="_blank">RadioC</a></li>
<li><a href="http://www.multiwiicopter.com" title="www.multiwiicopter.com" target="_blank">MultiiWiiCopter</a></li>
<li><a href="http://www.overskyrc.com" title="www.overskyrc.com" target="_blank">OverSkyRC</a></li>
<li><a href="http://multirotormania.com" title="multirotormania.com" target="_blank">Multi
Rotor Mania</a></li>
</ul>
</div>
</div>
<div class="changelog_wrapper">
<div class="changelog configurator">
<div id="changelog_bt">
<a id="changelog_button" href="#">Changelog</a>
</div>
<div class="title" i18n="defaultChangelogHead"></div>
<div class="changewrapper">
<!-- changelog content will be loaded here -->
</div>
</div>
</div>
</div>
</div>
</div>
<div class="content_mid">
<!--div class="texts">
<h2 class="mid_head">Hardware</h2>
<div i18n="defaultWelcomeText"></div>
<h2 i18n="defaultContributingHead" class="mid_head"></h2>
<div i18n="defaultContributingText"></div>
<h2 i18n="defaultDonateHead" class="mid_head"></h2>
<div i18n="defaultDonateText"></div>
<div class="donate">
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=TSQKVT6UYKGL6" target="_blank" title="Donate"><img src="./images/btn-donate.png" alt="Paypal" height="30" /></a></li>
</div>
</div-->
<div class="column third_left text1">
<div class="wrap">
<h2>Hardware</h2>
<div i18n="defaultWelcomeText"></div>
</div>
</div>
<div class="column third_center text2">
<div class="wrap">
<h2 i18n="defaultContributingHead"></h2>
<div i18n="defaultContributingText"></div>
</div>
</div>
<div class="column third_right text3">
<div class="wrap">
<h3 i18n="defaultDonateHead"></h3>
<div i18n="defaultDonateText"></div>
<div class="donate">
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=TSQKVT6UYKGL6" target="_blank" title="Donate"><img src="./images/btn-donate.png" alt="Paypal" height="30" /></a></li>
</div>
</div>
</div>
</div>
<div class="content_foot">
<div class="sponsors">
<div class="title" i18n="defaultSponsorsHead"></div>
<ul>
<li><a href="http://www.massiverc.com" title="www.massiverc.com" target="_blank">MassiveRC</a></li>
<li><a href="http://www.armattanquads.com" title="www.armattanquads.com" target="_blank">Armattan Quads</a></li>
<li><a href="http://www.bcmultirotors.com" title="www.bcmultirotors.com" target="_blank">Bungeecow Multirotors</a></li>
<li><a href="http://www.immersionrc.com" title="www.immersionrc.com" target="_blank">Immersion RC</a></li>
<li><a href="http://www.radioc.co.uk" title="www.radioc.co.uk" target="_blank">RadioC</a></li>
<li><a href="http://www.multiwiicopter.com" title="www.multiwiicopter.com" target="_blank">MultiiWiiCopter</a></li>
<li><a href="http://www.overskyrc.com" title="www.overskyrc.com" target="_blank">OverSkyRC</a></li>
<li><a href="http://multirotormania.com" title="multirotormania.com" target="_blank">Multi Rotor Mania</a></li>
</ul>
</div>
</div>
</div>
</div>