Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

septembre16-20 custom/themes #2152

Merged
merged 8 commits into from
Nov 21, 2024
20 changes: 17 additions & 3 deletions src/app/custom/themes/inist/css/inist-styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,11 @@ body {
display: flex;
flex-direction: column;
background-image: url('../img/bg_projets.jpg');
background-repeat: repeat-x;
background-position: top left;
background-repeat: no-repeat;
background-position: top center;
opacity: 1;
gap: 0 !important;
background-size: contain;
}
/*header theme inist*/
header {
Expand Down Expand Up @@ -384,6 +385,9 @@ ul.MuiList-root.facets-list {
padding-right: 8px !important;
flex: 1.2;
}
.css-1ikxdbu-MuiButtonBase-root-MuiCheckbox-root {
padding: 2px !important;
}
/*facette filtre*/
ul.MuiList-root.facets-list > li {
background-color: transparent;
Expand Down Expand Up @@ -414,14 +418,24 @@ ul.MuiList-root.facets-list
svg {
font-size: 1.8rem;
}
/*facet flitre list valeurs */
/*facet filtre list valeurs */
ul.MuiList-root.facets-list > li .facet-value-list {
padding: 8px 16px 16px;
background-color: var(--contrast-main);
}
ul.MuiList-root.facets-list > li .facet-value-list svg {
font-size: 1.8rem;
}
/*facet input search filtre */
.facet-value-list .MuiInput-root {
border: 1px solid var(--primary-main) !important;
border-radius: 4px;
background-color: var(--background-default);
padding: 1px 2px;
}
.facet-value-list input[value*=''] {
color: var(--primary-main);
}
/*drawer search-result*/
.search.search-container .search-content {
background-color: white !important;
Expand Down
2 changes: 1 addition & 1 deletion src/app/custom/themes/istex/css/istex.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ body {
--font-titre: Montserrat, Arial, Helvetica, sans-serif;
--font-titre-medium: Montserrat Medium, Arial, Helvetica, sans-serif;
--font-texte: Inter, Arial, Helvetica, sans-serif;
--maxWidth: 1700px; /* .css-19r6kue-MuiContainer-root 19.08.2024*/
--maxWidth: 1200px; /* .css-19r6kue-MuiContainer-root 19.08.2024*/

--canard0: #458ca5; /*canard 0 */
--canard-1: #31768f; /*canard -1*/
Expand Down
71 changes: 59 additions & 12 deletions src/app/custom/themes/voscouleurs/css/styles.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
@font-face {
font-family: 'Quicksand';
font-display: swap;
src: url(../font/Quicksand/Quicksand-VariableFont_wght.ttf)
format('ttf-variations');
font-weight: 125 950;
font-stretch: 75% 125%;
font-style: oblique 0deg 20deg;
}
*,
*::before,
*::after {
Expand Down Expand Up @@ -35,20 +44,36 @@
/*bgBody + text*/
body {
background-color: var(--bgBody);
background-image: var(--bgBodyUrl);
background-position: top center;
background-repeat: no-repeat;
background-size: contain;
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji',
'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
font-size: 14px;
font-weight: 400;
line-height: 1.5;
}
body * {
font-family:
Quicksand,
-apple-system,
BlinkMacSystemFont,
'Segoe UI',
Roboto,
'Helvetica Neue',
Arial,
'Noto Sans',
sans-serif,
'Apple Color Emoji',
'Segoe UI Emoji',
'Segoe UI Symbol',
'Noto Color Emoji';
font-optical-sizing: auto;
font-variation-settings: 'GRAD' 88;
-webkit-text-size-adjust: 100%;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
color: var(--text) !important;
}
/*bgHeader + --titleHeader*/
header {
background: var(--bgHeader);
background-color: var(--bgHeader);
}
header #banner.container {
display: flex;
Expand All @@ -57,6 +82,7 @@ header #banner.container {
gap: 5%;
height: max-content;
margin: 10px auto;
padding: 0;
}
#banner h1,
#banner p {
Expand All @@ -68,7 +94,7 @@ header a.logo,
header a.logo img {
flex: 1;
}
header #banner :last-child {
header #banner > :last-child {
flex: 3;
text-align: center;
}
Expand All @@ -81,15 +107,19 @@ header #banner :last-child {
.container-fluid {
width: 100%;
max-width: var(--maxWidthXl);
min-width: 360px;
margin-right: auto;
margin-left: auto;
padding-left: 0.5rem;
padding-right: 0.5rem;
padding-left: 2rem !important;
padding-right: 2rem !important;
padding-top: 2rem;
padding-bottom: 2rem;
}
/*bgContent*/
#content .container {
padding: 30px 50px !important;
background-color: transparent;
background-color: var(--bgContent);
font-size: 1.2rem;
}
.drawer .search-content {
padding-left: 1rem;
Expand All @@ -100,7 +130,17 @@ header #banner :last-child {
.graph-facets {
background-color: var(--bgFacet) !important;
}
/*logo lodex*/
/* nav lodex */
#root nav {
box-shadow: 0px -3px 3px rgba(0, 0, 0, 0.2);
}
nav .container {
padding-left: 0.5rem !important;
padding-right: 0.5rem !important;
color: initial;
fill: initial;
}
/*nav logo lodex*/
nav.nav-bar-menu div.nav-bar-container > img {
display: none;
}
Expand All @@ -124,6 +164,13 @@ h2 {
font-family: var(--font-titleGraph) !important;
font-size: var(--fontSize-titleGraph) !important;
}
/*etiquette*/
.property_label {
color: var(--titleGraph) !important;
text-transform: lowercase;
font-stretch: ultra-condensed;
font-weight: 450 !important;
}
/*link in text*/
a {
color: var(--text);
Expand Down
93 changes: 93 additions & 0 deletions src/app/custom/themes/voscouleurs/font/Quicksand/OFL.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
Copyright 2011 The Quicksand Project Authors (https://github.com/andrew-paglinawan/QuicksandFamily), with Reserved Font Name “Quicksand”.

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:
https://openfontlicense.org


-----------------------------------------------------------
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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[ZoneTransfer]
ZoneId=3
ReferrerUrl=C:\Users\CREUSOTH\Documents\0-Developpement\00-Appli inist\lodex\Quicksand.zip
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[ZoneTransfer]
ZoneId=3
ReferrerUrl=C:\Users\CREUSOTH\Documents\0-Developpement\00-Appli inist\lodex\Quicksand.zip
67 changes: 67 additions & 0 deletions src/app/custom/themes/voscouleurs/font/Quicksand/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
Quicksand Variable Font
=======================

This download contains Quicksand as both a variable font and static fonts.

Quicksand is a variable font with this axis:
wght

This means all the styles are contained in a single file:
Quicksand-VariableFont_wght.ttf

If your app fully supports variable fonts, you can now pick intermediate styles
that aren’t available as static fonts. Not all apps support variable fonts, and
in those cases you can use the static font files for Quicksand:
static/Quicksand-Light.ttf
static/Quicksand-Regular.ttf
static/Quicksand-Medium.ttf
static/Quicksand-SemiBold.ttf
static/Quicksand-Bold.ttf

Get started
-----------

1. Install the font files you want to use

2. Use your app's font picker to view the font family and all the
available styles

Learn more about variable fonts
-------------------------------

https://developers.google.com/web/fundamentals/design-and-ux/typography/variable-fonts
https://variablefonts.typenetwork.com
https://medium.com/variable-fonts

In desktop apps

https://theblog.adobe.com/can-variable-fonts-illustrator-cc
https://helpx.adobe.com/nz/photoshop/using/fonts.html#variable_fonts

Online

https://developers.google.com/fonts/docs/getting_started
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide
https://developer.microsoft.com/en-us/microsoft-edge/testdrive/demos/variable-fonts

Installing fonts

MacOS: https://support.apple.com/en-us/HT201749
Linux: https://www.google.com/search?q=how+to+install+a+font+on+gnu%2Blinux
Windows: https://support.microsoft.com/en-us/help/314960/how-to-install-or-remove-a-font-in-windows

Android Apps

https://developers.google.com/fonts/docs/android
https://developer.android.com/guide/topics/ui/look-and-feel/downloadable-fonts

License
-------
Please read the full license text (OFL.txt) to understand the permissions,
restrictions and requirements for usage, redistribution, and modification.

You can use them in your products & projects – print or digital,
commercial or otherwise.

This isn't legal advice, please consider consulting a lawyer and see the full
license for all details.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[ZoneTransfer]
ZoneId=3
ReferrerUrl=C:\Users\CREUSOTH\Documents\0-Developpement\00-Appli inist\lodex\Quicksand.zip
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[ZoneTransfer]
ZoneId=3
ReferrerUrl=C:\Users\CREUSOTH\Documents\0-Developpement\00-Appli inist\lodex\Quicksand.zip
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[ZoneTransfer]
ZoneId=3
ReferrerUrl=C:\Users\CREUSOTH\Documents\0-Developpement\00-Appli inist\lodex\Quicksand.zip
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[ZoneTransfer]
ZoneId=3
ReferrerUrl=C:\Users\CREUSOTH\Documents\0-Developpement\00-Appli inist\lodex\Quicksand.zip
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[ZoneTransfer]
ZoneId=3
ReferrerUrl=C:\Users\CREUSOTH\Documents\0-Developpement\00-Appli inist\lodex\Quicksand.zip
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[ZoneTransfer]
ZoneId=3
ReferrerUrl=C:\Users\CREUSOTH\Documents\0-Developpement\00-Appli inist\lodex\Quicksand.zip
Loading
Loading