mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
[enh] Messages sizes, logo position and icon font.
This commit is contained in:
parent
a90f6c2312
commit
c222132010
6 changed files with 32 additions and 32 deletions
|
@ -1,8 +1,10 @@
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'icomoon';
|
font-family: 'ynh_ssowat';
|
||||||
src:url('../fonts/icomoon.eot?-w1vs4');
|
src: url('../fonts/ynh_ssowat/ynh_ssowat.eot?97758757');
|
||||||
src:url('../fonts/icomoon.eot?#iefix-w1vs4') format('embedded-opentype'),
|
src: url('../fonts/ynh_ssowat/ynh_ssowat.eot?97758757#iefix') format('embedded-opentype'),
|
||||||
url('../fonts/icomoon.ttf?-w1vs4') format('truetype');
|
url('../fonts/ynh_ssowat/ynh_ssowat.woff?97758757') format('woff'),
|
||||||
|
url('../fonts/ynh_ssowat/ynh_ssowat.ttf?97758757') format('truetype'),
|
||||||
|
url('../fonts/ynh_ssowat/ynh_ssowat.svg?97758757#ynh_ssowat') format('svg');
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,19 +43,19 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo img {
|
.logo img {
|
||||||
border-radius: 5px;
|
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
width: 4em;
|
width: 4em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.logged .logo {
|
.logged .logo {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 0;
|
bottom: 1em;
|
||||||
right: 1em;
|
right: 1em;
|
||||||
z-index: 0;
|
z-index: 0;
|
||||||
opacity: 0.7;
|
opacity: 0.7;
|
||||||
}
|
}
|
||||||
.logged .logo img {
|
.logged .logo img {
|
||||||
|
margin-top: 0;
|
||||||
width: 2.5em;
|
width: 2.5em;
|
||||||
padding: 0.3em;
|
padding: 0.3em;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
|
@ -73,6 +73,12 @@ body {
|
||||||
.messages {
|
.messages {
|
||||||
max-width: none;
|
max-width: none;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
width: 21em;
|
||||||
|
margin: 2% auto;
|
||||||
|
padding: 1.5em 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logged .messages {
|
||||||
width: 90%;
|
width: 90%;
|
||||||
margin: 2% 5%;
|
margin: 2% 5%;
|
||||||
padding: 1.5em 15%;
|
padding: 1.5em 15%;
|
||||||
|
@ -121,7 +127,7 @@ textarea {
|
||||||
/* Icons */
|
/* Icons */
|
||||||
|
|
||||||
[class^="icon-"]:before, [class*=" icon-"]:before {
|
[class^="icon-"]:before, [class*=" icon-"]:before {
|
||||||
font-family: 'icomoon';
|
font-family: 'ynh_ssowat';
|
||||||
speak: none;
|
speak: none;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
|
@ -135,31 +141,9 @@ textarea {
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-user:before {
|
.icon-user:before { content: '\e801'; }
|
||||||
content: "\e800";
|
.icon-lock:before { content: '\e800'; }
|
||||||
}
|
.icon-connexion:before { content: '\e802'; }
|
||||||
.icon-lock:before {
|
|
||||||
content: "\e801";
|
|
||||||
}
|
|
||||||
.icon-left-open:before {
|
|
||||||
content: "\e802";
|
|
||||||
}
|
|
||||||
.icon-right-open-1:before {
|
|
||||||
content: "\e803";
|
|
||||||
}
|
|
||||||
.icon-upload:before {
|
|
||||||
content: "\e604";
|
|
||||||
}
|
|
||||||
.icon-comments:before {
|
|
||||||
content: "\e602";
|
|
||||||
}
|
|
||||||
.icon-envelope:before {
|
|
||||||
content: "\e603";
|
|
||||||
}
|
|
||||||
.icon-connexion:before {
|
|
||||||
content: "\e600";
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* ==========================================================================
|
/* ==========================================================================
|
||||||
|
|
BIN
portal/assets/fonts/ynh_ssowat/ynh_ssowat.eot
Normal file
BIN
portal/assets/fonts/ynh_ssowat/ynh_ssowat.eot
Normal file
Binary file not shown.
14
portal/assets/fonts/ynh_ssowat/ynh_ssowat.svg
Normal file
14
portal/assets/fonts/ynh_ssowat/ynh_ssowat.svg
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
<?xml version="1.0" standalone="no"?>
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<metadata>Copyright (C) 2014 by original authors @ fontello.com</metadata>
|
||||||
|
<defs>
|
||||||
|
<font id="ynh_ssowat" horiz-adv-x="1000" >
|
||||||
|
<font-face font-family="ynh_ssowat" font-weight="400" font-stretch="normal" units-per-em="1000" ascent="850" descent="-150" />
|
||||||
|
<missing-glyph horiz-adv-x="1000" />
|
||||||
|
<glyph glyph-name="user" unicode="" d="m786 66q0-67-41-106t-108-39h-488q-67 0-108 39t-41 106q0 30 2 58t8 61 15 60 24 55 34 45 48 30 62 11q5 0 24-12t41-27 60-27 75-12 74 12 61 27 41 27 24 12q34 0 62-11t48-30 34-45 24-55 15-60 8-61 2-58z m-179 498q0-88-63-151t-151-63-152 63-62 151 62 152 152 63 151-63 63-152z" horiz-adv-x="785.7" />
|
||||||
|
<glyph glyph-name="lock" unicode="" d="m179 421h285v108q0 59-42 101t-101 41-101-41-41-101v-108z m464-53v-322q0-22-16-37t-38-16h-535q-23 0-38 16t-16 37v322q0 22 16 38t38 15h17v108q0 102 74 176t176 74 177-74 73-176v-108h18q23 0 38-15t16-38z" horiz-adv-x="642.9" />
|
||||||
|
<glyph glyph-name="off" unicode="" d="m857 350q0-87-34-166t-91-137-137-92-166-34-167 34-136 92-92 137-34 166q0 102 45 191t126 151q24 18 54 14t46-28q18-23 14-53t-28-47q-54-41-84-101t-30-127q0-58 22-111t62-91 91-61 111-23 110 23 92 61 61 91 22 111q0 68-30 127t-84 101q-24 18-28 47t14 53q17 24 47 28t53-14q81-61 126-151t45-191z m-357 429v-358q0-29-21-50t-50-21-51 21-21 50v358q0 29 21 50t51 21 50-21 21-50z" horiz-adv-x="857.1" />
|
||||||
|
</font>
|
||||||
|
</defs>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 1.5 KiB |
BIN
portal/assets/fonts/ynh_ssowat/ynh_ssowat.ttf
Normal file
BIN
portal/assets/fonts/ynh_ssowat/ynh_ssowat.ttf
Normal file
Binary file not shown.
BIN
portal/assets/fonts/ynh_ssowat/ynh_ssowat.woff
Normal file
BIN
portal/assets/fonts/ynh_ssowat/ynh_ssowat.woff
Normal file
Binary file not shown.
Loading…
Reference in a new issue