Skip to content
Snippets Groups Projects
Commit 5916b919 authored by fred's avatar fred
Browse files

work dashboard mentor

parent ff1bd1f1
No related branches found
No related tags found
1 merge request!53work dashboard mentor
......@@ -118,12 +118,15 @@ sib-widget(name='cs-section_introduction')
sib-widget(name='cs-account-picture')
template
figure.avatar
img(name="${name}", src="\${value || '/images/alien.jpg'}", alt="Coopstarter")
img(name="${name}", src="\${value || '/images/alien.jpg'}", alt="Profile picture")
sib-widget(name='cs-profile-picture')
template
img(name="${name}", src="\${value || '/images/alien.jpg'}", alt="Coopstarter")
img(name="${name}", src="\${value || '/images/alien.jpg'}", alt="Profile picture")
sib-widget(name='cs-preview-picture')
template
img(name="${name}", src="\${value || '/images/alien.jpg'}", alt="Preview of the resource")
sib-widget(name="hidden-widget")
template
......
This diff is collapsed.
......@@ -35,7 +35,7 @@ include ../../components/widgets
widget-language.name='cs-display-resource-property'
widget-submitter.account.picture='cs-account-picture'
widget-broken='cs-broken-action'
widget-preview_image='cs-profile-picture'
widget-preview_image='cs-preview-picture'
widget-review.reviewer.account.picture='cs-account-picture'
widget-review.reviewer.name='cs-resource-reviewer'
class-review.reviewer.name="validator_ressource"
......
......@@ -129,7 +129,7 @@ function selectHiddenManagementForType(tab, form) {
jQuery(document).ready(function($) {
//Refresh pagination
refreshPagination();
console.log('toto');
// Get the element with id="defaultOpen" and click on it
document.getElementById("defaultOpen").click();
......
......@@ -346,7 +346,7 @@ p{
/* XXXXXXXXXXXXXXXXXXXXXXXXXXXX ICONES XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*/
.ico_gauche, #mentor-resource-detail a{
.ico_gauche, #mentor-resource-detail a, #entrepreneur-resource-list cs-display-property[name="name"] p{
padding-left: 3.5rem;
position: relative;
}
......@@ -355,7 +355,7 @@ p{
position: relative;
}
.ico_gauche:before,ico_droite:before, #mentor-resource-detail a:before{
.ico_gauche:before,ico_droite:before, #mentor-resource-detail a:before,#entrepreneur-resource-list cs-display-property[name="name"] p:before{
font-family: "Font Awesome 5 pro";
font-weight: 900;
position : absolute;
......@@ -385,6 +385,13 @@ ico_droite:before{
.ico_arrow:before{
content: "\f061";
}
#entrepreneur-resource-list cs-display-property[name="name"] p:before{
content:"\f005";
left: 0.4rem;
top: 0.2rem;
font-size: 1.1rem;
color: #5DC6F2;
}
/*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXx FIN ICONE XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*/
......@@ -546,12 +553,19 @@ form .ss-main .ss-multi-selected .ss-values .ss-value{
color: #818998;
font-weight: lighter;
}
.ss-list.checkbox .ss-option, .ss-list.checkbox input{
.ss-list.checkbox .ss-option, .ss-list.checkbox label{
position: relative;
font-weight: lighter;
}
.ss-list.checkbox .ss-option:before, , .ss-list.checkbox input:before {
.ss-list.checkbox label{
font-family: "var(--typo-btn)";
font-size: 1.5rem;
top: 2rem;
left: .5rem;
}
.ss-list.checkbox .ss-option:before, .ss-list.checkbox label:before {
content: "";
position : absolute;
display: block;
......@@ -561,8 +575,9 @@ form .ss-main .ss-multi-selected .ss-values .ss-value{
border-radius: 3px;
left: -2.5rem;
top: .9rem;
cursor: pointer;
}
.ss-list.checkbox .ss-option.active:after, , .ss-list.checkbox input:after {
.ss-list.checkbox .ss-option.active:after, .ss-list.checkbox label:focus:after {
font-family: "Font Awesome 5 pro";
font-weight: 900;
content: "\f00C";
......@@ -573,6 +588,19 @@ form .ss-main .ss-multi-selected .ss-values .ss-value{
left: -1.95rem;
top: .9rem;
}
.ss-list.checkbox label:before{
left: -3rem;
top: 0;
}
.ss-list.checkbox label:focus:after{
left: -2.6rem;
top: 0;
}
.ss-list.checkbox label:not(:focus):after
.ss-list.checkbox label+input[type="checkbox"]{
position: absolute;
left: -10000rem;
}
/* XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
......@@ -725,13 +753,88 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*/
padding-top: 3.5rem;
input[name="keyword"]{
float: left;
width: 80%;
width: 76%;
}
#keyword_submit{
#keyword_submit div{
float: right;
margin-top: 0;
width: 20%;
top: -1rem;
}
cs-section_header[name="header_criterias"] h2.title_form{
font-family: 'var(--typo-btn)';
font-size: 1.4rem;
color: var(--clr-typo-base);
border-bottom: 1px solid #DBE2ED;
margin: 5rem 0 2rem 0;
padding-bottom: .5rem;
}
.tablink{
width: 50%;
}
.tablink+.block_log{
background: none;
padding: var(--marge-base) 0;
}
.step{
background: white;
-webkit-box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.13);
-moz-box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.13);
box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.13);
padding: 2rem;
margin-bottom: 1.5rem;
cs-display-property[name="publication_year"] p{
font-size: 1.4rem;
font-weight: bold;
margin-bottom: 1rem;
}
cs-display-property p{
margin-bottom: 0;
}
cs-display-multiple-property[name="format"] p{
border-radius: 5px;
background-color: #5DC6F2;
padding: .5rem;
font-family: 'var(--typo-btn)';
color: var(--bg-block);
text-decoration: none;
text-align: center;
font-size: 1.4rem;
border:2px solid #5DC6F2;
cursor: pointer;
display: inline-block;
margin: .5rem;
transition: .4s all ease-in;
}
cs-display-multiple-property[name="format"] p:hover{
background-color: var(--bg-block);
color: #5DC6F2;
}
div sib-display div{
padding: 1.5rem;
}
div sib-display:nth-child(odd) div{
background: #F7F9FE;
}
div sib-display:nth-child(even) div{
background: white;
}
cs-steps-header p{
margin-bottom: 1.5rem;
b{
text-transform: uppercase;
}
}
}
}
#entrepreneur-resource-list cs-display-property[name="name"] p{
font-size: 1.6rem;
color: var(--clr-roll-black);
padding-left: 2.5rem;
}
#more_criterias.flex.flex_espace{
width: 100%;
}
/* XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
......@@ -835,7 +938,25 @@ div .tit_element_list{
color: var(--clr-roll-black);
font-size: 1.6rem;
}
#resources-history {
sib-set-default{
margin-bottom: 4rem;
}
hidden-widget{
display: none;
}
cs-section_header[name="header_criterias"] h2.title_form{
font-family: 'var(--typo-btn)';
font-size: 1.4rem;
color: var(--clr-typo-base);
border-bottom: 1px solid #DBE2ED;
margin: 5rem 0 2rem 0;
padding-bottom: .5rem;
}
}
sib-display#pending-resources div{
clear: both;
}
.contenu_list{
height: 0;
}
......@@ -890,7 +1011,9 @@ sib-multiple label, cs-resource-status[name="review.status"]+*{
display:flex;
justify-content: space-between;
}
#reviews .backlink{
margin: 0;
}
#pending-resources {
sib-set-default[name="content"] sib-display-value{
font-size: 1.6rem;
......@@ -928,6 +1051,18 @@ sib-multiple label, cs-resource-status[name="review.status"]+*{
position: relative;
top: 35%;
}
#requests sib-multiple{
margin-right: 7rem;
label, cs-display-multiple-property[name="fields"] p{
color: var(--clr-typo-base);
font-size: 1.4rem;
margin: 0 1rem 0 0;
font-family: 'var(--typo-btn)';
}
cs-display-multiple-property[name="fields"]{
float: left;
}
}
/*XXXXXXXXXXXXXXXXXXXXX DETAIL RESSOURCES XXXXXXXXXXXXXXXXXXXXXXXXXXXXX*/
cs-display-step-property[label="Step"] p{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment