hubl/src/styles/content.scss

192 lines
2.8 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-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
}
}
// member-profile && members
2018-10-05 09:37:48 +00:00
/*.members-list-condensed {
img {
width: 50px;
height: 100px;
border-radius: 100%;
object-fit: cover;
object-position: top;
}
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
}
> div > sib-display > div {
display: grid;
grid-template-columns: 0.5fr 2fr;
grid-template-rows: repeat(3, auto);
grid-column-gap: 3rem;
align-items: center;
div[name="teammate-img"] {
background: blue;
grid-row: 1 / -1;
2018-11-21 13:05:56 +00:00
}
2018-11-21 13:16:59 +00:00
}
ul{
margin-top: 0px;
margin-bottom: 0px;
list-style-type: none;
}
>[name$="user"]{
color: $color-dark-lava;
}
>[name$="avatar"]{
grid-column-start: first;
grid-column-end: middle;
grid-row-start: first;
grid-row-end: end;
2018-10-31 09:38:41 +00:00
}
2018-11-17 17:01:19 +00:00
}
// ul {
// padding-left: 1em;
// }
}*/
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;
display: flex;
border-radius: 25px;
border-style: solid;
border-color: $color-majorelle-blue;
color: $color-majorelle-blue;
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