[ADD]New Theme theme_hermit
This commit is contained in:
parent
13e820a64d
commit
83b3dd675f
@ -15,6 +15,7 @@
|
||||
background-color: transparent;
|
||||
border-bottom: 2px solid #cccccc;
|
||||
}
|
||||
|
||||
.form-group {
|
||||
display: block;
|
||||
}
|
||||
@ -425,6 +426,7 @@ div.text-info.oe_subdescription {
|
||||
font-size: 22px;
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
.o_website_rating_static {
|
||||
color: @color-primary;
|
||||
}
|
||||
@ -468,9 +470,11 @@ div.text-info.oe_subdescription {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#wrapwrap #products_grid_before > ul > li > a {
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
#o_shop_collapse_category > li > div.r_menu > ul > li > i {
|
||||
position: absolute;
|
||||
right: 20px;
|
||||
@ -618,13 +622,37 @@ textarea:focus {
|
||||
-ms-user-select: none;
|
||||
}
|
||||
|
||||
#js_product_style {
|
||||
input.js_variant_change_full.js_variant_change {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
#js_product_style > ul > li > ul > li > label > input,
|
||||
#radio-option {
|
||||
input[type="checkbox"] {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.modal-body {
|
||||
input.js_variant_change_full.js_variant_change {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
#js_product_style > label > input {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.js_add_cart_variants [type=radio], .js_add_cart_variants [type=checkbox],
|
||||
.js_attributes [type=radio], .js_attributes [type=checkbox] {
|
||||
opacity: 0;
|
||||
z-index: 50;
|
||||
position: absolute;
|
||||
height: 22px;
|
||||
width: 90%;
|
||||
}
|
||||
|
||||
.js_add_cart_variants [type=checkbox]:checked + label:before,
|
||||
@ -660,11 +688,13 @@ textarea:focus {
|
||||
-webkit-transition: .2s;
|
||||
transition: .2s;
|
||||
}
|
||||
|
||||
.js_add_cart_variants [type=radio] + label,
|
||||
.js_attributes [type=radio] + label {
|
||||
-webkit-transition: .28s ease;
|
||||
transition: .28s ease;
|
||||
}
|
||||
|
||||
.js_add_cart_variants [type=radio] + label, .js_add_cart_variants [type=checkbox] + label,
|
||||
.js_attributes [type=radio] + label, .js_attributes [type=checkbox] + label {
|
||||
position: relative;
|
||||
@ -684,6 +714,7 @@ textarea:focus {
|
||||
.js_attributes [type=radio]:checked + label:before {
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
.js_add_cart_variants [type=radio] + label:after, .js_add_cart_variants [type=radio] + label:before,
|
||||
.js_attributes [type=radio] + label:after, .js_attributes [type=radio] + label:before {
|
||||
content: '';
|
||||
@ -710,6 +741,7 @@ textarea:focus {
|
||||
-ms-transform: scale(1.02);
|
||||
transform: scale(1.02);
|
||||
}
|
||||
|
||||
.js_add_cart_variants [type=radio] + label:after, .js_add_cart_variants [type=radio] + label:before,
|
||||
.js_attributes [type=radio] + label:after, .js_attributes [type=radio] + label:before {
|
||||
content: '';
|
||||
@ -736,20 +768,25 @@ textarea:focus {
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
}
|
||||
|
||||
#user-table tr:first-child td {
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
.breadcrumb {
|
||||
padding: 4px 15px;
|
||||
}
|
||||
|
||||
.oe_search input[type=text] {
|
||||
background: #efefef;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.oe_search input[type=text]:focus {
|
||||
border-bottom: none !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
.oe_website_spinner .form-control {
|
||||
padding: 6px 2px !important;
|
||||
}
|
||||
|
@ -2,7 +2,6 @@
|
||||
moon
|
||||
========================================================================== */
|
||||
|
||||
|
||||
/* Colors
|
||||
========================================================================== */
|
||||
|
||||
@ -12,11 +11,25 @@
|
||||
@color-warning: @moon-warning;
|
||||
@color-danger: @moon-danger;
|
||||
|
||||
.text-primary{color:@color-primary;}
|
||||
.text-success{color:@color-success;}
|
||||
.text-info{color:@color-info;}
|
||||
.text-warning{color:@color-warning;}
|
||||
.text-danger{color:@color-danger;}
|
||||
.text-primary {
|
||||
color: @color-primary;
|
||||
}
|
||||
|
||||
.text-success {
|
||||
color: @color-success;
|
||||
}
|
||||
|
||||
.text-info {
|
||||
color: @color-info;
|
||||
}
|
||||
|
||||
.text-warning {
|
||||
color: @color-warning;
|
||||
}
|
||||
|
||||
.text-danger {
|
||||
color: @color-danger;
|
||||
}
|
||||
|
||||
/* Grayscale
|
||||
========================================================================== */
|
||||
@ -55,16 +68,16 @@ header{
|
||||
color: @color-info !important;
|
||||
}
|
||||
}
|
||||
header a.navbar-brand.logo img{
|
||||
margin:16px;
|
||||
}
|
||||
|
||||
#wrapwrap div.navbar-static-top {
|
||||
border-bottom-width: 0px;
|
||||
}
|
||||
|
||||
#wrapwrap div.navbar-static-top .navbar-nav > .active > a {
|
||||
color: #fff !important;
|
||||
background-color: @color-primary !important;
|
||||
}
|
||||
|
||||
#top_menu > li > a {
|
||||
line-height: inherit;
|
||||
text-decoration: none;
|
||||
@ -73,16 +86,19 @@ header a.navbar-brand.logo img{
|
||||
padding: 18px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
#top_menu > li.active > a {
|
||||
color: #fff;
|
||||
font-weight: bold;
|
||||
background: @color-primary
|
||||
}
|
||||
|
||||
#top_menu > li > a:hover {
|
||||
color: #fff;
|
||||
font-weight: bold;
|
||||
background: @color-primary;
|
||||
}
|
||||
|
||||
#top_menu .divider {
|
||||
display: none;
|
||||
}
|
||||
@ -92,8 +108,6 @@ header a.navbar-brand.logo img{
|
||||
|
||||
@body-bg: #fff;
|
||||
|
||||
|
||||
|
||||
/* Label Colors
|
||||
========================================================================== */
|
||||
|
||||
@ -115,12 +129,9 @@ header a.navbar-brand.logo img{
|
||||
//** Default text color of a linked label
|
||||
@label-link-hover-color: #fff;
|
||||
|
||||
|
||||
|
||||
/* Button Colors
|
||||
========================================================================== */
|
||||
|
||||
|
||||
@btn-font-weight: normal;
|
||||
|
||||
@btn-default-color: @text-color;
|
||||
@ -154,10 +165,6 @@ header a.navbar-brand.logo img{
|
||||
@btn-border-radius-large: @border-radius-large;
|
||||
@btn-border-radius-small: @border-radius-small;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* Pagination Colors
|
||||
========================================================================== */
|
||||
|
||||
@ -177,8 +184,6 @@ header a.navbar-brand.logo img{
|
||||
@pagination-disabled-bg: #fff;
|
||||
@pagination-disabled-border: #ddd;
|
||||
|
||||
|
||||
|
||||
/* Pager Colors
|
||||
========================================================================== */
|
||||
|
||||
@ -203,10 +208,6 @@ header a.navbar-brand.logo img{
|
||||
@jumbotron-font-size: ceil((@font-size-base * 1.5));
|
||||
@jumbotron-heading-font-size: ceil((@font-size-base * 4.5));
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* Dropdown Colors
|
||||
========================================================================== */
|
||||
|
||||
@ -222,8 +223,6 @@ header a.navbar-brand.logo img{
|
||||
//** Carets increase slightly in size for larger components.
|
||||
@caret-width-large: 5px;
|
||||
|
||||
|
||||
|
||||
//** Background for the dropdown menu.
|
||||
@dropdown-bg: #fff;
|
||||
//** Dropdown menu `border-color`.
|
||||
@ -257,7 +256,6 @@ header a.navbar-brand.logo img{
|
||||
/* Input Group Colors
|
||||
========================================================================== */
|
||||
|
||||
|
||||
//** Background color for textual input addons
|
||||
@input-group-addon-bg: #FFF;
|
||||
|
||||
|
@ -1,8 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Part of Odoo Module Developed by art
|
||||
See LICENSE file for full copyright and licensing details.
|
||||
-->
|
||||
<flectra>
|
||||
|
||||
<!-- Customize - Customize Theme -->
|
||||
|
1
addons/theme_hermit/__init__.py
Normal file
1
addons/theme_hermit/__init__.py
Normal file
@ -0,0 +1 @@
|
||||
# -*- coding: ascii -*-
|
14
addons/theme_hermit/__manifest__.py
Normal file
14
addons/theme_hermit/__manifest__.py
Normal file
@ -0,0 +1,14 @@
|
||||
# Part of Flectra. See LICENSE file for full copyright and licensing details.
|
||||
{
|
||||
'name': 'Theme Hermit',
|
||||
'description': 'Theme Hermit',
|
||||
'category': 'Theme/Hidden',
|
||||
'version': '1.0.0',
|
||||
'author': 'FlectraHQ',
|
||||
'depends': ['website'],
|
||||
'data': [
|
||||
'views/assets.xml',
|
||||
'views/customize_modal.xml',
|
||||
],
|
||||
'application': False,
|
||||
}
|
BIN
addons/theme_hermit/static/font/Montserrat/Montserrat-Black.ttf
Normal file
BIN
addons/theme_hermit/static/font/Montserrat/Montserrat-Black.ttf
Normal file
Binary file not shown.
Binary file not shown.
BIN
addons/theme_hermit/static/font/Montserrat/Montserrat-Bold.ttf
Normal file
BIN
addons/theme_hermit/static/font/Montserrat/Montserrat-Bold.ttf
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
addons/theme_hermit/static/font/Montserrat/Montserrat-Italic.ttf
Normal file
BIN
addons/theme_hermit/static/font/Montserrat/Montserrat-Italic.ttf
Normal file
Binary file not shown.
BIN
addons/theme_hermit/static/font/Montserrat/Montserrat-Light.ttf
Normal file
BIN
addons/theme_hermit/static/font/Montserrat/Montserrat-Light.ttf
Normal file
Binary file not shown.
Binary file not shown.
BIN
addons/theme_hermit/static/font/Montserrat/Montserrat-Medium.ttf
Normal file
BIN
addons/theme_hermit/static/font/Montserrat/Montserrat-Medium.ttf
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
addons/theme_hermit/static/font/Montserrat/Montserrat-Thin.ttf
Normal file
BIN
addons/theme_hermit/static/font/Montserrat/Montserrat-Thin.ttf
Normal file
Binary file not shown.
Binary file not shown.
93
addons/theme_hermit/static/font/Montserrat/OFL.txt
Normal file
93
addons/theme_hermit/static/font/Montserrat/OFL.txt
Normal file
@ -0,0 +1,93 @@
|
||||
Copyright 2011 The Montserrat Project Authors (https://github.com/JulietaUla/Montserrat)
|
||||
|
||||
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.
|
94
addons/theme_hermit/static/font/PT_Sans/OFL.txt
Normal file
94
addons/theme_hermit/static/font/PT_Sans/OFL.txt
Normal file
@ -0,0 +1,94 @@
|
||||
Copyright (c) 2010, ParaType Ltd. (http://www.paratype.com/public),
|
||||
with Reserved Font Names "PT Sans" and "ParaType".
|
||||
|
||||
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.
|
BIN
addons/theme_hermit/static/font/PT_Sans/PT_Sans-Web-Bold.ttf
Normal file
BIN
addons/theme_hermit/static/font/PT_Sans/PT_Sans-Web-Bold.ttf
Normal file
Binary file not shown.
Binary file not shown.
BIN
addons/theme_hermit/static/font/PT_Sans/PT_Sans-Web-Italic.ttf
Normal file
BIN
addons/theme_hermit/static/font/PT_Sans/PT_Sans-Web-Italic.ttf
Normal file
Binary file not shown.
BIN
addons/theme_hermit/static/font/PT_Sans/PT_Sans-Web-Regular.ttf
Normal file
BIN
addons/theme_hermit/static/font/PT_Sans/PT_Sans-Web-Regular.ttf
Normal file
Binary file not shown.
93
addons/theme_hermit/static/font/Poppins/OFL.txt
Normal file
93
addons/theme_hermit/static/font/Poppins/OFL.txt
Normal file
@ -0,0 +1,93 @@
|
||||
Copyright 2014-2017 Indian Type Foundry (info@indiantypefoundry.com)
|
||||
|
||||
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.
|
BIN
addons/theme_hermit/static/font/Poppins/Poppins-Black.ttf
Normal file
BIN
addons/theme_hermit/static/font/Poppins/Poppins-Black.ttf
Normal file
Binary file not shown.
BIN
addons/theme_hermit/static/font/Poppins/Poppins-BlackItalic.ttf
Normal file
BIN
addons/theme_hermit/static/font/Poppins/Poppins-BlackItalic.ttf
Normal file
Binary file not shown.
BIN
addons/theme_hermit/static/font/Poppins/Poppins-Bold.ttf
Normal file
BIN
addons/theme_hermit/static/font/Poppins/Poppins-Bold.ttf
Normal file
Binary file not shown.
BIN
addons/theme_hermit/static/font/Poppins/Poppins-BoldItalic.ttf
Normal file
BIN
addons/theme_hermit/static/font/Poppins/Poppins-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
addons/theme_hermit/static/font/Poppins/Poppins-ExtraBold.ttf
Normal file
BIN
addons/theme_hermit/static/font/Poppins/Poppins-ExtraBold.ttf
Normal file
Binary file not shown.
Binary file not shown.
BIN
addons/theme_hermit/static/font/Poppins/Poppins-ExtraLight.ttf
Normal file
BIN
addons/theme_hermit/static/font/Poppins/Poppins-ExtraLight.ttf
Normal file
Binary file not shown.
Binary file not shown.
BIN
addons/theme_hermit/static/font/Poppins/Poppins-Italic.ttf
Normal file
BIN
addons/theme_hermit/static/font/Poppins/Poppins-Italic.ttf
Normal file
Binary file not shown.
BIN
addons/theme_hermit/static/font/Poppins/Poppins-Light.ttf
Normal file
BIN
addons/theme_hermit/static/font/Poppins/Poppins-Light.ttf
Normal file
Binary file not shown.
BIN
addons/theme_hermit/static/font/Poppins/Poppins-LightItalic.ttf
Normal file
BIN
addons/theme_hermit/static/font/Poppins/Poppins-LightItalic.ttf
Normal file
Binary file not shown.
BIN
addons/theme_hermit/static/font/Poppins/Poppins-Medium.ttf
Normal file
BIN
addons/theme_hermit/static/font/Poppins/Poppins-Medium.ttf
Normal file
Binary file not shown.
BIN
addons/theme_hermit/static/font/Poppins/Poppins-MediumItalic.ttf
Normal file
BIN
addons/theme_hermit/static/font/Poppins/Poppins-MediumItalic.ttf
Normal file
Binary file not shown.
BIN
addons/theme_hermit/static/font/Poppins/Poppins-Regular.ttf
Normal file
BIN
addons/theme_hermit/static/font/Poppins/Poppins-Regular.ttf
Normal file
Binary file not shown.
BIN
addons/theme_hermit/static/font/Poppins/Poppins-SemiBold.ttf
Normal file
BIN
addons/theme_hermit/static/font/Poppins/Poppins-SemiBold.ttf
Normal file
Binary file not shown.
Binary file not shown.
BIN
addons/theme_hermit/static/font/Poppins/Poppins-Thin.ttf
Normal file
BIN
addons/theme_hermit/static/font/Poppins/Poppins-Thin.ttf
Normal file
Binary file not shown.
BIN
addons/theme_hermit/static/font/Poppins/Poppins-ThinItalic.ttf
Normal file
BIN
addons/theme_hermit/static/font/Poppins/Poppins-ThinItalic.ttf
Normal file
Binary file not shown.
93
addons/theme_hermit/static/font/Source_Sans_Pro/OFL.txt
Normal file
93
addons/theme_hermit/static/font/Source_Sans_Pro/OFL.txt
Normal file
@ -0,0 +1,93 @@
|
||||
Copyright 2010, 2012, 2014 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name ‘Source’.
|
||||
|
||||
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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
978
addons/theme_hermit/static/less/common.less
Normal file
978
addons/theme_hermit/static/less/common.less
Normal file
@ -0,0 +1,978 @@
|
||||
.form-control {
|
||||
background-color: transparent;
|
||||
background-image: none;
|
||||
border-radius: 0;
|
||||
margin-top: 0rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.form-control:focus {
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.form-control:disabled, .form-control[readonly] {
|
||||
background-color: transparent;
|
||||
border-bottom: 2px solid #cccccc;
|
||||
}
|
||||
|
||||
.md-form {
|
||||
position: relative;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.md-form label {
|
||||
-webkit-transition: 0.2s ease-out;
|
||||
transition: 0.2s ease-out;
|
||||
color: #757575;
|
||||
position: absolute;
|
||||
top: 0.8rem;
|
||||
left: 0;
|
||||
cursor: text;
|
||||
}
|
||||
|
||||
.md-form label.active {
|
||||
-webkit-transform: translateY(-140%);
|
||||
-ms-transform: translateY(-140%);
|
||||
transform: translateY(-140%);
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.md-form .prefix {
|
||||
-webkit-transition: color 0.2s;
|
||||
transition: color 0.2s;
|
||||
position: absolute;
|
||||
width: 3rem;
|
||||
font-size: 2rem;
|
||||
padding-top: .5rem;
|
||||
}
|
||||
|
||||
.md-form .prefix ~ input, .md-form .prefix ~ textarea {
|
||||
margin-left: 3rem;
|
||||
width: 92%;
|
||||
width: -webkit-calc(100% - 3rem);
|
||||
width: calc(100% - 3rem);
|
||||
}
|
||||
|
||||
.md-form .prefix ~ label {
|
||||
margin-left: 3rem;
|
||||
}
|
||||
|
||||
.md-form .prefix.active {
|
||||
color: @color-primary;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 992px) {
|
||||
.md-form .prefix ~ input {
|
||||
width: 86%;
|
||||
width: -webkit-calc(100% - 3rem);
|
||||
width: calc(100% - 3rem);
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 600px) {
|
||||
.md-form .prefix ~ input {
|
||||
width: 80%;
|
||||
width: -webkit-calc(100% - 3rem);
|
||||
width: calc(100% - 3rem);
|
||||
}
|
||||
}
|
||||
|
||||
.md-form .btn {
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.md-form.form-sm input {
|
||||
padding-bottom: 0.2rem;
|
||||
padding-top: 0.2rem;
|
||||
font-size: 0.8rem;
|
||||
line-height: 0.5;
|
||||
}
|
||||
|
||||
.md-form.form-sm label {
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.md-form.form-sm .prefix {
|
||||
font-size: 1.5rem;
|
||||
top: 0.4rem;
|
||||
}
|
||||
|
||||
.md-form.form-sm .prefix ~ input, .md-form.form-sm .prefix ~ textarea, .md-form.form-sm .prefix ~ label {
|
||||
margin-left: 2.2rem;
|
||||
}
|
||||
|
||||
.md-form.input-group {
|
||||
padding-left: 1rem;
|
||||
}
|
||||
|
||||
.md-form.input-group::-webkit-input-placeholder {
|
||||
color: #999;
|
||||
padding-top: 2px;
|
||||
}
|
||||
|
||||
.md-form.input-group:-moz-placeholder {
|
||||
color: #999;
|
||||
padding-top: 2px;
|
||||
}
|
||||
|
||||
.md-form.input-group::-moz-placeholder {
|
||||
color: #999;
|
||||
padding-top: 2px;
|
||||
}
|
||||
|
||||
.md-form.input-group::-webkit-input-placeholder {
|
||||
color: #999;
|
||||
padding-top: 2px;
|
||||
}
|
||||
|
||||
.md-form.input-group::-moz-placeholder {
|
||||
color: #999;
|
||||
padding-top: 2px;
|
||||
}
|
||||
|
||||
.md-form.input-group:-ms-input-placeholder {
|
||||
color: #999;
|
||||
padding-top: 2px;
|
||||
}
|
||||
|
||||
.md-form.input-group::placeholder {
|
||||
color: #999;
|
||||
padding-top: 2px;
|
||||
}
|
||||
|
||||
.form-group {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.form-inline fieldset {
|
||||
margin-right: 1.5rem;
|
||||
}
|
||||
|
||||
.form-inline .form-group {
|
||||
margin-right: 2rem;
|
||||
}
|
||||
|
||||
.form-simple input[type=password]:focus:not([readonly]),
|
||||
.form-simple input[type=text]:focus:not([readonly]) {
|
||||
border-bottom: 1px solid #ff3547;
|
||||
-webkit-box-shadow: 0 1px 0 0 #ff3547;
|
||||
box-shadow: 0 1px 0 0 #ff3547;
|
||||
}
|
||||
|
||||
input[type=text],
|
||||
input[type=password],
|
||||
input[type=email],
|
||||
input[type=url],
|
||||
input[type=time],
|
||||
input[type=date],
|
||||
input[type=datetime-local],
|
||||
input[type=tel],
|
||||
input[type=number],
|
||||
input[type=search-md],
|
||||
input[type=search],
|
||||
textarea {
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
border-bottom: 1px solid #cccccc;
|
||||
border-radius: 0;
|
||||
outline: none;
|
||||
height: 2.2rem;
|
||||
width: 100%;
|
||||
box-shadow: none;
|
||||
box-sizing: content-box;
|
||||
-webkit-transition: all 0.3s;
|
||||
transition: all 0.3s;
|
||||
}
|
||||
|
||||
input[type=text]:disabled, input[type=text][readonly="readonly"],
|
||||
input[type=password]:disabled,
|
||||
input[type=password][readonly="readonly"],
|
||||
input[type=email]:disabled,
|
||||
input[type=email][readonly="readonly"],
|
||||
input[type=url]:disabled,
|
||||
input[type=url][readonly="readonly"],
|
||||
input[type=time]:disabled,
|
||||
input[type=time][readonly="readonly"],
|
||||
input[type=date]:disabled,
|
||||
input[type=date][readonly="readonly"],
|
||||
input[type=datetime-local]:disabled,
|
||||
input[type=datetime-local][readonly="readonly"],
|
||||
input[type=tel]:disabled,
|
||||
input[type=tel][readonly="readonly"],
|
||||
input[type=number]:disabled,
|
||||
input[type=number][readonly="readonly"],
|
||||
input[type=search-md]:disabled,
|
||||
input[type=search-md][readonly="readonly"],
|
||||
input[type=search]:disabled,
|
||||
input[type=search][readonly="readonly"],
|
||||
textarea:disabled,
|
||||
textarea[readonly="readonly"] {
|
||||
color: rgba(0, 0, 0, 0.46);
|
||||
border-bottom: 1px dotted rgba(0, 0, 0, 0.46);
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
input[type=text]:disabled + label, input[type=text][readonly="readonly"] + label,
|
||||
input[type=password]:disabled + label,
|
||||
input[type=password][readonly="readonly"] + label,
|
||||
input[type=email]:disabled + label,
|
||||
input[type=email][readonly="readonly"] + label,
|
||||
input[type=url]:disabled + label,
|
||||
input[type=url][readonly="readonly"] + label,
|
||||
input[type=time]:disabled + label,
|
||||
input[type=time][readonly="readonly"] + label,
|
||||
input[type=date]:disabled + label,
|
||||
input[type=date][readonly="readonly"] + label,
|
||||
input[type=datetime-local]:disabled + label,
|
||||
input[type=datetime-local][readonly="readonly"] + label,
|
||||
input[type=tel]:disabled + label,
|
||||
input[type=tel][readonly="readonly"] + label,
|
||||
input[type=number]:disabled + label,
|
||||
input[type=number][readonly="readonly"] + label,
|
||||
input[type=search-md]:disabled + label,
|
||||
input[type=search-md][readonly="readonly"] + label,
|
||||
input[type=search]:disabled + label,
|
||||
input[type=search][readonly="readonly"] + label,
|
||||
textarea:disabled + label,
|
||||
textarea[readonly="readonly"] + label {
|
||||
color: rgba(0, 0, 0, 0.46);
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
input[type=text]:focus:not([readonly]),
|
||||
input[type=password]:focus:not([readonly]),
|
||||
input[type=email]:focus:not([readonly]),
|
||||
input[type=url]:focus:not([readonly]),
|
||||
input[type=time]:focus:not([readonly]),
|
||||
input[type=date]:focus:not([readonly]),
|
||||
input[type=datetime-local]:focus:not([readonly]),
|
||||
input[type=tel]:focus:not([readonly]),
|
||||
input[type=number]:focus:not([readonly]),
|
||||
input[type=search-md]:focus:not([readonly]),
|
||||
input[type=search]:focus:not([readonly]),
|
||||
textarea:focus:not([readonly]) {
|
||||
border-bottom: 1px solid @color-primary !important;
|
||||
box-shadow: 0 1px 0 0 @color-primary !important;
|
||||
}
|
||||
|
||||
input[type=text]:focus:not([readonly]) + label,
|
||||
input[type=password]:focus:not([readonly]) + label,
|
||||
input[type=email]:focus:not([readonly]) + label,
|
||||
input[type=url]:focus:not([readonly]) + label,
|
||||
input[type=time]:focus:not([readonly]) + label,
|
||||
input[type=date]:focus:not([readonly]) + label,
|
||||
input[type=datetime-local]:focus:not([readonly]) + label,
|
||||
input[type=tel]:focus:not([readonly]) + label,
|
||||
input[type=number]:focus:not([readonly]) + label,
|
||||
input[type=search-md]:focus:not([readonly]) + label,
|
||||
input[type=search]:focus:not([readonly]) + label,
|
||||
textarea:focus:not([readonly]) + label {
|
||||
color: @color-primary;
|
||||
}
|
||||
|
||||
input[type=text].valid, input[type=text]:focus.valid,
|
||||
input[type=password].valid,
|
||||
input[type=password]:focus.valid,
|
||||
input[type=email].valid,
|
||||
input[type=email]:focus.valid,
|
||||
input[type=url].valid,
|
||||
input[type=url]:focus.valid,
|
||||
input[type=time].valid,
|
||||
input[type=time]:focus.valid,
|
||||
input[type=date].valid,
|
||||
input[type=date]:focus.valid,
|
||||
input[type=datetime-local].valid,
|
||||
input[type=datetime-local]:focus.valid,
|
||||
input[type=tel].valid,
|
||||
input[type=tel]:focus.valid,
|
||||
input[type=number].valid,
|
||||
input[type=number]:focus.valid,
|
||||
input[type=search-md].valid,
|
||||
input[type=search-md]:focus.valid,
|
||||
input[type=search].valid,
|
||||
input[type=search]:focus.valid,
|
||||
textarea.valid,
|
||||
textarea:focus.valid {
|
||||
border-bottom: 1px solid #00C851;
|
||||
box-shadow: 0 1px 0 0 #00C851;
|
||||
}
|
||||
|
||||
input[type=text].valid + label:after, input[type=text]:focus.valid + label:after,
|
||||
input[type=password].valid + label:after,
|
||||
input[type=password]:focus.valid + label:after,
|
||||
input[type=email].valid + label:after,
|
||||
input[type=email]:focus.valid + label:after,
|
||||
input[type=url].valid + label:after,
|
||||
input[type=url]:focus.valid + label:after,
|
||||
input[type=time].valid + label:after,
|
||||
input[type=time]:focus.valid + label:after,
|
||||
input[type=date].valid + label:after,
|
||||
input[type=date]:focus.valid + label:after,
|
||||
input[type=datetime-local].valid + label:after,
|
||||
input[type=datetime-local]:focus.valid + label:after,
|
||||
input[type=tel].valid + label:after,
|
||||
input[type=tel]:focus.valid + label:after,
|
||||
input[type=number].valid + label:after,
|
||||
input[type=number]:focus.valid + label:after,
|
||||
input[type=search-md].valid + label:after,
|
||||
input[type=search-md]:focus.valid + label:after,
|
||||
input[type=search].valid + label:after,
|
||||
input[type=search]:focus.valid + label:after,
|
||||
textarea.valid + label:after,
|
||||
textarea:focus.valid + label:after {
|
||||
content: attr(data-success);
|
||||
color: #00C851;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
input[type=text].invalid, input[type=text]:focus.invalid,
|
||||
input[type=password].invalid,
|
||||
input[type=password]:focus.invalid,
|
||||
input[type=email].invalid,
|
||||
input[type=email]:focus.invalid,
|
||||
input[type=url].invalid,
|
||||
input[type=url]:focus.invalid,
|
||||
input[type=time].invalid,
|
||||
input[type=time]:focus.invalid,
|
||||
input[type=date].invalid,
|
||||
input[type=date]:focus.invalid,
|
||||
input[type=datetime-local].invalid,
|
||||
input[type=datetime-local]:focus.invalid,
|
||||
input[type=tel].invalid,
|
||||
input[type=tel]:focus.invalid,
|
||||
input[type=number].invalid,
|
||||
input[type=number]:focus.invalid,
|
||||
input[type=search-md].invalid,
|
||||
input[type=search-md]:focus.invalid,
|
||||
input[type=search].invalid,
|
||||
input[type=search]:focus.invalid,
|
||||
textarea.invalid,
|
||||
textarea:focus.invalid {
|
||||
border-bottom: 1px solid #F44336;
|
||||
box-shadow: 0 1px 0 0 #F44336;
|
||||
}
|
||||
|
||||
input[type=text].invalid + label:after, input[type=text]:focus.invalid + label:after,
|
||||
input[type=password].invalid + label:after,
|
||||
input[type=password]:focus.invalid + label:after,
|
||||
input[type=email].invalid + label:after,
|
||||
input[type=email]:focus.invalid + label:after,
|
||||
input[type=url].invalid + label:after,
|
||||
input[type=url]:focus.invalid + label:after,
|
||||
input[type=time].invalid + label:after,
|
||||
input[type=time]:focus.invalid + label:after,
|
||||
input[type=date].invalid + label:after,
|
||||
input[type=date]:focus.invalid + label:after,
|
||||
input[type=datetime-local].invalid + label:after,
|
||||
input[type=datetime-local]:focus.invalid + label:after,
|
||||
input[type=tel].invalid + label:after,
|
||||
input[type=tel]:focus.invalid + label:after,
|
||||
input[type=number].invalid + label:after,
|
||||
input[type=number]:focus.invalid + label:after,
|
||||
input[type=search-md].invalid + label:after,
|
||||
input[type=search-md]:focus.invalid + label:after,
|
||||
input[type=search].invalid + label:after,
|
||||
input[type=search]:focus.invalid + label:after,
|
||||
textarea.invalid + label:after,
|
||||
textarea:focus.invalid + label:after {
|
||||
content: attr(data-error);
|
||||
color: #F44336;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
input[type=text] + label:after,
|
||||
input[type=password] + label:after,
|
||||
input[type=email] + label:after,
|
||||
input[type=url] + label:after,
|
||||
input[type=time] + label:after,
|
||||
input[type=date] + label:after,
|
||||
input[type=datetime-local] + label:after,
|
||||
input[type=tel] + label:after,
|
||||
input[type=number] + label:after,
|
||||
input[type=search-md] + label:after,
|
||||
input[type=search] + label:after,
|
||||
textarea + label:after {
|
||||
display: block;
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 65px;
|
||||
opacity: 0;
|
||||
-webkit-transition: .2s opacity ease-out, .2s color ease-out;
|
||||
transition: .2s opacity ease-out, .2s color ease-out;
|
||||
}
|
||||
|
||||
input[type=text].input-alternate,
|
||||
input[type=password].input-alternate,
|
||||
input[type=email].input-alternate,
|
||||
input[type=url].input-alternate,
|
||||
input[type=time].input-alternate,
|
||||
input[type=date].input-alternate,
|
||||
input[type=datetime-local].input-alternate,
|
||||
input[type=tel].input-alternate,
|
||||
input[type=number].input-alternate,
|
||||
input[type=search-md].input-alternate,
|
||||
input[type=search].input-alternate,
|
||||
textarea.input-alternate {
|
||||
padding: 0 15px;
|
||||
height: 2.1rem;
|
||||
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 2px 1px -1px rgba(0, 0, 0, 0.12);
|
||||
font-size: 0.875rem;
|
||||
border-bottom: 0;
|
||||
-webkit-transition: none !important;
|
||||
transition: none !important;
|
||||
}
|
||||
|
||||
input[type=text].input-alternate:hover, input[type=text].input-alternate:focus,
|
||||
input[type=password].input-alternate:hover,
|
||||
input[type=password].input-alternate:focus,
|
||||
input[type=email].input-alternate:hover,
|
||||
input[type=email].input-alternate:focus,
|
||||
input[type=url].input-alternate:hover,
|
||||
input[type=url].input-alternate:focus,
|
||||
input[type=time].input-alternate:hover,
|
||||
input[type=time].input-alternate:focus,
|
||||
input[type=date].input-alternate:hover,
|
||||
input[type=date].input-alternate:focus,
|
||||
input[type=datetime-local].input-alternate:hover,
|
||||
input[type=datetime-local].input-alternate:focus,
|
||||
input[type=tel].input-alternate:hover,
|
||||
input[type=tel].input-alternate:focus,
|
||||
input[type=number].input-alternate:hover,
|
||||
input[type=number].input-alternate:focus,
|
||||
input[type=search-md].input-alternate:hover,
|
||||
input[type=search-md].input-alternate:focus,
|
||||
input[type=search].input-alternate:hover,
|
||||
input[type=search].input-alternate:focus,
|
||||
textarea.input-alternate:hover,
|
||||
textarea.input-alternate:focus {
|
||||
box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08) !important;
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.pagination a {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.pagination .active a {
|
||||
border-radius: 2px;
|
||||
-webkit-transition: all 0.2s linear;
|
||||
transition: all 0.2s linear;
|
||||
}
|
||||
|
||||
.pagination .active a:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.pagination.pagination-circle a {
|
||||
border-radius: 50%;
|
||||
margin-left: 2px;
|
||||
margin-right: 2px;
|
||||
}
|
||||
|
||||
.pagination.pagination-circle a:hover {
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.pagination.pagination-circle .active a {
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.pagination a {
|
||||
border: 0;
|
||||
-webkit-transition: all 0.3s linear;
|
||||
transition: all 0.3s linear;
|
||||
}
|
||||
|
||||
.pagination a:hover {
|
||||
-webkit-transition: all 0.3s linear;
|
||||
transition: all 0.3s linear;
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
.pagination a:focus {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.dropdown .dropdown-menu .dropdown-item {
|
||||
padding: .5rem;
|
||||
margin-left: 0;
|
||||
font-size: .9rem;
|
||||
}
|
||||
|
||||
.dropdown-item {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: .25rem 1.5rem;
|
||||
clear: both;
|
||||
color: #212529;
|
||||
text-align: inherit;
|
||||
white-space: nowrap;
|
||||
background: 0 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.btn-default:active:hover, .btn-default.active:hover, .open > .dropdown-toggle.btn-default:hover, .btn-default:active:focus, .btn-default.active:focus, .open > .dropdown-toggle.btn-default:focus, .btn-default:active.focus, .btn-default.active.focus, .open > .dropdown-toggle.btn-default.focus {
|
||||
color: #ffffff;
|
||||
background-color: @color-primary;
|
||||
border-color: @color-primary;
|
||||
}
|
||||
|
||||
.btn-default {
|
||||
color: #fff;
|
||||
background-color: @color-primary;
|
||||
border-color: @color-primary;
|
||||
}
|
||||
|
||||
.btn-default[disabled],
|
||||
.btn-default[disabled]:hover {
|
||||
background-color: #e6e6e6;
|
||||
color: #535f70;
|
||||
}
|
||||
|
||||
#oe_main_menu_navbar .o_menu_systray a[data-action="edit"], #oe_main_menu_navbar .o_menu_systray a[data-action="translate"] {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.input-group .form-control:not(:first-child):not(:last-child) {
|
||||
margin-top: 0px;
|
||||
border-top: 1px solid #cccccc;
|
||||
}
|
||||
|
||||
div.text-info.oe_subdescription {
|
||||
color: #989494;
|
||||
}
|
||||
|
||||
.text-muted {
|
||||
color: #989494;
|
||||
}
|
||||
|
||||
.o_website_rating_static .fa {
|
||||
font-size: 22px;
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
.o_website_rating_static {
|
||||
color: @color-primary;
|
||||
}
|
||||
|
||||
#products_grid_before > h3 {
|
||||
margin: 0;
|
||||
padding: 12px;
|
||||
background: @color-primary;
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
#products_grid_before {
|
||||
h4.title-block {
|
||||
margin: 0px;
|
||||
}
|
||||
#o_shop_collapse_category {
|
||||
li {
|
||||
|
||||
&.active {
|
||||
a {
|
||||
background-color: transparent !important;
|
||||
color: @color-primary;
|
||||
}
|
||||
}
|
||||
&:hover {
|
||||
a {
|
||||
color: @color-primary;
|
||||
}
|
||||
}
|
||||
a {
|
||||
width: 89%;
|
||||
font-weight: bold;
|
||||
padding: 9px;
|
||||
-webkit-transition: 0.4s all ease 0s;
|
||||
-o-transition: 0.4s all ease 0s;
|
||||
transition: 0.4s all ease 0s;
|
||||
|
||||
&:hover {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#wrapwrap #products_grid_before > ul > li > a {
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
#o_shop_collapse_category > li > div.r_menu > ul > li > i {
|
||||
position: absolute;
|
||||
right: 20px;
|
||||
top: 14px;
|
||||
}
|
||||
|
||||
#o_shop_collapse_category .nav-pills > li.active > a,
|
||||
#o_shop_collapse_category .nav-pills > li.active > a:focus,
|
||||
#o_shop_collapse_category .nav-pills > li.active > a:hover {
|
||||
color: #222;
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
pill_menu li {
|
||||
border-bottom: 1px solid #eaeaea;
|
||||
cursor: pointer;
|
||||
padding: 5px 0px !important;
|
||||
}
|
||||
|
||||
#o_shop_collapse_category > li > div > ul > li {
|
||||
border-bottom: none !important;
|
||||
}
|
||||
|
||||
h4.title-block span {
|
||||
padding: 17px 2px;
|
||||
font-size: 22px;
|
||||
color: @color-primary;
|
||||
display: block;
|
||||
text-transform: none;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.o_website_rating_card_container table.o_website_rating_progress_table .o_website_rating_table_progress .o_rating_progressbar {
|
||||
background-color: @color-primary;
|
||||
}
|
||||
|
||||
.o_rating_star_card .stars {
|
||||
color: @color-primary;
|
||||
}
|
||||
|
||||
.label-default[href]:hover, .label-default[href]:focus,
|
||||
.label-default {
|
||||
background-color: @color-primary;
|
||||
}
|
||||
|
||||
.badge {
|
||||
background-color: @color-primary;
|
||||
}
|
||||
|
||||
#product_description_reviews .nav-tabs li.active a {
|
||||
border-top: none;
|
||||
background: #fff;
|
||||
border-bottom-color: transparent;
|
||||
}
|
||||
|
||||
#product_description_reviews .nav-tabs li.active {
|
||||
margin-top: -5px;
|
||||
border-top: 5px solid @color-primary;
|
||||
}
|
||||
|
||||
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
|
||||
background: #fff;
|
||||
color: #000;
|
||||
border-bottom-color: transparent;
|
||||
}
|
||||
|
||||
textarea {
|
||||
-webkit-box-shadow: none !important;
|
||||
background-color: transparent;
|
||||
border: none !important;
|
||||
border-bottom: 1px solid #cccccc !important;
|
||||
border-radius: 0;
|
||||
outline: none;
|
||||
width: 100%;
|
||||
box-shadow: none !important;
|
||||
box-sizing: content-box;
|
||||
-webkit-transition: all 0.3s;
|
||||
transition: all 0.3s;
|
||||
}
|
||||
|
||||
textarea:focus {
|
||||
border-bottom: 1px solid #337ab7;
|
||||
box-shadow: 0 1px 0 0 #337ab7;
|
||||
}
|
||||
|
||||
.pagination.form-inline.o_website_sale_search {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.js_add_cart_variants input[type=radio], .js_add_cart_variants input[type=checkbox],
|
||||
.js_attributes input[type=radio], .js_attributes input[type=checkbox] {
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
[data-toggle=buttons] > .btn input[type=radio], [data-toggle=buttons] > .btn input[type=checkbox], [data-toggle=buttons] > .btn-group > .btn input[type=radio], [data-toggle=buttons] > .btn-group > .btn input[type=checkbox] {
|
||||
position: absolute;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.js_add_cart_variants input[type=checkbox]:checked + label:before,
|
||||
.js_attributes input[type=checkbox]:checked + label:before {
|
||||
border-right: 2px solid @color-primary;
|
||||
border-bottom: 2px solid @color-primary;
|
||||
}
|
||||
|
||||
.js_add_cart_variants input[type=checkbox].filled-in:checked + label:before,
|
||||
.js_attributes input[type=checkbox].filled-in:checked + label:before {
|
||||
border-right: 2px solid #fff;
|
||||
border-bottom: 2px solid #fff;
|
||||
}
|
||||
|
||||
.js_add_cart_variants input[type=checkbox].filled-in:checked + label:after,
|
||||
.js_attributes input[type=checkbox].filled-in:checked + label:after {
|
||||
background-color: #33b5e5;
|
||||
border-color: #33b5e5;
|
||||
}
|
||||
|
||||
.js_add_cart_variants [type=radio] + label, .js_add_cart_variants [type=checkbox] + label,
|
||||
.js_attributes [type=radio] + label, .js_attributes [type=checkbox] + label {
|
||||
position: relative;
|
||||
padding-left: 35px;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
height: 25px;
|
||||
line-height: 25px;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-ms-user-select: none;
|
||||
}
|
||||
|
||||
#js_product_style {
|
||||
input.js_variant_change_full.js_variant_change {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.modal-body {
|
||||
input.js_variant_change_full.js_variant_change {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
#js_product_style > ul > li > ul > li > label > input,
|
||||
#radio-option {
|
||||
input[type="checkbox"] {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
#js_product_style > label > input {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.js_add_cart_variants [type=radio], .js_add_cart_variants [type=checkbox],
|
||||
.js_attributes [type=radio], .js_attributes [type=checkbox] {
|
||||
opacity: 0;
|
||||
z-index: 50;
|
||||
height: 22px;
|
||||
}
|
||||
|
||||
.js_add_cart_variants [type=checkbox]:checked + label:before,
|
||||
.js_attributes [type=checkbox]:checked + label:before {
|
||||
top: -4px;
|
||||
left: -3px;
|
||||
width: 12px;
|
||||
height: 22px;
|
||||
border-style: solid;
|
||||
border-width: 2px;
|
||||
border-color: transparent @color-primary @color-primary transparent;
|
||||
-webkit-transform: rotate(40deg);
|
||||
-ms-transform: rotate(40deg);
|
||||
transform: rotate(40deg);
|
||||
-webkit-backface-visibility: hidden;
|
||||
-webkit-transform-origin: 100% 100%;
|
||||
-ms-transform-origin: 100% 100%;
|
||||
transform-origin: 100% 100%;
|
||||
}
|
||||
|
||||
.js_add_cart_variants [type=checkbox] + label:before,
|
||||
.js_attributes [type=checkbox] + label:before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 17px;
|
||||
height: 17px;
|
||||
z-index: 0;
|
||||
border: 1.5px solid #8a8a8a;
|
||||
border-radius: 1px;
|
||||
margin-top: 2px;
|
||||
-webkit-transition: .2s;
|
||||
transition: .2s;
|
||||
}
|
||||
|
||||
.js_add_cart_variants [type=radio] + label,
|
||||
.js_attributes [type=radio] + label {
|
||||
-webkit-transition: .28s ease;
|
||||
transition: .28s ease;
|
||||
}
|
||||
|
||||
.js_add_cart_variants [type=radio] + label, .js_add_cart_variants [type=checkbox] + label,
|
||||
.js_attributes [type=radio] + label, .js_attributes [type=checkbox] + label {
|
||||
position: relative;
|
||||
padding-left: 35px;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
height: 25px;
|
||||
line-height: 25px;
|
||||
font-size: 16px;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-ms-user-select: none;
|
||||
}
|
||||
|
||||
.js_add_cart_variants [type=radio]:checked + label:before,
|
||||
.js_attributes [type=radio]:checked + label:before {
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
.js_add_cart_variants [type=radio] + label:after, .js_add_cart_variants [type=radio] + label:before,
|
||||
.js_attributes [type=radio] + label:after, .js_attributes [type=radio] + label:before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
margin: 4px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
z-index: 0;
|
||||
border-radius: 50%;
|
||||
border-style: solid;
|
||||
border-width: 2px;
|
||||
-webkit-transition: .28s ease;
|
||||
transition: .28s ease;
|
||||
}
|
||||
|
||||
.js_add_cart_variants [type=radio]:checked + label:after,
|
||||
.js_attributes [type=radio]:checked + label:after {
|
||||
border-color: @color-primary;
|
||||
background-color: @color-primary;
|
||||
z-index: 0;
|
||||
-webkit-transform: scale(1.02);
|
||||
-ms-transform: scale(1.02);
|
||||
transform: scale(1.02);
|
||||
}
|
||||
|
||||
.js_add_cart_variants [type=radio] + label:after, .js_add_cart_variants [type=radio] + label:before,
|
||||
.js_attributes [type=radio] + label:after, .js_attributes [type=radio] + label:before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
margin: 4px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
z-index: 0;
|
||||
border-radius: 50%;
|
||||
border-style: solid;
|
||||
border-width: 2px;
|
||||
-webkit-transition: .28s ease;
|
||||
transition: .28s ease;
|
||||
}
|
||||
|
||||
[role=button], a, area, button, input:not([type=range]), label, select, summary, textarea {
|
||||
-ms-touch-action: manipulation;
|
||||
touch-action: manipulation;
|
||||
}
|
||||
|
||||
.css_attribute_color {
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
}
|
||||
|
||||
#user-table tr:first-child td {
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
.oe_search input[type=text] {
|
||||
background: #efefef;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.oe_search input[type=text]:focus {
|
||||
border-bottom: none !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
.oe_website_spinner .form-control {
|
||||
padding: 6px 2px !important;
|
||||
}
|
||||
|
||||
#products_grid_before .attr-list ul label.css_attribute_color {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
margin: 0;
|
||||
border-radius: 50%;
|
||||
transition: .3s all;
|
||||
border: 2px solid #ccc;
|
||||
}
|
||||
|
||||
.css_attribute_color [type=radio], .css_attribute_color [type=checkbox] {
|
||||
opacity: 0;
|
||||
z-index: 50;
|
||||
left: 0;
|
||||
position: relative;
|
||||
height: 22px;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.css_attribute_color.active {
|
||||
border: 2px solid @color-primary !important;
|
||||
}
|
||||
|
||||
.css_attribute_color.active input {
|
||||
margin: 8px;
|
||||
}
|
||||
|
||||
#o_shop_collapse_category .fa-chevron-right,
|
||||
#o_shop_collapse_category .fa-chevron-down {
|
||||
position: absolute;
|
||||
right: 20px;
|
||||
top: 13px;
|
||||
z-index: 400;
|
||||
}
|
||||
|
||||
#products_grid_before #o_shop_collapse_category li a {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#o_shop_collapse_category {
|
||||
border: 1px solid @color-primary;
|
||||
margin-top: 0px !important;
|
||||
padding-bottom: 15px;
|
||||
}
|
||||
|
||||
.breadcrumb {
|
||||
padding: 4px 15px;
|
||||
}
|
||||
|
||||
#product_details > div.oe_share.s_share > h2 > a.oe_share_google.share_buttons > i:before {
|
||||
content: "\f0d5" !important;
|
||||
}
|
||||
|
||||
#product_details > div.oe_share.s_share > h2 > a.oe_share_facebook.share_buttons > i:before {
|
||||
content: "\f09a";
|
||||
}
|
||||
|
||||
.oe_grid.oe_product form {
|
||||
border: 1px solid #f1f1f1;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.oe_product {
|
||||
border: none !important;
|
||||
padding: 0px 8px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
#products_grid_before #o_shop_collapse_category li a {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.brand_list input {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
}
|
167
addons/theme_hermit/static/less/customize_modal.less
Executable file
167
addons/theme_hermit/static/less/customize_modal.less
Executable file
@ -0,0 +1,167 @@
|
||||
/* CUSTOMIZE THEME - MODAL
|
||||
================================================== */
|
||||
|
||||
#theme_customize_modal{
|
||||
&.modal.fade:not(.in) .modal-dialog{
|
||||
.translate3d(50%, 0, 0);
|
||||
}
|
||||
.theme_hermit_customize_model{
|
||||
text-transform: inherit;
|
||||
.modal-dialog{
|
||||
top: 106px;
|
||||
right: 0;
|
||||
height: 100vh;
|
||||
.modal-content{
|
||||
height: auto;
|
||||
border-top-left-radius: 17px;
|
||||
width: 460px;
|
||||
}
|
||||
}
|
||||
.modal-header,
|
||||
.modal-footer{
|
||||
background-color: #000;
|
||||
color: #fff;
|
||||
border-radius: 15px;
|
||||
height: 10%;
|
||||
min-height: 70px;
|
||||
}
|
||||
.modal-header{
|
||||
.modal-title{
|
||||
line-height: 1.2;
|
||||
font-size: 34px;
|
||||
}
|
||||
.close{
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
line-height: 28px;
|
||||
margin-top: 4px;
|
||||
background-color: #fff;
|
||||
color: @gray-darker;
|
||||
opacity: 0.5;
|
||||
font-size: 1.3em;
|
||||
&:hover{
|
||||
opacity: 1;
|
||||
background-color: @color-primary;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.modal-body{
|
||||
padding: 16px;
|
||||
height: auto;
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
|
||||
.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover{color: #fff;
|
||||
background-color: @color-primary;}
|
||||
.icon{
|
||||
text-align: left;
|
||||
clear: both;
|
||||
font-weight: normal;
|
||||
}
|
||||
.icon:before{
|
||||
content: '\f111';
|
||||
font-family: 'FontAwesome';
|
||||
font-size: 18px;
|
||||
margin-right: 8px;
|
||||
margin-bottom: 10px;
|
||||
color: #ccc;
|
||||
float: left;
|
||||
}
|
||||
.icon:hover{
|
||||
color: @gray-darker;
|
||||
cursor: pointer;
|
||||
}
|
||||
.icon:hover:before{
|
||||
content: '\f058';
|
||||
font-family: 'FontAwesome';
|
||||
color: #000;
|
||||
}
|
||||
.icon.checked:before{
|
||||
content: '\f058';
|
||||
font-family: 'FontAwesome';
|
||||
color: @color-primary;
|
||||
}
|
||||
.icon span{
|
||||
float: left;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
}
|
||||
|
||||
.none{
|
||||
background-image:url('/theme_art/static/img/customize/customize_none.gif');
|
||||
background-position: center;
|
||||
border: 1px solid #000;
|
||||
}
|
||||
/* Grayscale */
|
||||
.white{background-color: #fff;border: 1px solid @gray-darker !important;}
|
||||
.gray-lighter{background-color: @gray-lighter;}
|
||||
.gray-darker{background-color: @gray-darker;}
|
||||
/* mango */
|
||||
.mango-primary{background-color: @mango-primary;}
|
||||
.mango-success{background-color: @mango-success;}
|
||||
.mango-info{background-color: @mango-info;}
|
||||
.mango-warning{background-color: @mango-warning;}
|
||||
.mango-danger{background-color: @mango-danger;}
|
||||
/* moon */
|
||||
.moon-primary{background-color: @moon-primary;}
|
||||
.moon-success{background-color: @moon-success;}
|
||||
.moon-info{background-color: @moon-info;}
|
||||
.moon-warning{background-color: @moon-warning;}
|
||||
.moon-danger{background-color: @moon-danger;}
|
||||
/* cyrus */
|
||||
.cyrus-primary{background-color: @cyrus-primary;}
|
||||
.cyrus-success{background-color: @cyrus-success;}
|
||||
.cyrus-info{background-color: @cyrus-info;}
|
||||
.cyrus-warning{background-color: @cyrus-warning;}
|
||||
.cyrus-danger{background-color: @cyrus-danger;}
|
||||
/* keent */
|
||||
.keent-primary{background-color: @keent-primary;}
|
||||
.keent-success{background-color: @keent-success;}
|
||||
.keent-info{background-color: @keent-info;}
|
||||
.keent-warning{background-color: @keent-warning;}
|
||||
.keent-danger{background-color: @keent-danger;}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* EDITOR OPTIONS
|
||||
================================================== */
|
||||
|
||||
|
||||
|
||||
|
||||
/* SNIPPETS NAVBAR
|
||||
================================================== */
|
||||
|
||||
#snippet_structure,
|
||||
#snippet_content,
|
||||
#snippet_feature,
|
||||
#snippet_effect{
|
||||
.oe_snippet{
|
||||
width: 90px;
|
||||
margin-left: 5px;
|
||||
.oe_snippet_thumbnail_title{
|
||||
margin-top: 5px;
|
||||
}
|
||||
.oe_snippet_thumbnail .oe_snippet_thumbnail_img{
|
||||
width: 90px;
|
||||
/* height: 90px; */
|
||||
border: 5px solid inherit;
|
||||
}
|
||||
.oe_snippet_thumbnail:hover .oe_snippet_thumbnail_img{
|
||||
transform: scale(1, 1);
|
||||
}
|
||||
.oe_snippet_thumbnail:hover:before{
|
||||
content: "";
|
||||
position: absolute;
|
||||
right: 0;
|
||||
background-image: url('/theme_hermit/static/img/customize/add_snippet_hover.png');
|
||||
z-index: 1;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
}
|
||||
}
|
||||
}
|
64
addons/theme_hermit/static/less/layouts/colors.less
Executable file
64
addons/theme_hermit/static/less/layouts/colors.less
Executable file
@ -0,0 +1,64 @@
|
||||
/* MAIN
|
||||
========================================================================== */
|
||||
@mango-primary: #1daf99;
|
||||
@mango-success: #5cb85c;
|
||||
@mango-info:#5bc0de;
|
||||
@mango-warning: #f0ad4e;
|
||||
@mango-danger: #d9534f;
|
||||
|
||||
@cyrus-primary: #82b637;
|
||||
@cyrus-success: #dec913;
|
||||
@cyrus-info: #111;
|
||||
@cyrus-warning: #986605;
|
||||
@cyrus-danger: #00a9c6;
|
||||
|
||||
@moon-primary: #5c6bd0;
|
||||
@moon-success: #B8C166 ;
|
||||
@moon-info: #272727;
|
||||
@moon-warning: #ed3737;
|
||||
@moon-danger: #AB2D06;
|
||||
|
||||
@keent-primary: #dd5cba;
|
||||
@keent-success: #5ec464;
|
||||
@keent-info:#313030;
|
||||
@keent-warning: #57c8eb;
|
||||
@keent-danger: #f6e203;
|
||||
|
||||
#wrapwrap {
|
||||
[class *= "bg-"].automatic-color , .automatic-color {
|
||||
color: @gray-darker;
|
||||
}
|
||||
|
||||
.bg-white [class *= "bg-"] .text-white , [class *= "bg-"].text-white , .text-white {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.bg-gray-lighter [class *= "bg-"] .text-gray-lighter , [class *= "bg-"].text-gray-lighter , .text-gray-lighter {
|
||||
color: @gray-lighter;
|
||||
}
|
||||
|
||||
.bg-gray [class *= "bg-"] .text-gray , [class *= "bg-"].text-gray , .text-gray {
|
||||
color: @gray;
|
||||
}
|
||||
|
||||
.bg-gray-darker [class *= "bg-"] .text-gray-darker , [class *= "bg-"].text-gray-darker , .text-gray-darker {
|
||||
color: @gray-darker;
|
||||
}
|
||||
|
||||
.bg-primary [class *= "bg-"] .text-primary , [class *= "bg-"].text-primary , .text-primary {
|
||||
color: @color-primary;
|
||||
}
|
||||
}
|
||||
|
||||
.bg-gray-light {
|
||||
background-color: @gray-light;
|
||||
}
|
||||
|
||||
.bg-gray-dark {
|
||||
background-color: @gray-dark;
|
||||
}
|
||||
|
||||
.bg-black {
|
||||
background-color: #000;
|
||||
}
|
||||
|
327
addons/theme_hermit/static/less/layouts/colors/colors_cyrus.less
Executable file
327
addons/theme_hermit/static/less/layouts/colors/colors_cyrus.less
Executable file
@ -0,0 +1,327 @@
|
||||
/* ==========================================================================
|
||||
cyrus
|
||||
========================================================================== */
|
||||
|
||||
/* Colors
|
||||
========================================================================== */
|
||||
@flectra-brand-primary: @color-primary;
|
||||
@color-primary: @cyrus-primary;
|
||||
@color-success: @cyrus-success;
|
||||
@color-info: @cyrus-info;
|
||||
@color-warning: @cyrus-warning;
|
||||
@color-danger: @cyrus-danger;
|
||||
|
||||
@brand-primary: @cyrus-primary;
|
||||
@brand-success: @cyrus-success;
|
||||
@brand-info: @cyrus-info;
|
||||
@brand-warning: @cyrus-warning;
|
||||
@brand-danger: @cyrus-danger;
|
||||
|
||||
.text-primary {
|
||||
color: @color-primary;
|
||||
}
|
||||
|
||||
.text-success {
|
||||
color: @color-success;
|
||||
}
|
||||
|
||||
.text-info {
|
||||
color: @color-info;
|
||||
}
|
||||
|
||||
.text-warning {
|
||||
color: @color-warning;
|
||||
}
|
||||
|
||||
.text-danger {
|
||||
color: @color-danger;
|
||||
}
|
||||
|
||||
@navbar-height: 60px;
|
||||
@navbar-default-bg: #fff;
|
||||
@navbar-default-color: #000;
|
||||
@navbar-default-link-color: #000;
|
||||
@navbar-default-link-active-color: @color-primary;
|
||||
@navbar-default-link-hover-color: @color-primary;
|
||||
@navbar-default-link-active-bg: white;
|
||||
|
||||
.dropdown .dropdown-menu .dropdown-item:hover, .dropdown .dropdown-menu .dropdown-item:active, .dropdown .dropdown-menu .dropdown-item:focus {
|
||||
color: #1d1e1f;
|
||||
background-color: #f7f7f9;
|
||||
}
|
||||
|
||||
.navbar .dropdown-menu {
|
||||
position: absolute !important;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.navbar .dropdown-menu a {
|
||||
font-weight: 300;
|
||||
color: #000 !important;
|
||||
}
|
||||
|
||||
.navbar .dropdown-menu a:hover {
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
.navbar .dropdown-menu.dropdown-menu-right {
|
||||
right: auto !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Grayscale
|
||||
========================================================================== */
|
||||
|
||||
// @gray-darker: #343642;
|
||||
// @gray: lighten(@gray-darker, 40%);
|
||||
// @gray-light: lighten(@gray-darker, 70%);
|
||||
|
||||
/* Content Colors
|
||||
========================================================================== */
|
||||
|
||||
#wrapwrap {
|
||||
.white(@gray-darker);
|
||||
.gray-lighter(@gray-darker);
|
||||
.gray(#fff);
|
||||
.gray-darker(#fff);
|
||||
.primary(#fff);
|
||||
.success(#fff);
|
||||
.info(#fff);
|
||||
.warning(#fff);
|
||||
.danger(#fff);
|
||||
}
|
||||
|
||||
/* header start*/
|
||||
|
||||
#wrapwrap div.navbar-static-top {
|
||||
border-bottom-width: 0px;
|
||||
}
|
||||
|
||||
#top_menu > li > a {
|
||||
line-height: inherit;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.1em;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
#top_menu > li.active > a, #top_menu > li > a:hover {
|
||||
color: @color-primary;
|
||||
}
|
||||
|
||||
#top_menu .divider {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@layout-icons-color: #fff;
|
||||
@link-color: @color-primary;
|
||||
@body-bg: #fff;
|
||||
footer {
|
||||
background-color: #000;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Label Colors
|
||||
========================================================================== */
|
||||
|
||||
//** Default label background color
|
||||
@label-default-bg: @btn-default-bg;
|
||||
//** Primary label background color
|
||||
@label-primary-bg: @color-primary;
|
||||
//** Success label background color
|
||||
@label-success-bg: @color-success;
|
||||
//** Info label background color
|
||||
@label-info-bg: @color-info;
|
||||
//** Warning label background color
|
||||
@label-warning-bg: @color-warning;
|
||||
//** Danger label background color
|
||||
@label-danger-bg: @color-danger;
|
||||
|
||||
//** Default label text color
|
||||
@label-color: #fff;
|
||||
//** Default text color of a linked label
|
||||
@label-link-hover-color: #fff;
|
||||
|
||||
/* Button Colors
|
||||
========================================================================== */
|
||||
|
||||
@btn-font-weight: normal;
|
||||
|
||||
@btn-default-color: @text-color;
|
||||
@btn-default-bg: #fff;
|
||||
@btn-default-border: #ddd;
|
||||
|
||||
@btn-primary-color: #fff;
|
||||
@btn-primary-bg: @color-primary;
|
||||
@btn-primary-border: @btn-primary-bg;
|
||||
|
||||
@btn-success-color: #fff;
|
||||
@btn-success-bg: @color-success;
|
||||
@btn-success-border: @btn-success-bg;
|
||||
|
||||
@btn-info-color: #fff;
|
||||
@btn-info-bg: @color-info;
|
||||
@btn-info-border: @btn-info-bg;
|
||||
|
||||
@btn-warning-color: #fff;
|
||||
@btn-warning-bg: @color-warning;
|
||||
@btn-warning-border: @btn-warning-bg;
|
||||
|
||||
@btn-danger-color: #fff;
|
||||
@btn-danger-bg: @color-danger;
|
||||
@btn-danger-border: @btn-danger-bg;
|
||||
|
||||
@btn-link-disabled-color: @gray-light;
|
||||
|
||||
// Allows for customizing button radius independently from global border radius
|
||||
@btn-border-radius-base: @border-radius-base;
|
||||
@btn-border-radius-large: @border-radius-large;
|
||||
@btn-border-radius-small: @border-radius-small;
|
||||
|
||||
/* Pagination Colors
|
||||
========================================================================== */
|
||||
|
||||
@pagination-color: @text-color;
|
||||
@pagination-bg: #fff;
|
||||
@pagination-border: #ddd;
|
||||
|
||||
@pagination-hover-color: #fff;
|
||||
@pagination-hover-bg: @color-primary;
|
||||
@pagination-hover-border: @color-primary;
|
||||
|
||||
@pagination-active-color: #fff;
|
||||
@pagination-active-bg: @color-primary;
|
||||
@pagination-active-border: @color-primary;
|
||||
|
||||
@pagination-disabled-color: @gray-light;
|
||||
@pagination-disabled-bg: #fff;
|
||||
@pagination-disabled-border: #ddd;
|
||||
|
||||
/* Pager Colors
|
||||
========================================================================== */
|
||||
|
||||
@pager-bg: @pagination-bg;
|
||||
@pager-border: @pagination-border;
|
||||
@pager-border-radius: 15px;
|
||||
|
||||
@pager-hover-bg: @pagination-hover-bg;
|
||||
|
||||
@pager-active-bg: @pagination-active-bg;
|
||||
@pager-active-color: @pagination-active-color;
|
||||
|
||||
@pager-disabled-color: @gray-light;
|
||||
|
||||
/* Jumbotron Colors
|
||||
========================================================================== */
|
||||
|
||||
@jumbotron-padding: 30px;
|
||||
@jumbotron-color: inherit;
|
||||
@jumbotron-bg: darken(@body-bg, 3%);
|
||||
@jumbotron-heading-color: inherit;
|
||||
@jumbotron-font-size: ceil((@font-size-base * 1.5));
|
||||
@jumbotron-heading-font-size: ceil((@font-size-base * 4.5));
|
||||
|
||||
/* Dropdown Colors
|
||||
========================================================================== */
|
||||
|
||||
@navbar-default-border: transparent;
|
||||
|
||||
//** Global color for active items (e.g., navs or dropdowns).
|
||||
@component-active-color: #fff;
|
||||
//** Global background color for active items (e.g., navs or dropdowns).
|
||||
@component-active-bg: @color-primary;
|
||||
|
||||
//** Width of the `border` for generating carets that indicator dropdowns.
|
||||
@caret-width-base: 4px;
|
||||
//** Carets increase slightly in size for larger components.
|
||||
@caret-width-large: 5px;
|
||||
|
||||
//** Background for the dropdown menu.
|
||||
@dropdown-bg: #fff;
|
||||
//** Dropdown menu `border-color`.
|
||||
@dropdown-border: rgba(0, 0, 0, .15);
|
||||
//** Dropdown menu `border-color` **for IE8**.
|
||||
@dropdown-fallback-border: #ccc;
|
||||
//** Divider color for between dropdown items.
|
||||
@dropdown-divider-bg: #e5e5e5;
|
||||
|
||||
//** Dropdown link text color.
|
||||
@dropdown-link-color: @gray-dark;
|
||||
//** Hover color for dropdown links.
|
||||
@dropdown-link-hover-color: #fff;
|
||||
//** Hover background for dropdown links.
|
||||
@dropdown-link-hover-bg: @component-active-bg;
|
||||
|
||||
//** Active dropdown menu item text color.
|
||||
@dropdown-link-active-color: #fff;
|
||||
//** Active dropdown menu item background color.
|
||||
@dropdown-link-active-bg: @component-active-bg;
|
||||
|
||||
//** Disabled dropdown menu item background color.
|
||||
@dropdown-link-disabled-color: @gray-light;
|
||||
|
||||
//** Text color for headers within dropdown menus.
|
||||
@dropdown-header-color: @gray-light;
|
||||
|
||||
//** Deprecated `@dropdown-caret-color` as of v3.1.0
|
||||
@dropdown-caret-color: #000;
|
||||
|
||||
/* Input Group Colors
|
||||
========================================================================== */
|
||||
|
||||
//** Background color for textual input addons
|
||||
@input-group-addon-bg: #FFF;
|
||||
|
||||
//** Border color for textual input addons
|
||||
@input-group-addon-border-color: @input-border;
|
||||
|
||||
.oe_product .ribbon {
|
||||
left: 0 !important;
|
||||
top: 9px !important;
|
||||
width: auto !important;
|
||||
-webkit-transform: rotate(0) !important;
|
||||
-moz-transform: rotate(0deg) !important;
|
||||
-ms-transform: rotate(0deg) !important;
|
||||
-o-transform: rotate(0deg) !important;
|
||||
}
|
||||
|
||||
.oe_product .ribbon-wrap {
|
||||
width: 100px !important;
|
||||
height: 53px !important;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.navbar.navbar-static-top ul.nav > li.divider {
|
||||
height: 33px !important;
|
||||
}
|
||||
.navbar-default .navbar-nav li > a {
|
||||
border-radius: 8px;
|
||||
}
|
||||
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
|
||||
color: #fff !important;
|
||||
background-color: @color-primary !important;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.navbar.navbar-static-top {
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.navbar-nav > li > a {
|
||||
padding-top: 12px;
|
||||
padding-bottom: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
#o_shop_collapse_category .fa-chevron-right:before {
|
||||
content: "\f055";
|
||||
}
|
||||
|
||||
#o_shop_collapse_category .fa-chevron-down:before {
|
||||
content: "\f056";
|
||||
}
|
317
addons/theme_hermit/static/less/layouts/colors/colors_keent.less
Executable file
317
addons/theme_hermit/static/less/layouts/colors/colors_keent.less
Executable file
@ -0,0 +1,317 @@
|
||||
/* ==========================================================================
|
||||
moon
|
||||
========================================================================== */
|
||||
|
||||
@flectra-brand-primary: @color-primary;
|
||||
@navbar-height: 60px;
|
||||
@navbar-default-bg: @color-primary;
|
||||
@navbar-default-color: #fff;
|
||||
@navbar-default-link-color: #fff;
|
||||
@navbar-default-link-active-color: @color-primary;
|
||||
@navbar-default-link-hover-color: @color-primary;
|
||||
@navbar-default-link-hover-bg: #fff;
|
||||
@navbar-default-link-active-bg: #fff;
|
||||
|
||||
.navbar {
|
||||
-webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .16), 0 2px 10px 0 rgba(0, 0, 0, .12);
|
||||
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .16), 0 2px 10px 0 rgba(0, 0, 0, .12);
|
||||
}
|
||||
|
||||
.dropdown .dropdown-menu .dropdown-item:hover, .dropdown .dropdown-menu .dropdown-item:active, .dropdown .dropdown-menu .dropdown-item:focus {
|
||||
color: #1d1e1f;
|
||||
background-color: #f7f7f9;
|
||||
}
|
||||
|
||||
.navbar .dropdown-menu {
|
||||
position: absolute !important;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.navbar .dropdown-menu a {
|
||||
color: #000 !important;
|
||||
}
|
||||
|
||||
.navbar .dropdown-menu a:hover {
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
.navbar .dropdown-menu.dropdown-menu-right {
|
||||
right: auto !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Colors
|
||||
========================================================================== */
|
||||
|
||||
@color-primary: @keent-primary;
|
||||
@color-success: @keent-success;
|
||||
@color-info: @keent-info;
|
||||
@color-warning: @keent-warning;
|
||||
@color-danger: @keent-danger;
|
||||
|
||||
.text-primary {
|
||||
color: @color-primary;
|
||||
}
|
||||
|
||||
.text-success {
|
||||
color: @color-success;
|
||||
}
|
||||
|
||||
.text-info {
|
||||
color: @color-info;
|
||||
}
|
||||
|
||||
.text-warning {
|
||||
color: @color-warning;
|
||||
}
|
||||
|
||||
.text-danger {
|
||||
color: @color-danger;
|
||||
}
|
||||
|
||||
/* Grayscale
|
||||
========================================================================== */
|
||||
|
||||
// @gray-darker: #343642;
|
||||
// @gray: lighten(@gray-darker, 40%);
|
||||
// @gray-light: lighten(@gray-darker, 70%);
|
||||
|
||||
/* Content Colors
|
||||
========================================================================== */
|
||||
|
||||
#wrapwrap {
|
||||
.white(@gray-darker);
|
||||
.gray-lighter(@gray-darker);
|
||||
.gray(#fff);
|
||||
.gray-darker(#fff);
|
||||
.primary(#fff);
|
||||
.success(#fff);
|
||||
.info(#fff);
|
||||
.warning(#fff);
|
||||
.danger(@gray-darker);
|
||||
}
|
||||
|
||||
footer {
|
||||
background-color: @color-primary;
|
||||
color: #fff;
|
||||
a{
|
||||
color:#fff;
|
||||
&:hover,&:focus{
|
||||
color:#fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@layout-icons-color: #fff;
|
||||
@link-color: @color-primary;
|
||||
|
||||
@body-bg: #fff;
|
||||
|
||||
/* Label Colors
|
||||
========================================================================== */
|
||||
|
||||
//** Default label background color
|
||||
@label-default-bg: @btn-default-bg;
|
||||
//** Primary label background color
|
||||
@label-primary-bg: @color-primary;
|
||||
//** Success label background color
|
||||
@label-success-bg: @color-success;
|
||||
//** Info label background color
|
||||
@label-info-bg: @color-info;
|
||||
//** Warning label background color
|
||||
@label-warning-bg: @color-warning;
|
||||
//** Danger label background color
|
||||
@label-danger-bg: @color-danger;
|
||||
|
||||
//** Default label text color
|
||||
@label-color: #fff;
|
||||
//** Default text color of a linked label
|
||||
@label-link-hover-color: #fff;
|
||||
|
||||
/* Button Colors
|
||||
========================================================================== */
|
||||
|
||||
@btn-font-weight: normal;
|
||||
|
||||
@btn-default-color: @text-color;
|
||||
@btn-default-bg: #fff;
|
||||
@btn-default-border: #ddd;
|
||||
|
||||
@btn-primary-color: #fff;
|
||||
@btn-primary-bg: @color-primary;
|
||||
@btn-primary-border: @btn-primary-bg;
|
||||
|
||||
@btn-success-color: #fff;
|
||||
@btn-success-bg: @color-success;
|
||||
@btn-success-border: @btn-success-bg;
|
||||
|
||||
@btn-info-color: #fff;
|
||||
@btn-info-bg: @color-info;
|
||||
@btn-info-border: @btn-info-bg;
|
||||
|
||||
@btn-warning-color: #fff;
|
||||
@btn-warning-bg: @color-warning;
|
||||
@btn-warning-border: @btn-warning-bg;
|
||||
|
||||
@btn-danger-color: #fff;
|
||||
@btn-danger-bg: @color-danger;
|
||||
@btn-danger-border: @btn-danger-bg;
|
||||
|
||||
@btn-link-disabled-color: @gray-light;
|
||||
|
||||
// Allows for customizing button radius independently from global border radius
|
||||
@btn-border-radius-base: @border-radius-base;
|
||||
@btn-border-radius-large: @border-radius-large;
|
||||
@btn-border-radius-small: @border-radius-small;
|
||||
|
||||
/* Pagination Colors
|
||||
========================================================================== */
|
||||
|
||||
@pagination-color: @text-color;
|
||||
@pagination-bg: #fff;
|
||||
@pagination-border: #ddd;
|
||||
|
||||
@pagination-hover-color: #fff;
|
||||
@pagination-hover-bg: @color-primary;
|
||||
@pagination-hover-border: @color-primary;
|
||||
|
||||
@pagination-active-color: #fff;
|
||||
@pagination-active-bg: @color-primary;
|
||||
@pagination-active-border: @color-primary;
|
||||
|
||||
@pagination-disabled-color: @gray-light;
|
||||
@pagination-disabled-bg: #fff;
|
||||
@pagination-disabled-border: #ddd;
|
||||
|
||||
/* Pager Colors
|
||||
========================================================================== */
|
||||
|
||||
@pager-bg: @pagination-bg;
|
||||
@pager-border: @pagination-border;
|
||||
@pager-border-radius: 15px;
|
||||
|
||||
@pager-hover-bg: @pagination-hover-bg;
|
||||
|
||||
@pager-active-bg: @pagination-active-bg;
|
||||
@pager-active-color: @pagination-active-color;
|
||||
|
||||
@pager-disabled-color: @gray-light;
|
||||
|
||||
/* Jumbotron Colors
|
||||
========================================================================== */
|
||||
|
||||
@jumbotron-padding: 30px;
|
||||
@jumbotron-color: inherit;
|
||||
@jumbotron-bg: darken(@body-bg, 3%);
|
||||
@jumbotron-heading-color: inherit;
|
||||
@jumbotron-font-size: ceil((@font-size-base * 1.5));
|
||||
@jumbotron-heading-font-size: ceil((@font-size-base * 4.5));
|
||||
|
||||
/* Dropdown Colors
|
||||
========================================================================== */
|
||||
|
||||
@navbar-default-border: @color-primary;
|
||||
|
||||
//** Global color for active items (e.g., navs or dropdowns).
|
||||
@component-active-color: #fff;
|
||||
//** Global background color for active items (e.g., navs or dropdowns).
|
||||
@component-active-bg: @color-primary;
|
||||
|
||||
//** Width of the `border` for generating carets that indicator dropdowns.
|
||||
@caret-width-base: 4px;
|
||||
//** Carets increase slightly in size for larger components.
|
||||
@caret-width-large: 5px;
|
||||
|
||||
//** Background for the dropdown menu.
|
||||
@dropdown-bg: #fff;
|
||||
//** Dropdown menu `border-color`.
|
||||
@dropdown-border: rgba(0, 0, 0, .15);
|
||||
//** Dropdown menu `border-color` **for IE8**.
|
||||
@dropdown-fallback-border: #ccc;
|
||||
//** Divider color for between dropdown items.
|
||||
@dropdown-divider-bg: #e5e5e5;
|
||||
|
||||
//** Dropdown link text color.
|
||||
@dropdown-link-color: @gray-dark;
|
||||
//** Hover color for dropdown links.
|
||||
@dropdown-link-hover-color: #fff;
|
||||
//** Hover background for dropdown links.
|
||||
@dropdown-link-hover-bg: @component-active-bg;
|
||||
|
||||
//** Active dropdown menu item text color.
|
||||
@dropdown-link-active-color: #fff;
|
||||
//** Active dropdown menu item background color.
|
||||
@dropdown-link-active-bg: @component-active-bg;
|
||||
|
||||
//** Disabled dropdown menu item background color.
|
||||
@dropdown-link-disabled-color: @gray-light;
|
||||
|
||||
//** Text color for headers within dropdown menus.
|
||||
@dropdown-header-color: @gray-light;
|
||||
|
||||
//** Deprecated `@dropdown-caret-color` as of v3.1.0
|
||||
@dropdown-caret-color: #000;
|
||||
|
||||
/* Input Group Colors
|
||||
========================================================================== */
|
||||
|
||||
//** Background color for textual input addons
|
||||
@input-group-addon-bg: #FFF;
|
||||
|
||||
//** Border color for textual input addons
|
||||
@input-group-addon-border-color: @input-border;
|
||||
|
||||
.oe_product .ribbon {
|
||||
left: 0 !important;
|
||||
top: 9px !important;
|
||||
width: auto !important;
|
||||
-webkit-transform: rotate(0) !important;
|
||||
-moz-transform: rotate(0deg) !important;
|
||||
-ms-transform: rotate(0deg) !important;
|
||||
-o-transform: rotate(0deg) !important;
|
||||
}
|
||||
|
||||
.oe_product .ribbon-wrap {
|
||||
width: 100px !important;
|
||||
height: 53px !important;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.navbar.navbar-static-top ul.nav > li.divider {
|
||||
height: 33px !important;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.navbar-default .navbar-nav li > a {
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
|
||||
border: 1px solid @color-primary;
|
||||
}
|
||||
|
||||
header a.navbar-brand.logo img {
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.navbar.navbar-static-top {
|
||||
padding-top: 10px;
|
||||
}
|
||||
.navbar-nav > li > a {
|
||||
padding-top: 12px !important;
|
||||
padding-bottom: 12px !important;
|
||||
}
|
||||
}
|
||||
|
||||
#o_shop_collapse_category .fa-chevron-right:before {
|
||||
content: "\f0fe";
|
||||
}
|
||||
#o_shop_collapse_category .fa-chevron-down:before {
|
||||
content: "\f146";
|
||||
}
|
331
addons/theme_hermit/static/less/layouts/colors/colors_mango.less
Executable file
331
addons/theme_hermit/static/less/layouts/colors/colors_mango.less
Executable file
@ -0,0 +1,331 @@
|
||||
@flectra-brand-primary: @color-primary;
|
||||
@navbar-height: 60px;
|
||||
@navbar-default-bg: #fff;
|
||||
@navbar-default-color: #000;
|
||||
@navbar-default-link-color: #000;
|
||||
@navbar-default-link-active-color: @color-primary;
|
||||
@navbar-default-link-hover-color: @color-primary;
|
||||
@navbar-default-link-active-bg: white;
|
||||
|
||||
.navbar {
|
||||
-webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .16), 0 2px 10px 0 rgba(0, 0, 0, .12);
|
||||
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .16), 0 2px 10px 0 rgba(0, 0, 0, .12);
|
||||
}
|
||||
|
||||
.dropdown .dropdown-menu .dropdown-item:hover, .dropdown .dropdown-menu .dropdown-item:active, .dropdown .dropdown-menu .dropdown-item:focus {
|
||||
color: #1d1e1f;
|
||||
background-color: #f7f7f9;
|
||||
}
|
||||
|
||||
.navbar .dropdown-menu {
|
||||
position: absolute !important;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.navbar .dropdown-menu a {
|
||||
color: #000 !important;
|
||||
}
|
||||
|
||||
.navbar .dropdown-menu a:hover {
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
.navbar .dropdown-menu.dropdown-menu-right {
|
||||
right: auto !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
mango
|
||||
========================================================================== */
|
||||
|
||||
/* Colors
|
||||
========================================================================== */
|
||||
@color-primary: @mango-primary;
|
||||
@color-success: @mango-success;
|
||||
@color-info: @mango-info;
|
||||
@color-warning: @mango-warning;
|
||||
@color-danger: @mango-danger;
|
||||
|
||||
@brand-primary: @mango-primary;
|
||||
@brand-success: @mango-success;
|
||||
@brand-info: @mango-info;
|
||||
@brand-warning: @mango-warning;
|
||||
@brand-danger: @mango-danger;
|
||||
|
||||
@color-alpha: #62FF0D;
|
||||
@color-beta: #E8A20C;
|
||||
@color-gamma: #FF0000;
|
||||
@color-delta: #674AE8;
|
||||
@color-epsilon: #0DFFDB;
|
||||
|
||||
.text-primary {
|
||||
color: @color-primary;
|
||||
}
|
||||
|
||||
.text-success {
|
||||
color: @color-success;
|
||||
}
|
||||
|
||||
.text-info {
|
||||
color: @color-info;
|
||||
}
|
||||
|
||||
.text-warning {
|
||||
color: @color-warning;
|
||||
}
|
||||
|
||||
.text-danger {
|
||||
color: @color-danger;
|
||||
}
|
||||
|
||||
/* Gray
|
||||
========================================================================== */
|
||||
|
||||
@gray-darker: #1d2127;
|
||||
@gray-dark: lighten(@gray-darker, 25%);
|
||||
@gray: lighten(@gray-darker, 50%);
|
||||
@gray-light: lighten(@gray-darker, 65%);
|
||||
@gray-lighter: lighten(@gray-darker, 80%);
|
||||
|
||||
/* Content Colors
|
||||
========================================================================== */
|
||||
|
||||
#wrapwrap {
|
||||
.white(@gray-darker);
|
||||
.gray-lighter(@gray-darker);
|
||||
.gray(#fff);
|
||||
.gray-darker(#fff);
|
||||
.primary(#fff);
|
||||
.success(#fff);
|
||||
.info(#fff);
|
||||
.warning(#fff);
|
||||
.danger(#fff);
|
||||
}
|
||||
|
||||
/* Label Colors
|
||||
========================================================================== */
|
||||
|
||||
//** Default label background color
|
||||
@label-default-bg: @btn-default-bg;
|
||||
//** Primary label background color
|
||||
@label-primary-bg: @color-primary;
|
||||
//** Success label background color
|
||||
@label-success-bg: @color-success;
|
||||
//** Info label background color
|
||||
@label-info-bg: @color-info;
|
||||
//** Warning label background color
|
||||
@label-warning-bg: @color-warning;
|
||||
//** Danger label background color
|
||||
@label-danger-bg: @color-danger;
|
||||
|
||||
//** Default label text color
|
||||
@label-color: #fff;
|
||||
//** Default text color of a linked label
|
||||
@label-link-hover-color: #fff;
|
||||
|
||||
@layout-icons-color: #fff;
|
||||
@link-color: @color-primary;
|
||||
|
||||
/* Label Colors
|
||||
========================================================================== */
|
||||
|
||||
//** Default label background color
|
||||
@label-default-bg: @btn-default-bg;
|
||||
//** Primary label background color
|
||||
@label-primary-bg: @color-primary;
|
||||
//** Success label background color
|
||||
@label-success-bg: @color-success;
|
||||
//** Info label background color
|
||||
@label-info-bg: @color-info;
|
||||
//** Warning label background color
|
||||
@label-warning-bg: @color-warning;
|
||||
//** Danger label background color
|
||||
@label-danger-bg: @color-danger;
|
||||
|
||||
//** Default label text color
|
||||
@label-color: #fff;
|
||||
//** Default text color of a linked label
|
||||
@label-link-hover-color: #fff;
|
||||
|
||||
@body-bg: #fff;
|
||||
|
||||
/* Button Colors
|
||||
========================================================================== */
|
||||
|
||||
@btn-font-weight: normal;
|
||||
|
||||
@btn-default-color: @text-color;
|
||||
@btn-default-bg: #fff;
|
||||
@btn-default-border: #ddd;
|
||||
|
||||
@btn-primary-color: #fff;
|
||||
@btn-primary-bg: @color-primary;
|
||||
@btn-primary-border: @btn-primary-bg;
|
||||
|
||||
@btn-success-color: #fff;
|
||||
@btn-success-bg: @color-success;
|
||||
@btn-success-border: @btn-success-bg;
|
||||
|
||||
@btn-info-color: #fff;
|
||||
@btn-info-bg: @color-info;
|
||||
@btn-info-border: @btn-info-bg;
|
||||
|
||||
@btn-warning-color: #fff;
|
||||
@btn-warning-bg: @color-warning;
|
||||
@btn-warning-border: @btn-warning-bg;
|
||||
|
||||
@btn-danger-color: #fff;
|
||||
@btn-danger-bg: @color-danger;
|
||||
@btn-danger-border: @btn-danger-bg;
|
||||
|
||||
@btn-link-disabled-color: @gray-light;
|
||||
|
||||
// Allows for customizing button radius independently from global border radius
|
||||
@btn-border-radius-base: @border-radius-base;
|
||||
@btn-border-radius-large: @border-radius-large;
|
||||
@btn-border-radius-small: @border-radius-small;
|
||||
|
||||
/* Pagination Colors
|
||||
========================================================================== */
|
||||
|
||||
@pagination-color: @text-color;
|
||||
@pagination-bg: #fff;
|
||||
@pagination-border: #ddd;
|
||||
|
||||
@pagination-hover-color: #fff;
|
||||
@pagination-hover-bg: @color-primary;
|
||||
@pagination-hover-border: @color-primary;
|
||||
|
||||
@pagination-active-color: #fff;
|
||||
@pagination-active-bg: @color-primary;
|
||||
@pagination-active-border: @color-primary;
|
||||
|
||||
@pagination-disabled-color: @gray-light;
|
||||
@pagination-disabled-bg: #fff;
|
||||
@pagination-disabled-border: #ddd;
|
||||
|
||||
/* Pager Colors
|
||||
========================================================================== */
|
||||
|
||||
@pager-bg: @pagination-bg;
|
||||
@pager-border: @pagination-border;
|
||||
@pager-border-radius: 15px;
|
||||
|
||||
@pager-hover-bg: @pagination-hover-bg;
|
||||
|
||||
@pager-active-bg: @pagination-active-bg;
|
||||
@pager-active-color: @pagination-active-color;
|
||||
|
||||
@pager-disabled-color: @gray-light;
|
||||
|
||||
/* Jumbotron Colors
|
||||
========================================================================== */
|
||||
|
||||
@jumbotron-padding: 30px;
|
||||
@jumbotron-color: inherit;
|
||||
@jumbotron-bg: darken(@body-bg, 3%);
|
||||
@jumbotron-heading-color: inherit;
|
||||
@jumbotron-font-size: ceil((@font-size-base * 1.5));
|
||||
@jumbotron-heading-font-size: ceil((@font-size-base * 4.5));
|
||||
|
||||
/* Dropdown Colors
|
||||
========================================================================== */
|
||||
|
||||
@navbar-default-border: transparent;
|
||||
|
||||
//** Global color for active items (e.g., navs or dropdowns).
|
||||
@component-active-color: #fff;
|
||||
//** Global background color for active items (e.g., navs or dropdowns).
|
||||
@component-active-bg: @color-primary;
|
||||
|
||||
//** Width of the `border` for generating carets that indicator dropdowns.
|
||||
@caret-width-base: 4px;
|
||||
//** Carets increase slightly in size for larger components.
|
||||
@caret-width-large: 5px;
|
||||
|
||||
//** Background for the dropdown menu.
|
||||
@dropdown-bg: #fff;
|
||||
//** Dropdown menu `border-color`.
|
||||
@dropdown-border: rgba(0, 0, 0, .15);
|
||||
//** Dropdown menu `border-color` **for IE8**.
|
||||
@dropdown-fallback-border: #ccc;
|
||||
//** Divider color for between dropdown items.
|
||||
@dropdown-divider-bg: #e5e5e5;
|
||||
|
||||
//** Dropdown link text color.
|
||||
@dropdown-link-color: @gray-dark;
|
||||
//** Hover color for dropdown links.
|
||||
@dropdown-link-hover-color: #fff;
|
||||
//** Hover background for dropdown links.
|
||||
@dropdown-link-hover-bg: @component-active-bg;
|
||||
|
||||
//** Active dropdown menu item text color.
|
||||
@dropdown-link-active-color: #fff;
|
||||
//** Active dropdown menu item background color.
|
||||
@dropdown-link-active-bg: @component-active-bg;
|
||||
|
||||
//** Disabled dropdown menu item background color.
|
||||
@dropdown-link-disabled-color: @gray-light;
|
||||
|
||||
//** Text color for headers within dropdown menus.
|
||||
@dropdown-header-color: @gray-light;
|
||||
|
||||
//** Deprecated `@dropdown-caret-color` as of v3.1.0
|
||||
@dropdown-caret-color: #000;
|
||||
|
||||
/* Input Group Colors
|
||||
========================================================================== */
|
||||
|
||||
//** Background color for textual input addons
|
||||
@input-group-addon-bg: #FFF;
|
||||
|
||||
//** Border color for textual input addons
|
||||
@input-group-addon-border-color: @input-border;
|
||||
|
||||
.oe_product .ribbon {
|
||||
left: 0 !important;
|
||||
top: 9px !important;
|
||||
width: auto !important;
|
||||
-webkit-transform: rotate(0) !important;
|
||||
-moz-transform: rotate(0deg) !important;
|
||||
-ms-transform: rotate(0deg) !important;
|
||||
-o-transform: rotate(0deg) !important;
|
||||
}
|
||||
|
||||
.oe_product .ribbon-wrap {
|
||||
width: 100px !important;
|
||||
height: 53px !important;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.navbar.navbar-static-top ul.nav > li.divider {
|
||||
height: 33px !important;
|
||||
}
|
||||
.navbar-default .navbar-nav li > a {
|
||||
border-radius: 8px;
|
||||
}
|
||||
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
|
||||
border: 1px solid @color-primary;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.navbar.navbar-static-top {
|
||||
padding-top: 10px;
|
||||
}
|
||||
.navbar-nav > li > a {
|
||||
padding-top: 12px;
|
||||
padding-bottom: 12px;
|
||||
}
|
||||
}
|
||||
#o_shop_collapse_category .fa-chevron-right:before {
|
||||
content: "\f055";
|
||||
}
|
||||
#o_shop_collapse_category .fa-chevron-down:before {
|
||||
content: "\f056";
|
||||
}
|
312
addons/theme_hermit/static/less/layouts/colors/colors_moon.less
Executable file
312
addons/theme_hermit/static/less/layouts/colors/colors_moon.less
Executable file
@ -0,0 +1,312 @@
|
||||
/* ==========================================================================
|
||||
moon
|
||||
========================================================================== */
|
||||
|
||||
@flectra-brand-primary: @color-primary;
|
||||
@navbar-height: 60px;
|
||||
@navbar-default-bg: @color-primary;
|
||||
@navbar-default-color: #fff;
|
||||
@navbar-default-link-color: #fff;
|
||||
@navbar-default-link-active-color: @color-primary;
|
||||
@navbar-default-link-hover-color: @color-primary;
|
||||
@navbar-default-link-hover-bg: #fff;
|
||||
@navbar-default-link-active-bg: #fff;
|
||||
|
||||
.navbar {
|
||||
-webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .16), 0 2px 10px 0 rgba(0, 0, 0, .12);
|
||||
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .16), 0 2px 10px 0 rgba(0, 0, 0, .12);
|
||||
}
|
||||
|
||||
.dropdown .dropdown-menu .dropdown-item:hover, .dropdown .dropdown-menu .dropdown-item:active, .dropdown .dropdown-menu .dropdown-item:focus {
|
||||
color: #1d1e1f;
|
||||
background-color: #f7f7f9;
|
||||
}
|
||||
|
||||
.navbar .dropdown-menu {
|
||||
position: absolute !important;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.navbar .dropdown-menu a {
|
||||
color: #000 !important;
|
||||
}
|
||||
|
||||
.navbar .dropdown-menu a:hover {
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
.navbar .dropdown-menu.dropdown-menu-right {
|
||||
right: auto !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Colors
|
||||
========================================================================== */
|
||||
|
||||
@color-primary: @moon-primary;
|
||||
@color-success: @moon-success;
|
||||
@color-info: @moon-info;
|
||||
@color-warning: @moon-warning;
|
||||
@color-danger: @moon-danger;
|
||||
|
||||
.text-primary {
|
||||
color: @color-primary;
|
||||
}
|
||||
|
||||
.text-success {
|
||||
color: @color-success;
|
||||
}
|
||||
|
||||
.text-info {
|
||||
color: @color-info;
|
||||
}
|
||||
|
||||
.text-warning {
|
||||
color: @color-warning;
|
||||
}
|
||||
|
||||
.text-danger {
|
||||
color: @color-danger;
|
||||
}
|
||||
|
||||
/* Grayscale
|
||||
========================================================================== */
|
||||
|
||||
// @gray-darker: #343642;
|
||||
// @gray: lighten(@gray-darker, 40%);
|
||||
// @gray-light: lighten(@gray-darker, 70%);
|
||||
|
||||
/* Content Colors
|
||||
========================================================================== */
|
||||
|
||||
#wrapwrap {
|
||||
.white(@gray-darker);
|
||||
.gray-lighter(@gray-darker);
|
||||
.gray(#fff);
|
||||
.gray-darker(#fff);
|
||||
.primary(#fff);
|
||||
.success(#fff);
|
||||
.info(#fff);
|
||||
.warning(#fff);
|
||||
.danger(@gray-darker);
|
||||
}
|
||||
|
||||
footer {
|
||||
background-color: #f1f1f1;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
@layout-icons-color: #fff;
|
||||
@link-color: @color-primary;
|
||||
|
||||
@body-bg: #fff;
|
||||
|
||||
/* Label Colors
|
||||
========================================================================== */
|
||||
|
||||
//** Default label background color
|
||||
@label-default-bg: @btn-default-bg;
|
||||
//** Primary label background color
|
||||
@label-primary-bg: @color-primary;
|
||||
//** Success label background color
|
||||
@label-success-bg: @color-success;
|
||||
//** Info label background color
|
||||
@label-info-bg: @color-info;
|
||||
//** Warning label background color
|
||||
@label-warning-bg: @color-warning;
|
||||
//** Danger label background color
|
||||
@label-danger-bg: @color-danger;
|
||||
|
||||
//** Default label text color
|
||||
@label-color: #fff;
|
||||
//** Default text color of a linked label
|
||||
@label-link-hover-color: #fff;
|
||||
|
||||
/* Button Colors
|
||||
========================================================================== */
|
||||
|
||||
@btn-font-weight: normal;
|
||||
|
||||
@btn-default-color: @text-color;
|
||||
@btn-default-bg: #fff;
|
||||
@btn-default-border: #ddd;
|
||||
|
||||
@btn-primary-color: #fff;
|
||||
@btn-primary-bg: @color-primary;
|
||||
@btn-primary-border: @btn-primary-bg;
|
||||
|
||||
@btn-success-color: #fff;
|
||||
@btn-success-bg: @color-success;
|
||||
@btn-success-border: @btn-success-bg;
|
||||
|
||||
@btn-info-color: #fff;
|
||||
@btn-info-bg: @color-info;
|
||||
@btn-info-border: @btn-info-bg;
|
||||
|
||||
@btn-warning-color: #fff;
|
||||
@btn-warning-bg: @color-warning;
|
||||
@btn-warning-border: @btn-warning-bg;
|
||||
|
||||
@btn-danger-color: #fff;
|
||||
@btn-danger-bg: @color-danger;
|
||||
@btn-danger-border: @btn-danger-bg;
|
||||
|
||||
@btn-link-disabled-color: @gray-light;
|
||||
|
||||
// Allows for customizing button radius independently from global border radius
|
||||
@btn-border-radius-base: @border-radius-base;
|
||||
@btn-border-radius-large: @border-radius-large;
|
||||
@btn-border-radius-small: @border-radius-small;
|
||||
|
||||
/* Pagination Colors
|
||||
========================================================================== */
|
||||
|
||||
@pagination-color: @text-color;
|
||||
@pagination-bg: #fff;
|
||||
@pagination-border: #ddd;
|
||||
|
||||
@pagination-hover-color: #fff;
|
||||
@pagination-hover-bg: @color-primary;
|
||||
@pagination-hover-border: @color-primary;
|
||||
|
||||
@pagination-active-color: #fff;
|
||||
@pagination-active-bg: @color-primary;
|
||||
@pagination-active-border: @color-primary;
|
||||
|
||||
@pagination-disabled-color: @gray-light;
|
||||
@pagination-disabled-bg: #fff;
|
||||
@pagination-disabled-border: #ddd;
|
||||
|
||||
/* Pager Colors
|
||||
========================================================================== */
|
||||
|
||||
@pager-bg: @pagination-bg;
|
||||
@pager-border: @pagination-border;
|
||||
@pager-border-radius: 15px;
|
||||
|
||||
@pager-hover-bg: @pagination-hover-bg;
|
||||
|
||||
@pager-active-bg: @pagination-active-bg;
|
||||
@pager-active-color: @pagination-active-color;
|
||||
|
||||
@pager-disabled-color: @gray-light;
|
||||
|
||||
/* Jumbotron Colors
|
||||
========================================================================== */
|
||||
|
||||
@jumbotron-padding: 30px;
|
||||
@jumbotron-color: inherit;
|
||||
@jumbotron-bg: darken(@body-bg, 3%);
|
||||
@jumbotron-heading-color: inherit;
|
||||
@jumbotron-font-size: ceil((@font-size-base * 1.5));
|
||||
@jumbotron-heading-font-size: ceil((@font-size-base * 4.5));
|
||||
|
||||
/* Dropdown Colors
|
||||
========================================================================== */
|
||||
|
||||
@navbar-default-border: @color-primary;
|
||||
|
||||
//** Global color for active items (e.g., navs or dropdowns).
|
||||
@component-active-color: #fff;
|
||||
//** Global background color for active items (e.g., navs or dropdowns).
|
||||
@component-active-bg: @color-primary;
|
||||
|
||||
//** Width of the `border` for generating carets that indicator dropdowns.
|
||||
@caret-width-base: 4px;
|
||||
//** Carets increase slightly in size for larger components.
|
||||
@caret-width-large: 5px;
|
||||
|
||||
//** Background for the dropdown menu.
|
||||
@dropdown-bg: #fff;
|
||||
//** Dropdown menu `border-color`.
|
||||
@dropdown-border: rgba(0, 0, 0, .15);
|
||||
//** Dropdown menu `border-color` **for IE8**.
|
||||
@dropdown-fallback-border: #ccc;
|
||||
//** Divider color for between dropdown items.
|
||||
@dropdown-divider-bg: #e5e5e5;
|
||||
|
||||
//** Dropdown link text color.
|
||||
@dropdown-link-color: @gray-dark;
|
||||
//** Hover color for dropdown links.
|
||||
@dropdown-link-hover-color: #fff;
|
||||
//** Hover background for dropdown links.
|
||||
@dropdown-link-hover-bg: @component-active-bg;
|
||||
|
||||
//** Active dropdown menu item text color.
|
||||
@dropdown-link-active-color: #fff;
|
||||
//** Active dropdown menu item background color.
|
||||
@dropdown-link-active-bg: @component-active-bg;
|
||||
|
||||
//** Disabled dropdown menu item background color.
|
||||
@dropdown-link-disabled-color: @gray-light;
|
||||
|
||||
//** Text color for headers within dropdown menus.
|
||||
@dropdown-header-color: @gray-light;
|
||||
|
||||
//** Deprecated `@dropdown-caret-color` as of v3.1.0
|
||||
@dropdown-caret-color: #000;
|
||||
|
||||
/* Input Group Colors
|
||||
========================================================================== */
|
||||
|
||||
//** Background color for textual input addons
|
||||
@input-group-addon-bg: #FFF;
|
||||
|
||||
//** Border color for textual input addons
|
||||
@input-group-addon-border-color: @input-border;
|
||||
|
||||
.oe_product .ribbon {
|
||||
left: 0 !important;
|
||||
top: 9px !important;
|
||||
width: auto !important;
|
||||
-webkit-transform: rotate(0) !important;
|
||||
-moz-transform: rotate(0deg) !important;
|
||||
-ms-transform: rotate(0deg) !important;
|
||||
-o-transform: rotate(0deg) !important;
|
||||
}
|
||||
|
||||
.oe_product .ribbon-wrap {
|
||||
width: 100px !important;
|
||||
height: 53px !important;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.navbar.navbar-static-top ul.nav > li.divider {
|
||||
height: 33px !important;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.navbar-default .navbar-nav li > a {
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
|
||||
border: 1px solid @color-primary;
|
||||
}
|
||||
|
||||
header a.navbar-brand.logo img {
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.navbar.navbar-static-top {
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.navbar-nav > li > a {
|
||||
padding-top: 12px !important;
|
||||
padding-bottom: 12px !important;
|
||||
}
|
||||
}
|
||||
|
||||
#o_shop_collapse_category .fa-chevron-right:before {
|
||||
content: "\f0fe";
|
||||
}
|
||||
#o_shop_collapse_category .fa-chevron-down:before {
|
||||
content: "\f146";
|
||||
}
|
18
addons/theme_hermit/static/less/layouts/fonts.less
Executable file
18
addons/theme_hermit/static/less/layouts/fonts.less
Executable file
@ -0,0 +1,18 @@
|
||||
/* Dosis */
|
||||
@font-face {
|
||||
font-family: 'Montserrat';
|
||||
src:url('/theme_hermit/static/font/Montserrat/Montserrat-Medium.ttf') format('truetype');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'PT Sans';
|
||||
src: url('/theme_hermit/static/font/PT_Sans/PT_Sans-Web-Regular.ttf') format('truetype');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Source Sans Pro';
|
||||
src: url('/theme_hermit/static/font/Source_Sans_Pro/SourceSansPro-Regular.ttf') format('truetype');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Poppins';
|
||||
src: url('/theme_hermit/static/font/Poppins/Poppins-Regular.ttf') format('truetype');
|
||||
}
|
46
addons/theme_hermit/static/less/layouts/fonts/font_montserrat.less
Executable file
46
addons/theme_hermit/static/less/layouts/fonts/font_montserrat.less
Executable file
@ -0,0 +1,46 @@
|
||||
body {
|
||||
font-size: 18px;
|
||||
font-family: 'Montserrat', sans-serif;
|
||||
}
|
||||
#wrapwrap {
|
||||
font-family: 'Montserrat', sans-serif;
|
||||
font-size: 18px;
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-family: 'Montserrat', sans-serif;
|
||||
}
|
||||
#top_menu > li > a {
|
||||
font-family: 'Montserrat', sans-serif;
|
||||
}
|
||||
.category-name {
|
||||
font-family: 'Montserrat', sans-serif;
|
||||
font-size: 22px;
|
||||
text-transform: uppercase;
|
||||
font-weight: bold;
|
||||
}
|
||||
.products_pager {
|
||||
font-size: 16px;
|
||||
}
|
||||
#products_grid_before {
|
||||
> ul > li > a {
|
||||
font-size: 18px !important;
|
||||
}
|
||||
a {
|
||||
font-size: 16px !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
.oe_product {
|
||||
section {
|
||||
h5 strong a {
|
||||
font-size: 18px;
|
||||
}
|
||||
}
|
||||
}
|
||||
#wrapwrap > footer {
|
||||
.container {
|
||||
p, .list-unstyled {
|
||||
font-size: 18px;
|
||||
}
|
||||
}
|
||||
}
|
46
addons/theme_hermit/static/less/layouts/fonts/font_poppins.less
Executable file
46
addons/theme_hermit/static/less/layouts/fonts/font_poppins.less
Executable file
@ -0,0 +1,46 @@
|
||||
body {
|
||||
font-size: 18px;
|
||||
font-family: 'Poppins', sans-serif;
|
||||
}
|
||||
#wrapwrap {
|
||||
font-family: 'Poppins', sans-serif;
|
||||
font-size: 18px;
|
||||
|
||||
h1, h2, h4, h5, h6 {
|
||||
font-family: 'Poppins', sans-serif;
|
||||
}
|
||||
#top_menu > li > a {
|
||||
font-family: 'Poppins', sans-serif;
|
||||
}
|
||||
.category-name {
|
||||
font-family: 'Poppins', sans-serif;
|
||||
font-size: 22px;
|
||||
text-transform: uppercase;
|
||||
font-weight: bold;
|
||||
}
|
||||
.products_pager {
|
||||
font-size: 16px;
|
||||
}
|
||||
#products_grid_before {
|
||||
> ul > li > a {
|
||||
font-size: 16px !important;
|
||||
}
|
||||
a {
|
||||
font-size: 15px !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
.oe_product {
|
||||
section {
|
||||
h5 strong a {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
#wrapwrap > footer {
|
||||
.container {
|
||||
p, .list-unstyled {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
}
|
46
addons/theme_hermit/static/less/layouts/fonts/font_pt_sans.less
Executable file
46
addons/theme_hermit/static/less/layouts/fonts/font_pt_sans.less
Executable file
@ -0,0 +1,46 @@
|
||||
body {
|
||||
font-size: 18px;
|
||||
font-family: 'PT Sans', sans-serif;
|
||||
}
|
||||
#wrapwrap {
|
||||
font-family: 'PT Sans', sans-serif;
|
||||
font-size: 18px;
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-family: 'PT Sans', sans-serif;
|
||||
}
|
||||
#top_menu > li > a {
|
||||
font-family: 'PT Sans', sans-serif;
|
||||
}
|
||||
.category-name {
|
||||
font-family: 'PT Sans', sans-serif;
|
||||
font-size: 22px;
|
||||
text-transform: uppercase;
|
||||
font-weight: bold;
|
||||
}
|
||||
.products_pager {
|
||||
font-size: 16px;
|
||||
}
|
||||
#products_grid_before {
|
||||
> ul > li > a {
|
||||
font-size: 16px !important;
|
||||
}
|
||||
a {
|
||||
font-size: 15px !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
.oe_product {
|
||||
section {
|
||||
h5 strong a {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
#wrapwrap > footer {
|
||||
.container {
|
||||
p, .list-unstyled {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
}
|
39
addons/theme_hermit/static/less/layouts/fonts/font_source_sans_pro.less
Executable file
39
addons/theme_hermit/static/less/layouts/fonts/font_source_sans_pro.less
Executable file
@ -0,0 +1,39 @@
|
||||
body {
|
||||
font-size: 18px;
|
||||
font-family: 'Source Sans Pro', sans-serif;
|
||||
}
|
||||
#wrapwrap {
|
||||
font-family: 'Source Sans Pro', sans-serif;
|
||||
font-size: 18px;
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-family: 'Source Sans Pro', sans-serif;
|
||||
}
|
||||
#top_menu > li > a {
|
||||
font-family: 'Source Sans Pro', sans-serif;
|
||||
}
|
||||
.category-name {
|
||||
font-family: 'Source Sans Pro', sans-serif;
|
||||
font-size: 22px;
|
||||
text-transform: uppercase;
|
||||
font-weight: bold;
|
||||
}
|
||||
.products_pager {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
.oe_product {
|
||||
section {
|
||||
|
||||
h5 strong a {
|
||||
font-size: 18px;
|
||||
}
|
||||
}
|
||||
}
|
||||
#wrapwrap > footer {
|
||||
.container {
|
||||
p, .list-unstyled {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
}
|
288
addons/theme_hermit/static/less/layouts/mixins.less
Executable file
288
addons/theme_hermit/static/less/layouts/mixins.less
Executable file
@ -0,0 +1,288 @@
|
||||
/* BACKGROUND COLORS
|
||||
========================================================================== */
|
||||
|
||||
.bg-mixin(@background; @color; @bs-selector; @wb-selector){
|
||||
background-color: @background;
|
||||
color: @color;
|
||||
a:not(.btn),
|
||||
&.fa,
|
||||
.text-@{bs-selector},
|
||||
.blockquote-text small{
|
||||
color: @color;
|
||||
}
|
||||
.bg-@{wb-selector}.label{
|
||||
background-color: @color;
|
||||
color: @background;
|
||||
}
|
||||
.btn.btn-@{bs-selector},
|
||||
.btn.btn-default{
|
||||
border: 1px solid @color;
|
||||
color: @color;
|
||||
&:hover{
|
||||
background-color: @color;
|
||||
color: @background;
|
||||
}
|
||||
}
|
||||
.bg-@{wb-selector}{
|
||||
&.fa{
|
||||
background-color: @color;
|
||||
color: @background;
|
||||
}
|
||||
.img-thumbnail(@background, @color);
|
||||
}
|
||||
.panel-@{wb-selector}{
|
||||
.panel-color(@color, @background);
|
||||
}
|
||||
.well-@{wb-selector}{
|
||||
.well-color(@color);
|
||||
}
|
||||
.img-thumbnail(@color, @background);
|
||||
.text-muted{
|
||||
color: @color;
|
||||
}
|
||||
}
|
||||
|
||||
.bg-none(@background; @color){
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
.white(@content-color){
|
||||
.bg-white{
|
||||
.bg-mixin(#fff, @content-color, white, white);
|
||||
}
|
||||
.panel-white{
|
||||
.panel-color(#fff, @content-color);
|
||||
}
|
||||
.well-white{
|
||||
.well-color(#fff);
|
||||
}
|
||||
}
|
||||
|
||||
.gray-lighter(@content-color){
|
||||
.bg-gray-lighter{
|
||||
.bg-mixin(@gray-lighter, @content-color, gray-lighter, gray-lighter);
|
||||
}
|
||||
.panel-gray-lighter{
|
||||
.panel-color(@gray-lighter, @content-color);
|
||||
}
|
||||
.well-gray-lighter{
|
||||
.well-color(@gray-lighter);
|
||||
}
|
||||
}
|
||||
|
||||
.gray(@content-color){
|
||||
.bg-gray{
|
||||
.bg-mixin(@gray, @content-color, gray, gray);
|
||||
}
|
||||
.panel-gray{
|
||||
.panel-color(@gray, @content-color);
|
||||
}
|
||||
.well-gray{
|
||||
.well-color(@gray);
|
||||
}
|
||||
}
|
||||
|
||||
.gray-darker(@content-color){
|
||||
.bg-gray-darker{
|
||||
.bg-mixin(@gray-darker, @content-color, gray-darker, gray-darker);
|
||||
}
|
||||
.panel-gray-darker{
|
||||
.panel-color(@gray-darker, @content-color);
|
||||
}
|
||||
.well-gray-darker{
|
||||
.well-color(@gray-darker);
|
||||
}
|
||||
.well-gray-darker{
|
||||
.well-color(@gray-darker);
|
||||
}
|
||||
}
|
||||
|
||||
.primary(@content-color){
|
||||
.bg-primary{
|
||||
.bg-mixin(@color-primary, @content-color, primary, primary);
|
||||
}
|
||||
.panel-primary{
|
||||
.panel-color(@color-primary, @content-color);
|
||||
}
|
||||
.panel-primary{
|
||||
.panel-variant(@color-primary; @content-color; @color-primary; @color-primary);
|
||||
.list-group-item.active{
|
||||
background-color: @color-primary;
|
||||
border-color: @color-primary;}
|
||||
}
|
||||
.well-primary{
|
||||
.well-color(@color-primary);
|
||||
}
|
||||
}
|
||||
|
||||
.success(@content-color){
|
||||
.bg-success{
|
||||
.bg-mixin(@color-success, @content-color, success, success);
|
||||
}
|
||||
.panel-success{
|
||||
.panel-color(@color-success, @content-color);
|
||||
}
|
||||
.panel-success{
|
||||
.panel-variant(@color-success; @content-color; @color-success; @color-success);
|
||||
.list-group-item.active{
|
||||
background-color: @color-success;
|
||||
border-color: @color-success;}
|
||||
}
|
||||
.well-success{
|
||||
.well-color(@color-success);
|
||||
}
|
||||
}
|
||||
|
||||
.info(@content-color){
|
||||
.bg-info{
|
||||
.bg-mixin(@color-info, @content-color, info, info);
|
||||
}
|
||||
.panel-info{
|
||||
.panel-color(@color-info, @content-color);
|
||||
}
|
||||
.panel-info{
|
||||
.panel-variant(@color-info; @content-color; @color-info; @color-info);
|
||||
|
||||
.list-group-item.active{
|
||||
background-color: @color-info;
|
||||
border-color: @color-info;
|
||||
}}
|
||||
|
||||
.well-info{
|
||||
.well-color(@color-info);
|
||||
}
|
||||
}
|
||||
|
||||
.warning(@content-color){
|
||||
.bg-warning{
|
||||
.bg-mixin(@color-warning, @content-color, warning, warning);
|
||||
}
|
||||
.panel-warning{
|
||||
.panel-color(@color-warning, @content-color);
|
||||
}
|
||||
.panel-warning{
|
||||
.panel-variant(@color-warning; @content-color; @color-warning; @color-warning);
|
||||
|
||||
.list-group-item.active{
|
||||
background-color: @color-warning;
|
||||
border-color: @color-warning;
|
||||
}}
|
||||
.well-warning{
|
||||
.well-color(@color-warning);
|
||||
}
|
||||
}
|
||||
|
||||
.danger(@content-color){
|
||||
.bg-danger{
|
||||
.bg-mixin(@color-danger, @content-color, danger, danger);
|
||||
}
|
||||
.panel-danger{
|
||||
.panel-color(@color-danger, @content-color);
|
||||
}
|
||||
.panel-danger{
|
||||
.panel-variant(@color-danger; @content-color; @color-danger; @color-danger);
|
||||
.list-group-item.active{
|
||||
background-color: @color-warning;
|
||||
border-color: @color-warning;}
|
||||
}
|
||||
.well-danger{
|
||||
.well-color(@color-danger);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* PANEL COLORS
|
||||
========================================================================== */
|
||||
|
||||
.panel-color(@color, @textcolor){
|
||||
border-color: @color;
|
||||
.list-group li.active{
|
||||
background-color: @color !important;
|
||||
color: @textcolor;
|
||||
}
|
||||
> .panel-heading{
|
||||
background-color: @color;
|
||||
color: @textcolor;
|
||||
.text-muted{
|
||||
color: @textcolor;
|
||||
}
|
||||
> .panel-title, a{
|
||||
color: @textcolor;
|
||||
}
|
||||
}
|
||||
.tab-content{
|
||||
border-left: 1px solid @color;
|
||||
border-bottom: 1px solid @color;
|
||||
border-right: 1px solid @color;
|
||||
padding: 20px;
|
||||
}
|
||||
.nav-tabs{
|
||||
border-bottom: 1px solid @color;
|
||||
> li {
|
||||
> a{
|
||||
background-color: inherit;
|
||||
color: @color;
|
||||
&:hover,
|
||||
&:focus{
|
||||
background-color: @color;
|
||||
border: 1px solid @color;
|
||||
border-bottom-color: @color;
|
||||
color: @textcolor;
|
||||
.fa{
|
||||
color: @textcolor;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.active a,
|
||||
&.active a:hover,
|
||||
&.active a:focus{
|
||||
border: 1px solid @color;
|
||||
background-color: @color;
|
||||
color: @textcolor;
|
||||
.fa{
|
||||
color: @textcolor;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.well-color(@color){
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
border-color: @color;
|
||||
color: inherit;
|
||||
.fa{
|
||||
color: @color;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* THUMBNAILS COLORS
|
||||
========================================================================== */
|
||||
|
||||
.img-thumbnail(@first-border-color; @second-border-color){
|
||||
&.thumbnail,
|
||||
&.img-thumbnail{
|
||||
@shadow: 0 0 0 3px @first-border-color, 0 0 0 6px @second-border-color;
|
||||
.box-shadow(@shadow);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* TEXT MUTED
|
||||
========================================================================== */
|
||||
|
||||
.text-muted(@color){
|
||||
color: @color;
|
||||
opacity: (@opacity * 0.5);
|
||||
}
|
||||
|
||||
/* Fix non-clickable input */
|
||||
#wrapwrap {
|
||||
form div.text-muted,
|
||||
.wizard .text-muted {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
57
addons/theme_hermit/static/less/layouts/switcher.less
Executable file
57
addons/theme_hermit/static/less/layouts/switcher.less
Executable file
@ -0,0 +1,57 @@
|
||||
#switcher-body {
|
||||
.container {
|
||||
background:#fff;
|
||||
margin:50px auto;
|
||||
border:1px solid #dedede;
|
||||
padding:40px;
|
||||
}
|
||||
}
|
||||
.demo_changer {
|
||||
z-index: 900;
|
||||
position: fixed;
|
||||
left: 0px;
|
||||
top: 85px;
|
||||
font-family: 'PT Sans',sans-serif;
|
||||
font-weight: 400 !important;
|
||||
i {
|
||||
color:#fff;
|
||||
font-size:21px;
|
||||
}
|
||||
.btn {
|
||||
margin-top:10px;
|
||||
}
|
||||
.demo-icon {
|
||||
cursor: pointer;
|
||||
text-align:center;
|
||||
background:@color-primary;
|
||||
padding:2px;
|
||||
float: right;
|
||||
height: 40px;
|
||||
line-height:40px;
|
||||
-webkit-border-radius:0 20px 20px 0;
|
||||
-moz-border-radius:0 20px 20px 0;
|
||||
border-radius:0 20px 20px 0;
|
||||
width:40px;
|
||||
}
|
||||
.form_holder {
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 0 0 14px 0;
|
||||
cursor: pointer;
|
||||
font-size: 16px;
|
||||
background: #ffffff;
|
||||
float: right;
|
||||
padding:20px;
|
||||
width: 453px;
|
||||
p {
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.demo_changer select:active,.demo_changer select:focus,.demo_changer select:hover,.demo_changer .button:active,.demo_changer .button:focus,.demo_changer .button:hover,.demo_changer .btn:active,.demo_changer .btn:focus,.demo_changer .btn:hover,.demo_changer .button:active,.demo_changer .button:focus,.demo_changer .button:hover {
|
||||
box-shadow:none !important;
|
||||
}
|
||||
.demo_changer,.demo_changer p {
|
||||
color:#545454 !important;
|
||||
}
|
83
addons/theme_hermit/views/assets.xml
Normal file
83
addons/theme_hermit/views/assets.xml
Normal file
@ -0,0 +1,83 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<flectra>
|
||||
|
||||
<!-- LESS ========================================================================== -->
|
||||
|
||||
<template id="theme_hermit_frontend_style" name="Theme Shop style"
|
||||
inherit_id="website.assets_frontend" active="True">
|
||||
<xpath expr="." position="inside">
|
||||
<link href="/theme_hermit/static/less/common.less"
|
||||
rel="stylesheet" type="text/less"/>
|
||||
<link href="/theme_hermit/static/less/layouts/switcher.less"
|
||||
rel="stylesheet" type="text/less"/>
|
||||
<link href="/theme_hermit/static/less/layouts/fonts.less"
|
||||
rel="stylesheet" type="text/less" />
|
||||
<link href="/theme_hermit/static/less/layouts/mixins.less"
|
||||
rel="stylesheet" type="text/less" />
|
||||
<link href="/theme_hermit/static/less/layouts/colors.less"
|
||||
rel="stylesheet" type="text/less" />
|
||||
<link href="/theme_hermit/static/less/customize_modal.less"
|
||||
rel="stylesheet" type="text/less"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<!--color-->
|
||||
|
||||
<template id="theme_hermit_colors_keent" name="option_colors_keent" inherit_id="website.assets_frontend" active="False">
|
||||
<xpath expr="." position="inside">
|
||||
<link href="/theme_hermit/static/less/layouts/colors/colors_keent.less"
|
||||
rel="stylesheet" type="text/less" />
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<template id="theme_hermit_colors_cyrus" name="option_colors_cyrus" inherit_id="website.assets_frontend" active="False">
|
||||
<xpath expr="." position="inside">
|
||||
<link href="/theme_hermit/static/less/layouts/colors/colors_cyrus.less"
|
||||
rel="stylesheet" type="text/less" />
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<template id="theme_hermit_colors_mango" name="option_colors_mango" inherit_id="website.assets_frontend" active="True">
|
||||
<xpath expr="." position="inside">
|
||||
<link href="/theme_hermit/static/less/layouts/colors/colors_mango.less"
|
||||
rel="stylesheet" type="text/less" />
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<template id="theme_hermit_colors_moon" name="option_colors_moon" inherit_id="website.assets_frontend" active="False">
|
||||
<xpath expr="." position="inside">
|
||||
<link href="/theme_hermit/static/less/layouts/colors/colors_moon.less"
|
||||
rel="stylesheet" type="text/less" />
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<!-- Font -->
|
||||
<template id="theme_hermit_font_poppins" name="font_poppins" inherit_id="website.assets_frontend" active="False">
|
||||
<xpath expr="." position="inside">
|
||||
<link href="/theme_hermit/static/less/layouts/fonts/font_poppins.less"
|
||||
rel="stylesheet" type="text/less" />
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<template id="theme_hermit_font_montserrat" name="font_montserrat" inherit_id="website.assets_frontend" active="False">
|
||||
<xpath expr="." position="inside">
|
||||
<link href="/theme_hermit/static/less/layouts/fonts/font_montserrat.less"
|
||||
rel="stylesheet" type="text/less" />
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<template id="theme_hermit_font_source_sans_pro" name="font_source_sans_pro" inherit_id="website.assets_frontend" active="True">
|
||||
<xpath expr="." position="inside">
|
||||
<link href="/theme_hermit/static/less/layouts/fonts/font_source_sans_pro.less"
|
||||
rel="stylesheet" type="text/less" />
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<template id="theme_hermit_font_pt_sans" name="font_pt_sans" inherit_id="website.assets_frontend" active="False">
|
||||
<xpath expr="." position="inside">
|
||||
<link href="/theme_hermit/static/less/layouts/fonts/font_pt_sans.less"
|
||||
rel="stylesheet" type="text/less" />
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</flectra>
|
117
addons/theme_hermit/views/customize_modal.xml
Executable file
117
addons/theme_hermit/views/customize_modal.xml
Executable file
@ -0,0 +1,117 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<flectra>
|
||||
|
||||
<!-- Customize - Customize Theme -->
|
||||
<template id="theme_hermit_customize_modal" inherit_id="website.theme_customize" name="Theme hermit Customize Modal">
|
||||
<xpath expr="//div[@id='theme_customize_modal']" position="replace">
|
||||
<div id="theme_customize_modal" class="modal fade bs-example-modal-sm">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="loading_backdrop"></div>
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close">×</button>
|
||||
<h4 class="modal-title">Customize your theme</h4>
|
||||
</div>
|
||||
<div class="modal-body theme_hermit_customize_model">
|
||||
<div id="home">
|
||||
<div class="row">
|
||||
<!-- Schemes -->
|
||||
<div class="col-md-12">
|
||||
<strong>
|
||||
<h4>Color</h4>
|
||||
</strong>
|
||||
</div>
|
||||
<div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 mt16 mb16 scheme_color_mango">
|
||||
<label class="icon checked">
|
||||
<input id="scheme_color_mango"
|
||||
type="radio"
|
||||
name="scheme_color_var"
|
||||
data-xmlid="theme_hermit.theme_hermit_colors_mango"
|
||||
active="True"/>
|
||||
<span class="mango-primary"/>
|
||||
</label>
|
||||
</div>
|
||||
<div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 mt16 mb16 scheme_color_cyrus">
|
||||
<label class="icon">
|
||||
<input id="scheme_color_cyrus"
|
||||
type="radio"
|
||||
name="scheme_color_var"
|
||||
data-xmlid="theme_hermit.theme_hermit_colors_cyrus"/>
|
||||
<span class="cyrus-primary"/>
|
||||
</label>
|
||||
</div>
|
||||
<div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 mt16 mb16 scheme_color_moon">
|
||||
<label class="icon">
|
||||
<input id="scheme_color_moon"
|
||||
type="radio"
|
||||
name="scheme_color_var"
|
||||
data-xmlid="theme_hermit.theme_hermit_colors_moon"/>
|
||||
<span class="moon-primary"/>
|
||||
</label>
|
||||
</div>
|
||||
<div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 mt16 mb16 scheme_color_keent">
|
||||
<label class="icon">
|
||||
<input id="scheme_color_keent"
|
||||
type="radio"
|
||||
name="scheme_color_var"
|
||||
data-xmlid="theme_hermit.theme_hermit_colors_keent"/>
|
||||
<span class="keent-primary"/>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<strong>
|
||||
<h4>Font</h4>
|
||||
</strong>
|
||||
</div>
|
||||
<div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
|
||||
<label class="icon checked font_poppins">
|
||||
<input name="font_var"
|
||||
type="radio"
|
||||
id="font_poppins"
|
||||
data-xmlid="theme_hermit.theme_hermit_font_poppins"
|
||||
active="True"/>
|
||||
<h4 style="font-family: Poppins; font-size: 22px">
|
||||
Poppins
|
||||
</h4>
|
||||
</label>
|
||||
<label class="icon font_montserrat">
|
||||
<input name="font_var"
|
||||
type="radio"
|
||||
id="font_montserrat"
|
||||
data-xmlid="theme_hermit.theme_hermit_font_montserrat"/>
|
||||
<h4 style="font-family: 'Montserrat'; font-size: 22px">
|
||||
Montserrat
|
||||
</h4>
|
||||
</label>
|
||||
</div>
|
||||
<div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
|
||||
<label class="icon font_source_sans_pro">
|
||||
<input name="font_var"
|
||||
type="radio"
|
||||
id="font_source_sans_pro"
|
||||
data-xmlid="theme_hermit.theme_hermit_font_source_sans_pro"/>
|
||||
<h4 style="font-family: Source Sans Pro; font-size: 22px">
|
||||
Source Sans Pro
|
||||
</h4>
|
||||
</label>
|
||||
<label class="icon font_pt_sans">
|
||||
<input name="font_var"
|
||||
type="radio"
|
||||
id="font_pt_sans"
|
||||
data-xmlid="theme_hermit.theme_hermit_font_pt_sans"/>
|
||||
<h4 style="font-family: PT Sans; font-size: 22px">
|
||||
PT Sans
|
||||
</h4>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</xpath>
|
||||
</template>
|
||||
</flectra>
|
@ -734,13 +734,37 @@ textarea:focus {
|
||||
-ms-user-select: none;
|
||||
}
|
||||
|
||||
#js_product_style {
|
||||
input.js_variant_change_full.js_variant_change {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
#js_product_style > ul > li > ul > li > label > input,
|
||||
#radio-option {
|
||||
input[type="checkbox"] {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.modal-body {
|
||||
input.js_variant_change_full.js_variant_change {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
#js_product_style > label > input {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.js_add_cart_variants [type=radio], .js_add_cart_variants [type=checkbox],
|
||||
.js_attributes [type=radio], .js_attributes [type=checkbox] {
|
||||
opacity: 0;
|
||||
z-index: 50;
|
||||
position: absolute;
|
||||
height: 22px;
|
||||
width: 90%;
|
||||
}
|
||||
|
||||
.js_add_cart_variants [type=checkbox]:checked + label:before,
|
||||
|
@ -1,8 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Part of Odoo Module Developed by FlectraHQ
|
||||
See LICENSE file for full copyright and licensing details.
|
||||
-->
|
||||
<flectra>
|
||||
|
||||
<!-- Customize - Customize Theme -->
|
||||
|
@ -441,7 +441,7 @@
|
||||
</select>
|
||||
</t>
|
||||
<t t-if="a.type == 'radio'">
|
||||
<ul class="nav nav-pills nav-stacked">
|
||||
<ul class="nav nav-pills nav-stacked" id="radio-option">
|
||||
<t t-foreach="a.value_ids" t-as="v">
|
||||
<li t-att-class="'active' if v.id in attrib_set else None">
|
||||
<div>
|
||||
@ -454,7 +454,7 @@
|
||||
</ul>
|
||||
</t>
|
||||
<t t-if="a.type == 'color'">
|
||||
<ul class="nav nav-pills nav-stacked">
|
||||
<ul class="nav nav-pills nav-stacked" id="color-option">
|
||||
<t t-foreach="a.value_ids" t-as="v">
|
||||
<label t-attf-style="background-color:#{v.html_color or v.name}"
|
||||
t-attf-class="css_attribute_color #{'active' if v.id in attrib_set else ''}">
|
||||
@ -573,7 +573,7 @@
|
||||
<t t-set="attribute_value_ids" t-value="get_attribute_value_ids(product)"/>
|
||||
<form action="/shop/cart/update" class="js_add_cart_variants" t-att-data-attribute_value_ids="attribute_value_ids" method="POST">
|
||||
<input type="hidden" name="csrf_token" t-att-value="request.csrf_token()" />
|
||||
<div class="js_product" t-if="product.product_variant_ids">
|
||||
<div class="js_product" t-if="product.product_variant_ids" id="js_product_style">
|
||||
<t t-placeholder="select">
|
||||
<input type="hidden" class="product_id" name="product_id" t-att-value="product.product_variant_id.id if len(product.product_variant_ids) == 1 else '0'" />
|
||||
<t t-call="website_sale.variants">
|
||||
@ -812,7 +812,7 @@
|
||||
<t t-foreach="variant_id.value_ids" t-as="value_id">
|
||||
<li class="form-group js_attribute_value" style="margin: 0;">
|
||||
<label class="control-label">
|
||||
<input type="radio" t-att-class="'js_variant_change' if variant_id.attribute_id.create_variant else None" t-att-checked="'checked' if not inc else None" t-att-name="'attribute-%s-%s' % (product.id, variant_id.attribute_id.id)" t-att-value="value_id.id" style="vertical-align: top; margin-right: 10px;"/>
|
||||
<input type="radio" t-att-class="'js_variant_change_full js_variant_change' if variant_id.attribute_id.create_variant else None" t-att-checked="'checked' if not inc else None" t-att-name="'attribute-%s-%s' % (product.id, variant_id.attribute_id.id)" t-att-value="value_id.id" style="vertical-align: top; margin-right: 10px;"/>
|
||||
<label t-field="value_id.name"/>
|
||||
<span class="badge" t-if="value_id.price_extra">
|
||||
<t t-esc="value_id.price_extra > 0 and '+' or ''"/><span t-field="value_id.price_extra" style="white-space: nowrap;" t-options='{
|
||||
|
Loading…
Reference in New Issue
Block a user