hubl/src/styles/content.scss

254 lines
3.7 KiB
SCSS
Raw Normal View History

2018-09-29 00:22:00 +00:00
// job offers
2018-11-17 17:01:19 +00:00
// .new-job-offer {
// @extend %button;
// text-transform: uppercase;
// margin-left: 1em;
// margin-bottom: 1em
// //float: right;
// }
2018-10-31 09:38:41 +00:00
[name='user-thumb'] {
display: flex;
align-items: center;
margin: -0.25em;
2018-10-31 09:38:41 +00:00
> * {
margin: 0.25em;
}
2018-10-31 09:38:41 +00:00
sib-display-img {
width: 4.25rem;
height: 4.25rem;
2018-10-31 09:38:41 +00:00
overflow: hidden;
border-radius: 100%;
}
}
2018-10-05 09:55:29 +00:00
// skills
/*#member-profile sib-display-lookuplist {
display: flex;
ul {
display: flex;
flex-wrap: wrap;
list-style: none;
}
li[name*='skills'] {
padding: 0.3em 1.2em;
border: 1px solid;
border-radius: 2em;
margin: 0.25em;
background-color: $color-selective-yellow;
color: $color-white;
font-weight: bold;
2018-10-05 09:55:29 +00:00
}
2018-10-31 09:38:41 +00:00
}
*/
2018-10-31 09:38:41 +00:00
// group
2018-10-31 09:38:41 +00:00
#group-profile {
sib-display-div[name='name'] div {
@extend h1;
2018-10-05 09:55:29 +00:00
}
2018-10-31 09:38:41 +00:00
sib-display-div[name='label-description'] div {
@extend h2;
2018-10-05 09:55:29 +00:00
}
}
2018-10-05 09:37:48 +00:00
// chat
2018-09-29 00:22:00 +00:00
2018-10-05 09:37:48 +00:00
.chat-view {
padding: 1.7rem;
2018-10-05 09:37:48 +00:00
position: relative;
2018-11-13 10:06:04 +00:00
z-index: 0;
2018-10-19 18:36:16 +00:00
@extend %frame;
height: calc(100vh - 104px);
2018-10-05 09:37:48 +00:00
> sib-chat {
@include pos();
2018-09-29 00:22:00 +00:00
}
}
2018-10-05 09:37:48 +00:00
sib-display#member-info {
2018-11-21 13:05:56 +00:00
display: flex;
flex-direction: column;
2018-10-05 09:37:48 +00:00
position: relative;
2018-10-19 18:36:16 +00:00
@extend %frame;
padding: 1.7rem;
2018-10-12 17:11:13 +00:00
label {
2018-10-17 21:04:03 +00:00
display: none;
2018-10-12 17:11:13 +00:00
}
2018-10-17 21:04:03 +00:00
div[name='header'] {
border-bottom: 1px solid $color-anti-flash-white;
padding-bottom: 1.7rem;
padding: 0.85rem;
margin-bottom: 1.7rem;
2018-11-21 13:05:56 +00:00
display: flex;
flex-direction: column;
>*{
display: flex;
justify-content: center;
flex-basis: content;
}
2018-11-21 13:16:59 +00:00
sib-display-img {
flex-basis:150px;
img {
border-radius: 100%;
width:150px;
}
}
2018-10-17 21:04:03 +00:00
}
2018-10-17 21:04:03 +00:00
hdapp-userinfo {
@extend h1;
}
/*
[name=infos] {
//margin: 2em 0;
> * {
2018-11-21 13:05:56 +00:00
// display: block;
2018-10-31 09:38:41 +00:00
margin: 0.5em 0;
}
2018-10-17 21:04:03 +00:00
}
*/
2018-10-31 09:38:41 +00:00
ul[name$='roles'] * {
@include icon('user');
}
2018-10-31 09:38:41 +00:00
ul[name$='cell'] * {
@include icon('location-pin');
}
2018-11-21 13:05:56 +00:00
[name$='user'] {
margin-bottom: 0em;
}
sib-display-div[name$='bio'] {
margin-top: 1em;
flex-basis : 5em;
}
2018-11-21 13:05:56 +00:00
a[href^='mailto'] {
display: flex;
border-radius: 25px;
border-style: solid;
border-color: $color-majorelle-blue;
color: $color-majorelle-blue;
margin: 1.7rem;
padding: 1.7rem;
2018-11-21 13:05:56 +00:00
text-decoration:none;
2018-10-31 09:38:41 +00:00
}
2018-10-31 09:38:41 +00:00
sib-display-tel {
display: block;
@include icon('phone');
}
2018-10-31 09:38:41 +00:00
hdapp-hyperlink {
display: block;
@include icon('link');
2018-11-17 17:01:19 +00:00
}
2018-10-31 09:38:41 +00:00
sib-display-div[name$='foaf:homepage'] * {
@include icon('link');
}
2018-11-25 16:30:11 +00:00
sib-display-div[name$='more']{
display: flex;
flex-direction: row-reverse;
}
2018-10-31 09:38:41 +00:00
}
2018-10-17 21:04:03 +00:00
2018-10-31 09:38:41 +00:00
hdapp-available {
display: block;
text-align: right;
2018-10-31 09:38:41 +00:00
strong {
@extend %button;
}
2018-09-29 00:22:00 +00:00
}
2018-10-05 09:37:48 +00:00
/*#member-profile {
2018-10-31 09:38:41 +00:00
ul {
@include list-reset();
}
}*/
2018-10-31 09:38:41 +00:00
#member-profile {
@include media('width>tablet') {
div[name='header'] {
float: left;
width: 50%;
}
}
2018-10-31 09:38:41 +00:00
div[name='name'] {
@extend h1;
2018-10-31 09:38:41 +00:00
div {
display: inline-block;
margin-right: 0.7rem;
2018-10-31 09:38:41 +00:00
}
}
sib-link[next='member-chat'] {
border-style: solid;
margin: 1.7rem;
display: flex;
border-radius: 25px;
border-style: solid;
border-color: $color-majorelle-blue;
color: $color-majorelle-blue;
margin: 1.7rem;
padding: 1.7rem;
text-decoration:none;
}
2018-10-31 09:38:41 +00:00
div[name='pseudonym'] {
margin-top: -1.7rem;
margin-bottom: 1.7rem;
2018-10-31 09:38:41 +00:00
}
2018-10-31 09:38:41 +00:00
#member-info {
&:after {
content: '';
display: block;
clear: both;
}
}
}
2018-11-20 15:28:00 +00:00
sib-form {
form > * {
margin-top: 0.85rem;
}
// button like
input[type='color'],
input[type='file'],
input[type='reset'],
input[type='submit'] {
@extend %button;
}
input[type='reset'] {
display: none;
}
}
2018-10-19 18:36:16 +00:00
/*
2018-10-12 17:11:13 +00:00
label {
@extend h2;
&:after {
content: ':';
}
}
2018-10-31 09:38:41 +00:00
*/
2018-12-10 11:07:14 +00:00