add Thin
This commit is contained in:
@@ -0,0 +1,139 @@
|
||||
<?php
|
||||
return [
|
||||
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
|
||||
'filename' => '/mnt/data/Sites/anissabensalah.net/system/blueprints/user/account.yaml',
|
||||
'modified' => 1526367498,
|
||||
'data' => [
|
||||
'title' => 'Account',
|
||||
'form' => [
|
||||
'validation' => 'loose',
|
||||
'fields' => [
|
||||
'info' => [
|
||||
'type' => 'userinfo',
|
||||
'size' => 'large'
|
||||
],
|
||||
'avatar' => [
|
||||
'type' => 'file',
|
||||
'size' => 'large',
|
||||
'destination' => 'user://accounts/avatars',
|
||||
'multiple' => false,
|
||||
'random_name' => true
|
||||
],
|
||||
'content' => [
|
||||
'type' => 'section',
|
||||
'title' => 'PLUGIN_ADMIN.ACCOUNT',
|
||||
'underline' => true
|
||||
],
|
||||
'username' => [
|
||||
'type' => 'text',
|
||||
'size' => 'large',
|
||||
'label' => 'PLUGIN_ADMIN.USERNAME',
|
||||
'disabled' => true,
|
||||
'readonly' => true
|
||||
],
|
||||
'email' => [
|
||||
'type' => 'email',
|
||||
'size' => 'large',
|
||||
'label' => 'PLUGIN_ADMIN.EMAIL',
|
||||
'validate' => [
|
||||
'type' => 'email',
|
||||
'message' => 'PLUGIN_ADMIN.EMAIL_VALIDATION_MESSAGE',
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'password' => [
|
||||
'type' => 'password',
|
||||
'size' => 'large',
|
||||
'label' => 'PLUGIN_ADMIN.PASSWORD',
|
||||
'autocomplete' => 'new-password',
|
||||
'validate' => [
|
||||
'required' => false,
|
||||
'message' => 'PLUGIN_ADMIN.PASSWORD_VALIDATION_MESSAGE',
|
||||
'config-pattern@' => 'system.pwd_regex'
|
||||
]
|
||||
],
|
||||
'fullname' => [
|
||||
'type' => 'text',
|
||||
'size' => 'large',
|
||||
'label' => 'PLUGIN_ADMIN.FULL_NAME',
|
||||
'validate' => [
|
||||
'required' => true
|
||||
]
|
||||
],
|
||||
'title' => [
|
||||
'type' => 'text',
|
||||
'size' => 'large',
|
||||
'label' => 'PLUGIN_ADMIN.TITLE'
|
||||
],
|
||||
'language' => [
|
||||
'type' => 'select',
|
||||
'label' => 'PLUGIN_ADMIN.LANGUAGE',
|
||||
'size' => 'medium',
|
||||
'classes' => 'fancy',
|
||||
'data-options@' => '\\Grav\\Plugin\\Admin\\Admin::adminLanguages',
|
||||
'default' => 'en',
|
||||
'help' => 'PLUGIN_ADMIN.LANGUAGE_HELP'
|
||||
],
|
||||
'twofa_check' => [
|
||||
'type' => 'conditional',
|
||||
'condition' => 'config.plugins.admin.twofa_enabled',
|
||||
'fields' => [
|
||||
'twofa' => [
|
||||
'title' => 'PLUGIN_ADMIN.2FA_TITLE',
|
||||
'type' => 'section',
|
||||
'underline' => true
|
||||
],
|
||||
'twofa_enabled' => [
|
||||
'type' => 'toggle',
|
||||
'label' => 'PLUGIN_ADMIN.2FA_ENABLED',
|
||||
'classes' => 'twofa-toggle',
|
||||
'highlight' => 1,
|
||||
'default' => 0,
|
||||
'options' => [
|
||||
1 => 'PLUGIN_ADMIN.YES',
|
||||
0 => 'PLUGIN_ADMIN.NO'
|
||||
],
|
||||
'validate' => [
|
||||
'type' => 'bool'
|
||||
]
|
||||
],
|
||||
'twofa_secret' => [
|
||||
'type' => '2fa_secret',
|
||||
'outerclasses' => 'twofa-secret',
|
||||
'label' => 'PLUGIN_ADMIN.2FA_SECRET',
|
||||
'sublabel' => 'PLUGIN_ADMIN.2FA_SECRET_HELP'
|
||||
]
|
||||
]
|
||||
],
|
||||
'security' => [
|
||||
'title' => 'PLUGIN_ADMIN.ACCESS_LEVELS',
|
||||
'type' => 'section',
|
||||
'security' => 'admin.super',
|
||||
'underline' => true,
|
||||
'fields' => [
|
||||
'groups' => [
|
||||
'type' => 'select',
|
||||
'multiple' => true,
|
||||
'size' => 'large',
|
||||
'label' => 'PLUGIN_ADMIN.GROUPS',
|
||||
'data-options@' => '\\Grav\\Common\\User\\Group::groupNames',
|
||||
'classes' => 'fancy',
|
||||
'help' => 'PLUGIN_ADMIN.GROUPS_HELP',
|
||||
'validate' => [
|
||||
'type' => 'commalist'
|
||||
]
|
||||
],
|
||||
'access' => [
|
||||
'type' => 'permissions',
|
||||
'label' => 'PLUGIN_ADMIN.PERMISSIONS',
|
||||
'ignore_empty' => true,
|
||||
'validate' => [
|
||||
'type' => 'array'
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
@@ -1 +1 @@
|
||||
{"23-05-2018":157,"24-05-2018":194,"25-05-2018":212,"28-05-2018":206}
|
||||
{"23-05-2018":157,"24-05-2018":194,"25-05-2018":212,"28-05-2018":228}
|
||||
@@ -1 +1 @@
|
||||
{"05-2018":769}
|
||||
{"05-2018":791}
|
||||
@@ -1 +1 @@
|
||||
{"\/":759,"\/typography":1,"\/home\/prochaines-dates":2,"\/home\/biographie":2,"\/home\/videos":3,"\/home\/photographies":1,"\/photographies":1}
|
||||
{"\/":781,"\/typography":1,"\/home\/prochaines-dates":2,"\/home\/biographie":2,"\/home\/videos":3,"\/home\/photographies":1,"\/photographies":1}
|
||||
@@ -1 +1 @@
|
||||
{"4b84b15bff6ee5796152495a230e45e3d7e947d9":1527517670}
|
||||
{"4b84b15bff6ee5796152495a230e45e3d7e947d9":1527520543}
|
||||
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
*{box-sizing:border-box}body,html{font-size:1rem;height:100%;margin:0;padding:0}li,ol,ul{margin:0;padding:0;list-style:none}a{text-decoration:none;color:#000}blockquote,em,h1,h2,h3,li,ol,p,ul{margin:0}@font-face{font-family:Montserrat-Regular;src:url(../fonts/Montserrat/webfonts/Montserrat-Regular.eot);src:url(../fonts/Montserrat/webfonts/Montserrat-Regular.eot?#iefix) format('embedded-opentype'),url(../fonts/Montserrat/webfonts/Montserrat-Regular.woff) format('woff'),url(../fonts/Montserrat/webfonts/Montserrat-Regular.ttf) format('truetype'),url(../fonts/Montserrat/webfonts/Montserrat-Regular.svg#Montserrat-Regular) format('svg')}@font-face{font-family:Montserrat-Light;src:url(../fonts/Montserrat/webfonts/Montserrat-Light.eot);src:url(../fonts/Montserrat/webfonts/Montserrat-Light.eot?#iefix) format('embedded-opentype'),url(../fonts/Montserrat/webfonts/Montserrat-Light.woff) format('woff'),url(../fonts/Montserrat/webfonts/Montserrat-Light.ttf) format('truetype'),url(../fonts/Montserrat/webfonts/Montserrat-Light.svg#Montserrat-Light) format('svg')}body #header a{font-family:Montserrat-Regular;font-size:2.268rem;color:#fff}body #header .language-selector li:nth-child(-n+2)::after{font-size:2.268rem;content:'-';color:#fff}#header{position:fixed;z-index:999}#header .language-selector{position:fixed;left:50%;display:-ms-flexbox;display:flex;width:100px;margin-left:-100px}#header .language-selector li{display:-ms-flexbox;display:flex}#header .language-selector li:nth-child(-n+2)::after{position:relative;display:block;margin:0 10px}#header .navigation li{position:fixed;text-align:center}#header .navigation li:first-child{display:none}#header .navigation li:nth-child(2){bottom:0;width:50%}#header .navigation li:nth-child(3){top:0;width:50%}#header .navigation li:nth-child(4){right:0;bottom:0;width:50%}#header .navigation li:nth-child(5){top:50%;right:-50%;width:100%;margin-right:22px;transform:rotate(90deg)}#header .navigation li:nth-child(6){top:50%;left:-50%;width:100%;margin-left:22px;transform:rotate(-90deg)}#header .navigation li:nth-child(7){top:0;right:0;width:50%}#header .navigation li a{position:relative;margin:auto}
|
||||
*{box-sizing:border-box}body,html{font-size:1rem;height:100%;margin:0;padding:0}li,ol,ul{margin:0;padding:0;list-style:none}a{text-decoration:none;color:#000}blockquote,em,h1,h2,h3,li,ol,p,ul{margin:0}@font-face{font-family:Montserrat-Regular;src:url(../fonts/Montserrat/webfonts/Montserrat-Regular.eot);src:url(../fonts/Montserrat/webfonts/Montserrat-Regular.eot?#iefix) format('embedded-opentype'),url(../fonts/Montserrat/webfonts/Montserrat-Regular.woff) format('woff'),url(../fonts/Montserrat/webfonts/Montserrat-Regular.ttf) format('truetype'),url(../fonts/Montserrat/webfonts/Montserrat-Regular.svg#Montserrat-Regular) format('svg')}@font-face{font-family:Montserrat-Light;src:url(../fonts/Montserrat/webfonts/Montserrat-Light.eot);src:url(../fonts/Montserrat/webfonts/Montserrat-Light.eot?#iefix) format('embedded-opentype'),url(../fonts/Montserrat/webfonts/Montserrat-Light.woff) format('woff'),url(../fonts/Montserrat/webfonts/Montserrat-Light.ttf) format('truetype'),url(../fonts/Montserrat/webfonts/Montserrat-Light.svg#Montserrat-Light) format('svg')}@font-face{font-family:Montserrat-Thin;src:url(../fonts/Montserrat/webfonts/Montserrat-Thin.eot);src:url(../fonts/Montserrat/webfonts/Montserrat-Thin.eot?#iefix) format('embedded-opentype'),url(../fonts/Montserrat/webfonts/Montserrat-Thin.woff) format('woff'),url(../fonts/Montserrat/webfonts/Montserrat-Thin.ttf) format('truetype'),url(../fonts/Montserrat/webfonts/Montserrat-Thin.svg#Montserrat-Thin) format('svg')}body #header a{font-family:Montserrat-Regular;font-size:2.268rem;color:#fff}body #header .language-selector li:nth-child(-n+2)::after{font-size:2.268rem;content:'-';color:#fff}body #start #home h1{font-family:Montserrat-Thin;font-size:33vw}#header{position:fixed;z-index:999}#header .language-selector{position:fixed;left:50%;display:-ms-flexbox;display:flex;width:100px;margin-left:-100px}#header .language-selector li{display:-ms-flexbox;display:flex}#header .language-selector li:nth-child(-n+2)::after{position:relative;display:block;margin:0 10px}#header .navigation li{position:fixed;text-align:center}#header .navigation li:first-child{display:none}#header .navigation li:nth-child(2){bottom:0;width:50%}#header .navigation li:nth-child(3){top:0;width:50%}#header .navigation li:nth-child(4){right:0;bottom:0;width:50%}#header .navigation li:nth-child(5){top:50%;right:-50%;width:100%;margin-right:22px;transform:rotate(90deg)}#header .navigation li:nth-child(6){top:50%;left:-50%;width:100%;margin-left:22px;transform:rotate(-90deg)}#header .navigation li:nth-child(7){top:0;right:0;width:50%}#header .navigation li a{position:relative;margin:auto}
|
||||
@@ -65,6 +65,35 @@ $category: "sans-serif";
|
||||
}
|
||||
}
|
||||
|
||||
$Thin: "Montserrat-Thin";
|
||||
$family: "Montserrat/webfonts";
|
||||
$file-Thin: "Montserrat-Thin";
|
||||
$category: "sans-serif";
|
||||
|
||||
@mixin Montserrat-Thin($Thin, $file-Thin, $family, $category:"") {
|
||||
$filepath: "../fonts/" + $family + "/" + $file-Thin;
|
||||
@font-face {
|
||||
font-family: "#{$Thin}";
|
||||
src: url($filepath + ".eot");
|
||||
src: url($filepath + ".eot?#iefix") format('embedded-opentype'),
|
||||
url($filepath + ".woff") format('woff'),
|
||||
url($filepath + ".ttf") format('truetype'),
|
||||
url($filepath + ".svg#" + $Thin + "") format('svg');
|
||||
}
|
||||
|
||||
%#{$Thin} {
|
||||
font: {
|
||||
@if $category != "" {
|
||||
family: "#{$Thin}", #{$category};
|
||||
}
|
||||
@else {
|
||||
family: "#{$Thin}";
|
||||
weight: normal;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// font-size
|
||||
$font16: 1rem;
|
||||
$font18: 1.134rem;
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
@include Montserrat-Regular($Regular, $file-regular, $family, $category);//1
|
||||
@include Montserrat-light($light, $file-light, $family, $category);//1
|
||||
@include Montserrat-Thin($Thin, $file-Thin, $family, $category);//1
|
||||
|
||||
body{
|
||||
#header{
|
||||
@@ -20,4 +21,12 @@ body{
|
||||
}
|
||||
}
|
||||
}
|
||||
#start{
|
||||
#home{
|
||||
h1{
|
||||
font-family: $Thin;
|
||||
font-size: 33vw;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
.navigation{
|
||||
li{
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
#start{
|
||||
// & > div{
|
||||
// width: 100%;
|
||||
// height: 100vh;
|
||||
// img{
|
||||
// width: 100%;
|
||||
// }
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user