modalcard added samples, industriels in navtools; flag collection items open modalcard
This commit is contained in:
@ -13,7 +13,7 @@ $card_height: 295px;
|
||||
$minicard_width: 170px;
|
||||
$minicard_height: 100px;
|
||||
|
||||
$linkedmaterialcard_width: 200px;
|
||||
$linkedmaterialcard_width: 190px;
|
||||
$linkedmaterialcard_height: 110px;
|
||||
|
||||
$modalcard_width: 850px;
|
||||
|
@ -952,8 +952,18 @@ article.card{
|
||||
margin:auto;
|
||||
>header{
|
||||
padding: 0.3em 0.3em 0.1em;
|
||||
cursor: pointer;
|
||||
h1{
|
||||
margin:0;
|
||||
font-size: 1em;
|
||||
}
|
||||
h4{
|
||||
margin:0;
|
||||
line-height: 1.1;
|
||||
margin-bottom: -0.4em;
|
||||
}
|
||||
span.ref{
|
||||
line-height: 0.5;
|
||||
}
|
||||
}
|
||||
>nav.tools{
|
||||
@ -1035,13 +1045,13 @@ article.card{
|
||||
&.card-thematique header{
|
||||
background-color: $color-base-transparent;
|
||||
}
|
||||
$navtool_width: 15px;
|
||||
nav.tools{
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
z-index: 21;
|
||||
$toolbar_width: 15px;
|
||||
width: $toolbar_width;
|
||||
width: $navtool_width;
|
||||
background-color: #fff;
|
||||
box-sizing: content-box;
|
||||
padding: 0.3em 0.1em;
|
||||
@ -1057,11 +1067,11 @@ article.card{
|
||||
top: 0px;
|
||||
right: 100%;
|
||||
// width: 5em;
|
||||
width: $column_width - $toolbar_width - 10px;
|
||||
width: $column_width - $navtool_width - 10px;
|
||||
box-sizing: border-box;
|
||||
padding: 0.3em;
|
||||
padding: 0;
|
||||
background-color: #fff;
|
||||
box-shadow: -2px 3px 4px rgba(0, 0, 0, 0.2);
|
||||
box-shadow: -2px 3px 8px rgba(0, 0, 0, 0.5);
|
||||
opacity: 0;
|
||||
max-height: 0; max-width:0;
|
||||
overflow: hidden;
|
||||
@ -1071,6 +1081,7 @@ article.card{
|
||||
.tool-content{
|
||||
transition: all 0.3s ease-in-out;
|
||||
opacity: 1;
|
||||
padding: 0.3em;
|
||||
max-height: 195px;
|
||||
max-width:200px;
|
||||
}
|
||||
@ -1148,44 +1159,41 @@ article.card{
|
||||
section.col-right{
|
||||
>*:not(nav.tools){
|
||||
position: relative;
|
||||
padding: 0.5em 0.5em 0;
|
||||
padding: 0.3em $navtool_width + 5px 0 0.5em;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
}
|
||||
>header{
|
||||
bottom: auto;
|
||||
}
|
||||
// section.samples{
|
||||
// ul{
|
||||
// display: flex;
|
||||
// flex-flow: row wrap;
|
||||
// font-size: 0.882em;
|
||||
// font-weight: 300;
|
||||
// // line-height: 1.35;
|
||||
// li{
|
||||
// padding-right: 0.5em;
|
||||
// span.showroom{ font-weight: 500; }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
span.label{
|
||||
font-size: 0.693em;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
section.body{
|
||||
p{
|
||||
font-size: 0.882em;
|
||||
font-size: 0.693em;
|
||||
font-weight: 300;
|
||||
line-height: 1.35;
|
||||
margin:0 0 0.5em;
|
||||
margin:0 0 0.3em;
|
||||
}
|
||||
|
||||
}
|
||||
section.linked-materials{
|
||||
display: flex;
|
||||
flex-flow: row wrap;
|
||||
justify-content: space-between;
|
||||
>article.linkedmaterialcard{
|
||||
flex-basis: 0 0 50%;
|
||||
margin-bottom: 0.5em;
|
||||
>ul{
|
||||
display: flex;
|
||||
flex-flow: row wrap;
|
||||
justify-content: space-between;
|
||||
>li{
|
||||
flex-basis: 0 0 50%;
|
||||
margin-bottom: 0.5em;
|
||||
article.linkedmaterialcard{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
nav.tools{
|
||||
opacity: 1;
|
||||
section.close{
|
||||
@ -1193,6 +1201,42 @@ article.card{
|
||||
cursor:pointer;
|
||||
}
|
||||
}
|
||||
div.tool-content{
|
||||
min-width: $column_width *2 - $navtool_width - 10px;
|
||||
}
|
||||
}
|
||||
section.tool.samples{
|
||||
div.tool-content{
|
||||
ul{
|
||||
// display: flex;
|
||||
// flex-flow: row wrap;
|
||||
font-size: 0.882em;
|
||||
font-weight: 300;
|
||||
// line-height: 1.35;
|
||||
li{
|
||||
padding-right: 0.5em;
|
||||
span.showroom{ font-weight: 500; }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
section.tool.industriels{
|
||||
div.tool-content{
|
||||
display: flex;
|
||||
flex-flow: row;
|
||||
>section{
|
||||
flex: 0 0 50%;
|
||||
h2{
|
||||
margin:0;
|
||||
font-size: 1em;
|
||||
line-height: 0.6;
|
||||
}
|
||||
p{
|
||||
margin: 0;
|
||||
font-size: 0.882em;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user