475 lines
7.4 KiB
SCSS
475 lines
7.4 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: flex;
|
|
|
|
li,
|
|
ul {
|
|
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: 2em;
|
|
margin: 0.25em;
|
|
background-color: $color-yellow;
|
|
color: $color-white;
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
}
|
|
// 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 {
|
|
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: grid;
|
|
grid-template-columns: [first] 50px [middle] auto [end];
|
|
grid-template-rows: [first] 25px [middle] 25px [end];
|
|
align-items: center;
|
|
ul{
|
|
margin-top: 0px;
|
|
margin-bottom: 0px;
|
|
list-style-type: none;
|
|
}
|
|
>[name$="user"]{
|
|
color: $color-black;
|
|
}
|
|
>[name$="avatar"]{
|
|
grid-column-start: first;
|
|
grid-column-end: middle;
|
|
grid-row-start: first;
|
|
grid-row-end: end;
|
|
}
|
|
}
|
|
|
|
// ul {
|
|
// padding-left: 1em;
|
|
// }
|
|
}
|
|
|
|
#profiles-list > div > sib-display {
|
|
cursor: pointer;
|
|
}
|
|
|
|
#profiles-list > div > sib-display,
|
|
sib-display#member-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: relative;
|
|
@extend %frame;
|
|
padding: 1em;
|
|
|
|
label {
|
|
display: none;
|
|
}
|
|
|
|
div[name='header'] {
|
|
border-bottom: 1px solid $color-grey-light;
|
|
padding-bottom: 1em;
|
|
padding: 0.5em;
|
|
margin-bottom: 1em;
|
|
display: flex;
|
|
flex-direction: column;
|
|
>*{
|
|
display: flex;
|
|
justify-content: center;
|
|
flex-basis: content;
|
|
}
|
|
sib-display-img {
|
|
flex-basis:150px;
|
|
img {
|
|
border-radius: 100%;
|
|
width:150px;
|
|
}
|
|
}
|
|
}
|
|
|
|
hdapp-userinfo {
|
|
@extend h1;
|
|
}
|
|
|
|
[name=infos] {
|
|
margin: 2em 0;
|
|
|
|
> * {
|
|
// display: block;
|
|
margin: 0.5em 0;
|
|
}
|
|
}
|
|
|
|
ul[name$='roles'] * {
|
|
@include icon('user');
|
|
}
|
|
|
|
ul[name$='cell'] * {
|
|
@include icon('location-pin');
|
|
}
|
|
[name$='user'] {
|
|
margin-bottom: 0em;
|
|
}
|
|
sib-display-div[name$='bio'] {
|
|
margin-top: 1em;
|
|
flex-basis : 5em;
|
|
}
|
|
|
|
a[href^='mailto'] {
|
|
display: flex;
|
|
border-radius: 25px;
|
|
border-style: solid;
|
|
border-color: $color-blue-light;
|
|
color: $color-blue-light;
|
|
margin: 1em;
|
|
padding: 1em;
|
|
text-decoration:none;
|
|
}
|
|
|
|
sib-display-tel {
|
|
display: block;
|
|
@include icon('phone');
|
|
}
|
|
|
|
hdapp-hyperlink {
|
|
display: block;
|
|
@include icon('link');
|
|
}
|
|
|
|
sib-display-div[name$='foaf:homepage'] * {
|
|
@include icon('link');
|
|
}
|
|
sib-display-div[name$='more']{
|
|
display: flex;
|
|
flex-direction: row-reverse;
|
|
}
|
|
}
|
|
|
|
hdapp-available {
|
|
display: block;
|
|
text-align: right;
|
|
|
|
strong {
|
|
@extend %button;
|
|
}
|
|
}
|
|
|
|
#profiles-list {
|
|
@extend .grid-layer;
|
|
> sib-form {
|
|
grid-column-start: start;
|
|
grid-column-end: middle;
|
|
grid-row-start: start;
|
|
grid-row-end: middle;
|
|
}
|
|
> div {
|
|
grid-column-start: start;
|
|
grid-column-end: end;
|
|
grid-row-start: middle;
|
|
grid-row-end: end;
|
|
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%;
|
|
grid-template-rows: 3.5em 3.5em;
|
|
|
|
label {
|
|
flex-basis: 5em;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
input, select {
|
|
flex-grow: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
input[type="submit"] {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
#offers-list {
|
|
@extend .grid-layer;
|
|
> sib-form {
|
|
grid-column-start: start;
|
|
grid-column-end: middle;
|
|
grid-row-start: start;
|
|
grid-row-end: middle;
|
|
}
|
|
> div {
|
|
grid-column-start: start;
|
|
grid-column-end: end;
|
|
grid-row-start: middle;
|
|
grid-row-end: end;
|
|
}
|
|
}
|
|
#offers-list > sib-form > form {
|
|
//display: grid;
|
|
//grid-template-columns: 50% 50%;
|
|
//grid-template-rows: 3.5em 3.5em;
|
|
background-color: orangered;
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
grid-gap: 20px;
|
|
|
|
sib-form-label-text {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
label {
|
|
//flex-basis: 5em;
|
|
//flex-shrink: 0;
|
|
display: block;
|
|
}
|
|
|
|
input, select {
|
|
//flex-grow: 1;
|
|
//min-width: 0;
|
|
//box-shadow: 0 0 5px 0 rgba(133, 140, 148, 0.09);
|
|
}
|
|
|
|
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 sib-display {
|
|
sib-display-div {
|
|
> [name^='label-'] {
|
|
@extend h2;
|
|
}
|
|
}
|
|
|
|
[name='title'] {
|
|
@extend h1;
|
|
display: flex;
|
|
|
|
> * {
|
|
padding-left: 0.5em;
|
|
padding-right: 0.5em;
|
|
}
|
|
|
|
> [name^='const-'] {
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
}
|
|
|
|
> [name='name'] {
|
|
font-weight: normal;
|
|
}
|
|
}
|
|
}
|
|
|
|
#clientBox {
|
|
margin-top: 1em;
|
|
display: grid;
|
|
grid-template-columns: 50% 50%;
|
|
border-top-width: 1px;
|
|
border-top-style: solid;
|
|
border-left-width: 1px;
|
|
border-left-style: solid;
|
|
|
|
> * {
|
|
label{
|
|
font-weight: bold;
|
|
margin-right: 1em;
|
|
}
|
|
border-right-width: 1px;
|
|
border-right-style: solid;
|
|
border-bottom-width: 1px;
|
|
border-bottom-style: solid;
|
|
padding: 1em;
|
|
> div{
|
|
margin-bottom: 1em;
|
|
}
|
|
}
|
|
}
|
|
|
|
#project-edit form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
|
|
> * {
|
|
display: flex;
|
|
margin-bottom: 1em;
|
|
|
|
label {
|
|
flex-basis: 8em;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
input,
|
|
textarea {
|
|
flex-grow: 1;
|
|
min-width: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
/*
|
|
label {
|
|
@extend h2;
|
|
&:after {
|
|
content: ':';
|
|
}
|
|
}
|
|
*/
|
|
|