advancing on home style

This commit is contained in:
Kayn Ty 2018-05-04 14:50:08 +02:00
parent 6fbce9694f
commit 68f828efbb
27 changed files with 207 additions and 73 deletions

View File

@ -14,6 +14,8 @@
{% block navigation %}
{% endblock %}
<div id="bodyland">
{% block bigMain %}
{% include 'default/header.html.twig' %}
<div class="container">
@ -21,6 +23,7 @@
{% endblock %}
</div>
{% include 'default/footer.html.twig' %}
{% endblock %}
</div>
{% block javascripts %}
<script src="{{ asset('build/app.js') }}"></script>

View File

@ -1,19 +1,19 @@
<div class="product-values marged-v">
<div class="row">
<div class="col-xs-4 text-center">
<div class="col-xs-12 col-sm-4 text-center">
<i class="fa fa-check-circle fa-3x"></i>
<h2 class="text-center">Gratuit</h2>
<p>Gérez votre comptabilité de stand en ligne sans dépenser un rond. Plus besoin de transporter un
inventaire et des feuilles de calcul faites à l'arrache.</p>
</div>
<div class="col-xs-4 text-center">
<div class="col-xs-12 col-sm-4 text-center">
<i class="fa fa-random fa-3x"></i>
<h2>Flexible</h2>
<p>Modifiez vos produits à la volée, soyez plusieurs à gérer la caisse si vous le souhaitez, changez de
responsable en cours de journée. Créez plusieurs produits juste en écrivant leur nom avec l'interface
d'importation simplifiée.</p>
</div>
<div class="col-xs-4 text-center">
<div class="col-xs-12 col-sm-4 text-center">
<i class="fa fa-truck fa-3x"></i>
<h2>Portable</h2>
<p>Fait pour être utilisé sur les marchés et les salons. Votre gestion des stocks n'en sera que
@ -21,7 +21,7 @@
</div>
</div>
<div class="row">
<div class="col-xs-4 text-center">
<div class="col-xs-12 col-sm-4 text-center">
<i class="fa fa-rotate-left fa-3x"></i>
<h2>Open Source</h2>
@ -32,12 +32,12 @@
.
</p>
</div>
<div class="col-xs-4 text-center">
<div class="col-xs-12 col-sm-4 text-center">
<i class="fa fa-pie-chart fa-3x"></i>
<h2>Statistiques</h2>
<p>Données statistiques et gestion des stocks actualisée au fur et à mesure des ventes.</p>
</div>
<div class="col-xs-4 text-center">
<div class="col-xs-12 col-sm-4 text-center">
<i class="fa fa-heart-o fa-3x"></i>
<h2>Data Love</h2>
<p>Données exportables et importables en masse librement.</p>

View File

@ -1,16 +1,8 @@
{% extends 'base.html.twig' %}
{% trans_default_domain 'FOSUserBundle' %}
{% block body %}
<div id="wrapper">
<main>
{% block bigMain %}
<div id="container" class="container">
<main>
{% include 'default/main-screen.html.twig' %}
</main>
</div>
</main>
</div>
{% endblock %}

View File

@ -1,34 +1,60 @@
<div class="main-screen">
<div id="welcome" class="jumbotron text-center">
<h1>
<i class="fa fa-circle-o-notch logo-main"></i>
Caisse
</h1>
<div class="description">
Votre caisse mobile dynamique en ligne
</div>
<div class="try">
<a class="btn btn-primary" href="{{ path('fos_user_security_login') }}" class="btn btn-primary">Essayez dès
maintenant
</a>
<p>
Démonstration en vous connectant avec le login: <strong>demo</strong> et le mot de passe
<strong>demo</strong>.
</p>
</div>
</div>
{% include 'default/description-app.html.twig' %}
{% block bigMain %}
<div class="try jumbotron">
<fieldset>
{% include 'default/header.html.twig' %}
<div class="main-screen">
<div id="welcome">
<section class="bg-accessories">
<div class="bg-shader">
<div class="container main-section">
<div class="row">
<div class="col-xs-6">
<a class="btn btn-primary" href="{{ path('dashboard') }}" class="btn btn-success">Essayez dès
maintenant
<h1>
{#<i class="fa fa-circle-o-notch logo-main"></i>#}
Caisse Bliss
</h1>
</div>
<div class="col-xs-6">
<div class="description">
<strong> Votre caisse mobile dynamique en ligne </strong> Pensé pour les exposants
et les créateurs divers en festival, cette caisse saura s'adapter à l'évolution de
vos stocks et vous libèrera des affres de la fiche de compte à faire et compéter soi
même.
</div>
<div class="try">
<a class="btn btn-primary" href="{{ path('fos_user_security_login') }}"
class="btn btn-primary">
Essayez dès maintenant
</a>
<sub> Démonstration en vous connectant avec le login: <strong>demo</strong> et le
mot de passe <strong>demo</strong>. </sub>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
<section class="bg-girl">
<div class="bg-shader">
<div class="container">
{% include 'default/description-app.html.twig' %}
<div class="try">
<fieldset class="bg-dark padded">
<div class="row">
<div class="col-xs-6">
<a class="btn btn-primary" href="{{ path('dashboard') }}" class="btn btn-success">
Essayez dès maintenant
</a>
<p>
Démonstration en vous connectant avec le login: <strong>demo</strong> et le mot de passe
<strong>demo</strong>.
Démonstration en vous connectant avec le login: <strong>demo</strong> et le mot
de passe <strong>demo</strong>.
</p>
</div>
<div class="col-xs-6">
@ -45,7 +71,10 @@
</div>
</fieldset>
</div>
<hr>
</div>
</div>
</section>
<section class="bg-color">
<div id="contact" class="text-center">
<i class="fa fa-envelope-open-o"></i>
contactez-moi pour tout renseignement:
@ -57,4 +86,8 @@
</a>
</div>
</div>
</section>
</div>
{% include 'default/footer.html.twig' %}
{% endblock %}

View File

@ -1,9 +1,11 @@
@import 'pages/libs';
@import 'fonts/all';
@import 'split/override_libs';
@import 'split/custom_vars';
@import 'split/formulaires';
@import 'split/typo';
@import 'pages/global';
//@import 'pages/demo';
@import 'pages/home';
@import 'pages/special';
@import 'pages/responsive';

View File

@ -0,0 +1,6 @@
@font-face {
font-family: "Source Sans";
src: url("source-sans-pro/SourceSansPro-Bold.otf") format('opentype');
src: url("source-sans-pro/SourceSansPro-Regular.otf") format('opentype');
src: url("source-sans-pro/SourceSansPro-Light.otf") format('opentype');
}

View File

@ -0,0 +1,43 @@
Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries.
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others.
The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the copyright statement(s).
"Original Version" refers to the collection of Font Software components as distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting, or substituting -- in part or in whole -- any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment.
"Author" refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission.
5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.

Binary file not shown.

View File

@ -2,6 +2,9 @@ $brand-primary: darken(#428bca, 20%);
// the ~ allows you to reference things in node_modules
@import '~bootstrap-sass/assets/stylesheets/bootstrap';
html, h1, h2, h3, h4, h5, h6 {
font-family: Source Sans, Arial, Helvetica, sans-serif;
}
input {
width: auto;

View File

@ -12,10 +12,41 @@ body {
min-height: 80vh;
}
.bg-dark {
background: rgba(0, 0, 0, 0.25);
}
.bg-shader {
@extend .bg-dark;
height: 100vh;
}
.bg-img {
background-image: url('bg.jpg');
background-attachment: fixed;
background-size: cover;
overflow: hidden;
min-height: 100vh;
}
.bg-accessories {
@extend .bg-img;
background-image: url('../../img/accessories.jpg');
}
.bg-girl {
@extend .bg-img;
background-image: url('../../img/girl_computer.jpg');
}
.bg-color {
background: #1b6d85;
color: white;
a {
color: lightblue;
}
padding: 1rem;
}
.logo-main {
@ -47,7 +78,6 @@ label {
.try {
margin: 0 auto;
text-align: center;
}
.padded {

View File

@ -0,0 +1,22 @@
.main-section {
padding: 1rem;
display: flex;
color: white;
justify-content: center;
h1 {
font-size: 4em;
}
h2 {
color: $light !important;
}
> div {
height: 80vh;
max-widht: 50%;
}
}
.product-values {
color: white;
padding: 4rem;
}

View File

@ -1,4 +1,4 @@
$dark: #222;
$light: #dedede;
$logo-color: mediumslateblue;
$all-text-color: mix(mediumslateblue, $dark);
$logo-color: mix(mediumslateblue, white);
$all-text-color: mix(mediumslateblue, $light);

BIN
assets/img/accessories.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 188 KiB

View File

Before

Width:  |  Height:  |  Size: 176 KiB

After

Width:  |  Height:  |  Size: 176 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 247 KiB