382 lines
6.0 KiB
SCSS
382 lines
6.0 KiB
SCSS
// job offers
|
|
// .new-job-offer {
|
|
// @extend %button;
|
|
// text-transform: uppercase;
|
|
// margin-left: 1em;
|
|
// margin-bottom: 1em
|
|
// //float: right;
|
|
// }
|
|
|
|
|
|
#offers-list {
|
|
> div {
|
|
> sib-display {
|
|
display: block;
|
|
margin: 1em 0;
|
|
@extend %frame;
|
|
padding: 2em;
|
|
/*&:nth-child(odd) {
|
|
background-color: $color-grey-light;
|
|
}*/
|
|
sib-display-div[name='title'] {
|
|
display: block;
|
|
@extend h2;
|
|
}
|
|
label {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
[name='user-thumb'] {
|
|
display: flex;
|
|
align-items: center;
|
|
margin: -0.25em;
|
|
> * {
|
|
margin: 0.25em;
|
|
}
|
|
sib-display-img {
|
|
width: 2.5em;
|
|
height: 2.5em;
|
|
overflow: hidden;
|
|
border-radius: 100%;
|
|
}
|
|
}
|
|
|
|
[name='date'] {
|
|
float: right;
|
|
display: flex;
|
|
align-items: center;
|
|
margin: -0.25em;
|
|
> * {
|
|
margin: 0.25em;
|
|
}
|
|
strong {
|
|
@extend %button;
|
|
}
|
|
}
|
|
|
|
// skills
|
|
#member-profile sib-display-lookuplist,
|
|
#profiles-list sib-display-lookuplist,
|
|
sib-display-lookuplist {
|
|
&[name$='skills'] {
|
|
display: block;
|
|
ul,
|
|
li {
|
|
display: block;
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
ul {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
margin: 1em -0.25em;
|
|
}
|
|
li {
|
|
padding: 0.5em 1em;
|
|
border: 1px solid;
|
|
border-radius: 0.25em;
|
|
margin: 0.25em;
|
|
}
|
|
}
|
|
}
|
|
|
|
// group
|
|
#group-profile {
|
|
sib-display-div[name='name'] div {
|
|
@extend h1;
|
|
}
|
|
sib-display-div[name='label-description'] div {
|
|
@extend h2;
|
|
}
|
|
}
|
|
// chat
|
|
|
|
.chat-view {
|
|
padding: 1em;
|
|
position: relative;
|
|
z-index: 0;
|
|
@extend %frame;
|
|
height: 400px;
|
|
height: calc(100vh - 143px - 3em);
|
|
height: calc(100vh - var(--pos-top, 143px) - 3em);
|
|
> sib-chat {
|
|
@include pos();
|
|
}
|
|
}
|
|
|
|
// member-profile && members
|
|
.members-list-condensed {
|
|
display: block;
|
|
img {
|
|
width: 50px;
|
|
height: 50px;
|
|
border-radius: 100%;
|
|
object-fit: cover;
|
|
object-position: top;
|
|
}
|
|
label {
|
|
display: none;
|
|
}
|
|
> div > sib-display > div {
|
|
margin: 1em 0;
|
|
display: flex;
|
|
}
|
|
ul {
|
|
padding-left: 1em;
|
|
}
|
|
}
|
|
|
|
#profiles-list > div > sib-display {
|
|
cursor: pointer;
|
|
}
|
|
sib-display#member-info,
|
|
#profiles-list > div > sib-display {
|
|
display: block;
|
|
position: relative;
|
|
@extend %frame;
|
|
padding: 1em;
|
|
|
|
label {
|
|
display: none;
|
|
}
|
|
sib-display-img {
|
|
$width: 55%;
|
|
display: block;
|
|
position: relative;
|
|
width: $width;
|
|
padding-bottom: $width;
|
|
height: 0;
|
|
margin: 2em auto;
|
|
img {
|
|
display: block;
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 100%;
|
|
object-fit: cover;
|
|
object-position: center;
|
|
}
|
|
}
|
|
|
|
div[name='header'] {
|
|
// border-top: 2em solid $color-grey-light;
|
|
border-bottom: 1px solid $color-grey-light;
|
|
padding-bottom: 1em;
|
|
margin: -0.5em;
|
|
padding: 0.5em;
|
|
margin-bottom: 1em;
|
|
text-align: center;
|
|
}
|
|
hdapp-userinfo {
|
|
@extend h1;
|
|
}
|
|
div[name='pseudonym'] {
|
|
div {
|
|
display: inline;
|
|
}
|
|
}
|
|
[name=infos]{
|
|
margin: 2em 0;
|
|
>*{
|
|
display: block;
|
|
margin: 0.5em 0;
|
|
}
|
|
}
|
|
ul[name$='roles'] * {
|
|
@include icon('user');
|
|
}
|
|
ul[name$='cell'] * {
|
|
@include icon('location-pin');
|
|
}
|
|
sib-display-mailto {
|
|
display: block;
|
|
@include icon('envelope');
|
|
}
|
|
sib-display-tel {
|
|
display: block;
|
|
@include icon('phone');
|
|
}
|
|
hdapp-hyperlink {
|
|
display: block;
|
|
@include icon('link');
|
|
}
|
|
|
|
sib-display-div[name$='foaf:homepage'] * {
|
|
@include icon('link');
|
|
}
|
|
}
|
|
|
|
hdapp-available {
|
|
display: block;
|
|
text-align: right;
|
|
strong {
|
|
@extend %button;
|
|
}
|
|
}
|
|
|
|
#profiles-list {
|
|
display: block;
|
|
> div {
|
|
display: grid;
|
|
margin-top: 1em;
|
|
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
|
grid-gap: 1em;
|
|
}
|
|
}
|
|
#profiles-list>sib-form>form{
|
|
display: grid;
|
|
grid-template-columns: 50% 50%;
|
|
label{
|
|
flex-basis :5em;
|
|
flex-shrink: 0;
|
|
}
|
|
input{
|
|
flex-grow:1;
|
|
min-width:0;
|
|
}
|
|
input[type="submit"]{
|
|
display: none
|
|
}
|
|
}
|
|
|
|
#offers-list>sib-form>form{
|
|
display: grid;
|
|
grid-template-columns: 50% 50%;
|
|
label{
|
|
flex-basis :5em;
|
|
flex-shrink: 0;
|
|
}
|
|
input{
|
|
flex-grow:1;
|
|
min-width:0;
|
|
}
|
|
input[type="submit"]{
|
|
display: none
|
|
}
|
|
}
|
|
|
|
#member-profile,
|
|
#profiles-list {
|
|
ul {
|
|
@include list-reset();
|
|
}
|
|
}
|
|
#member-profile {
|
|
@include media('width>tablet') {
|
|
div[name='header'] {
|
|
float: left;
|
|
width: 50%;
|
|
}
|
|
}
|
|
div[name='name'] {
|
|
@extend h1;
|
|
div {
|
|
display: inline-block;
|
|
margin-right: 0.4em;
|
|
}
|
|
}
|
|
div[name='pseudonym'] {
|
|
margin-top: -1em;
|
|
margin-bottom: 1em;
|
|
}
|
|
#member-info {
|
|
&:after {
|
|
content: '';
|
|
display: block;
|
|
clear: both;
|
|
}
|
|
}
|
|
}
|
|
|
|
// projects
|
|
#project-profile {
|
|
div[name^='label-'] {
|
|
@extend h2;
|
|
}
|
|
[name='title'] {
|
|
@extend h1;
|
|
> sib-display-div {
|
|
display: inline-block;
|
|
}
|
|
div[name='number'] {
|
|
padding-right: 0.5em;
|
|
&:before {
|
|
content: '#';
|
|
}
|
|
}
|
|
div[name='name'] {
|
|
font-weight: normal;
|
|
&:before {
|
|
padding: 0 0.5em;
|
|
content: '/';
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
.right-link{
|
|
padding: 0.5em;
|
|
margin-bottom: 1em;
|
|
margin-left: 1em;
|
|
flex-basis: content;
|
|
border-radius: 2em;
|
|
sib-trigger{
|
|
padding-left: 1em;
|
|
}
|
|
}
|
|
|
|
.how-link{
|
|
@extend .right-link;
|
|
background-color: $color-white;
|
|
color: $color-black;
|
|
.icon-idea{
|
|
background-color: $color-yellow-light;
|
|
border-radius :100%;
|
|
flex-shrink: 0;
|
|
flex-grow: 0;
|
|
justify-content: center;
|
|
align-items: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 1.8em;
|
|
height: 1.8em;
|
|
}
|
|
sib-trigger{
|
|
padding-left: 1em;
|
|
width: 12em;
|
|
}
|
|
}
|
|
|
|
.action-link{
|
|
@extend .right-link;
|
|
background-color: $color-yellow;
|
|
color: $color-white;
|
|
font-weight: bold;
|
|
text-transform: uppercase;
|
|
.icon-plus{
|
|
flex-shrink: 0;
|
|
flex-grow: 0;
|
|
justify-content: center;
|
|
align-items: center;
|
|
display: flex;
|
|
&:before {
|
|
font-size: 1.3em;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
label {
|
|
@extend h2;
|
|
&:after {
|
|
content: ':';
|
|
}
|
|
}
|
|
*/
|