patch: routes ok + styles on mobile + desktop
This commit is contained in:
@ -1,6 +1,61 @@
|
||||
#admin-circles,
|
||||
#admin-circles-leave {
|
||||
|
||||
/* Fix on Join button in admin (circles + projects) */
|
||||
/* Styles on buttons and .children-link don't work because this input is inside too many elements. */
|
||||
/* And no I can't add that stupid icon because it'a an input. */
|
||||
/* But now, with 0.16, it's a button and you can :D */
|
||||
.join-button {
|
||||
|
||||
input,
|
||||
button {
|
||||
padding: 9px 20px;
|
||||
border-radius: 16.5px;
|
||||
height: 33px;
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
background-color: var(--color-secondary);
|
||||
color: white;
|
||||
border: 1px solid var(--color-secondary);
|
||||
|
||||
&:before {
|
||||
font-size: 15px;
|
||||
margin-right: 6px;
|
||||
content: "\e079";
|
||||
font-family: simple-line-icons;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
speak: none;
|
||||
display: inline-block;
|
||||
text-decoration: inherit;
|
||||
width: 1em;
|
||||
text-align: center;
|
||||
font-variant: normal;
|
||||
text-transform: none;
|
||||
line-height: 1em;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background: white;
|
||||
color: var(--color-secondary);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
|
||||
&.sm-full {
|
||||
|
||||
input,
|
||||
button {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.form.search-button :not(.add-member)+button[type=submit] {
|
||||
background-color: #E9F2FF;
|
||||
border: none;
|
||||
|
@ -1,5 +1,5 @@
|
||||
.chat-view {
|
||||
height: calc(100vh - 72px - 78px);
|
||||
height: calc(100vh - 50px - 78px);
|
||||
|
||||
@media (max-width: 768px) {
|
||||
height: calc(100vh - 50px - 68px);
|
||||
|
@ -1,9 +1,5 @@
|
||||
main {
|
||||
height: calc(100vh - 72px);
|
||||
|
||||
@media (max-width: 768px) {
|
||||
height: calc(100vh - 50px);
|
||||
}
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
/* Styles of the right-hand menu + pages with that menu */
|
||||
@ -34,12 +30,11 @@ main {
|
||||
|
||||
.sidebar {
|
||||
background: #F1F1F1;
|
||||
height: calc(100vh - 72px);
|
||||
height: calc(100vh - 50px);
|
||||
transition: all 0.5s;
|
||||
width: 217px;
|
||||
|
||||
@media (max-width: 768px) {
|
||||
height: calc(100vh - 50px);
|
||||
width: 65px;
|
||||
}
|
||||
|
||||
@ -110,17 +105,17 @@ main {
|
||||
}
|
||||
}
|
||||
|
||||
/* Add scrollbar to the left and to the content */
|
||||
/* Add scrollbar to the left menu and to the content */
|
||||
.scrollbar-nav,
|
||||
.scrollbar-content {
|
||||
overflow-y: auto;
|
||||
height: calc(100vh - 72px); /* 72px == header's height */
|
||||
height: calc(100vh - 50px); /* 50px == header's height */
|
||||
-webkit-overflow-scrolling: touch;
|
||||
-ms-overflow-style: none;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
height: calc(100vh - 50px);
|
||||
}
|
||||
.scrollbar-nav {
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
/* Custom scrollbar of the left-menu*/
|
||||
|
@ -1,5 +1,5 @@
|
||||
header {
|
||||
height: 72px;
|
||||
height: 50px;
|
||||
position: fixed;
|
||||
z-index: 10000;
|
||||
|
||||
@ -14,28 +14,23 @@ header {
|
||||
|
||||
solid-link {
|
||||
align-self: center;
|
||||
|
||||
img.logo {
|
||||
max-width: 200px;
|
||||
max-height: 34px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
|
||||
.tag {
|
||||
align-self: flex-start;
|
||||
padding: 4px 15px;
|
||||
margin-top: 16px;
|
||||
margin-left: 60px;
|
||||
height: auto !important;
|
||||
letter-spacing: 0.16px !important;
|
||||
line-height: normal !important;
|
||||
padding: 1px 8px !important;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
solid-notifications {
|
||||
color: var(--color-heading);
|
||||
align-self: center;
|
||||
|
||||
@media(min-width: 768.01px) {
|
||||
margin-right: 23px;
|
||||
}
|
||||
height: 25px;
|
||||
width: 25px;
|
||||
|
||||
.solid-notifications__container {
|
||||
position: relative;
|
||||
@ -46,12 +41,11 @@ header {
|
||||
}
|
||||
|
||||
.solid-notifications__button {
|
||||
margin-top: -9px;
|
||||
font-size: 24px;
|
||||
|
||||
&::before {
|
||||
margin-left: -9px;
|
||||
}
|
||||
font-size: 25px;
|
||||
padding: 0;
|
||||
line-height: 1;
|
||||
height: auto;
|
||||
width: auto;
|
||||
|
||||
&:hover, &:focus {
|
||||
background: white;
|
||||
@ -64,12 +58,15 @@ header {
|
||||
.solid-notifications__counter {
|
||||
left: 12px;
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
top: -4px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
|
||||
span {
|
||||
background-color: var(--color-primary);
|
||||
color: white;
|
||||
font-size: 11px;
|
||||
line-height: 18px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -97,7 +94,7 @@ header {
|
||||
position: absolute;
|
||||
width: 0;
|
||||
height: 0;
|
||||
margin-left: -5em;
|
||||
margin-left: -4.2em;
|
||||
top: 0px;
|
||||
left: 50%;
|
||||
border: 1em solid black;
|
||||
@ -260,9 +257,7 @@ header {
|
||||
summary {
|
||||
display: block; /* To remove the disclosure triangle on Firefox v.>=69 */
|
||||
cursor: pointer;
|
||||
padding-right: 15px;
|
||||
padding-left: 15px;
|
||||
height: 72px;
|
||||
height: 50px;
|
||||
|
||||
/* To remove the disclosure triangle on Chrome (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details#Customizing_the_disclosure_widget) */
|
||||
&::marker,
|
||||
@ -270,6 +265,10 @@ header {
|
||||
display: none;
|
||||
}
|
||||
/* End */
|
||||
|
||||
solid-display {
|
||||
padding-top: 13px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -279,8 +278,8 @@ header {
|
||||
right: 0;
|
||||
z-index: 1;
|
||||
/* Quick fix for mobile version */
|
||||
width: 100%;
|
||||
top: 72px;
|
||||
width: 227px;
|
||||
top: 50px;
|
||||
|
||||
>nav {
|
||||
box-shadow: 0 7px 8px 0 rgba(0, 0, 0, 0.16);
|
||||
@ -301,10 +300,6 @@ header {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@media (max-width: 768px) {
|
||||
height: 50px;
|
||||
|
||||
@ -317,7 +312,7 @@ header {
|
||||
margin: 0;
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
|
||||
details.user-menu {
|
||||
|
||||
.user-firstname {
|
||||
@ -331,6 +326,10 @@ header {
|
||||
height: 50px;
|
||||
padding: 0;
|
||||
|
||||
solid-display {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
>.labelled-avatar .avatar {
|
||||
height: 32px;
|
||||
width: 32px;
|
||||
@ -372,8 +371,7 @@ header {
|
||||
.user-firstname {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding-right: 15px;
|
||||
padding-left: 15px;
|
||||
padding: 13px;
|
||||
width: 100%;
|
||||
|
||||
[name="segment3"] {
|
||||
@ -389,6 +387,7 @@ header {
|
||||
top: 72px;
|
||||
height: calc(100vh - 72px);
|
||||
background: white;
|
||||
width: calc(100vw);
|
||||
|
||||
>nav {
|
||||
box-shadow: none;
|
||||
|
@ -67,27 +67,11 @@ main#content {
|
||||
}
|
||||
}
|
||||
|
||||
hubl-menu-create+hubl-menu-create {
|
||||
hubl-menu-empty+hubl-menu-empty {
|
||||
display: none;
|
||||
/* Duplicate widget generation? */
|
||||
}
|
||||
|
||||
hubl-create-contact+hubl-create-contact {
|
||||
display: none;
|
||||
/* Duplicate widget generation? */
|
||||
}
|
||||
|
||||
hubl-menu-create,
|
||||
hubl-create-contact {
|
||||
solid-link {
|
||||
text-decoration: underline;
|
||||
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.swal2-container {
|
||||
z-index: 50000 !important;
|
||||
}
|
||||
@ -113,61 +97,6 @@ hubl-create-contact {
|
||||
}
|
||||
}
|
||||
|
||||
/* Fix on Join button in admin (circles + projects) */
|
||||
/* Styles on buttons and .children-link don't work because this input is inside too many elements. */
|
||||
/* And no I can't add that stupid icon because it'a an input. */
|
||||
/* But now, with 0.16, it's a button and you can :D */
|
||||
.join-button {
|
||||
|
||||
input,
|
||||
button {
|
||||
padding: 9px 20px;
|
||||
border-radius: 16.5px;
|
||||
height: 33px;
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
background-color: var(--color-secondary);
|
||||
color: white;
|
||||
border: 1px solid var(--color-secondary);
|
||||
|
||||
&:before {
|
||||
font-size: 15px;
|
||||
margin-right: 6px;
|
||||
content: "\e079";
|
||||
font-family: simple-line-icons;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
speak: none;
|
||||
display: inline-block;
|
||||
text-decoration: inherit;
|
||||
width: 1em;
|
||||
text-align: center;
|
||||
font-variant: normal;
|
||||
text-transform: none;
|
||||
line-height: 1em;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background: white;
|
||||
color: var(--color-secondary);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
|
||||
&.sm-full {
|
||||
|
||||
input,
|
||||
button {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Style that already exists in the framework but strangely I can't find it in the inspector. So I duplicate it here */
|
||||
.two-lines-ellipsis {
|
||||
display: -webkit-box !important;
|
||||
|
@ -1,7 +1,3 @@
|
||||
#job-offers #job-offers-board {
|
||||
min-height: calc(100vh - 72px);
|
||||
|
||||
@media (max-width: 768px) {
|
||||
min-height: calc(100vh - 50px);
|
||||
}
|
||||
min-height: calc(100vh - 50px);
|
||||
}
|
||||
|
@ -1,58 +1,174 @@
|
||||
nav#main__menu {
|
||||
height: calc(100vh - 72px);
|
||||
height: 100vh;
|
||||
|
||||
&.searching {
|
||||
background-image: url('../images/magnify-white.svg');
|
||||
background-color: var(--color-heading);
|
||||
background-repeat: no-repeat;
|
||||
background-position-x: right -20px;
|
||||
background-position-y: 150px;
|
||||
background-size: 80%;
|
||||
|
||||
@media (max-width: 768px) {
|
||||
background-size: 60%;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
min-height: calc(100vh - 50px);
|
||||
}
|
||||
|
||||
.transparent-background {
|
||||
background-color: transparent;
|
||||
|
||||
&.active[active] {
|
||||
background-color: var(--color-third);
|
||||
}
|
||||
|
||||
&.hover:hover:not([active]) {
|
||||
background-color: #202B3C;
|
||||
}
|
||||
|
||||
&.reverse {
|
||||
background-color: var(--color-third);
|
||||
}
|
||||
}
|
||||
|
||||
.unread {
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
solid-route.menu,
|
||||
solid-link.menu,
|
||||
div.menu {
|
||||
|
||||
.icon {
|
||||
padding: 8px;
|
||||
border-radius: 50%;
|
||||
.badge {
|
||||
float: right;
|
||||
margin-right: 2px;
|
||||
}
|
||||
|
||||
.icon {
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
.menu-search {
|
||||
padding: 0;
|
||||
|
||||
form::before,
|
||||
solid-form-placeholder-text::before {
|
||||
display: none;
|
||||
}
|
||||
&:hover .icon,
|
||||
&[active] .icon {
|
||||
color: white;
|
||||
background: var(--color-heading);
|
||||
|
||||
form {
|
||||
display: flex;
|
||||
|
||||
solid-form-placeholder-text {
|
||||
display: contents;
|
||||
}
|
||||
}
|
||||
&[active]+.divider {
|
||||
visibility: hidden;
|
||||
|
||||
input {
|
||||
background: transparent;
|
||||
color: #D0D4DA;
|
||||
margin-top: 0;
|
||||
padding: 12px 13px;
|
||||
height: 50px;
|
||||
|
||||
/* https://css-tricks.com/almanac/selectors/p/placeholder/ */
|
||||
&::-webkit-input-placeholder {
|
||||
/* Chrome/Opera/Safari */
|
||||
color: #D0D4DA;
|
||||
}
|
||||
|
||||
&::-moz-placeholder {
|
||||
/* Firefox 19+ */
|
||||
color: #D0D4DA;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
/*background: #202B3C;*/
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
|
||||
button {
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: #D0D4DA;
|
||||
margin-top: 0 !important;
|
||||
height: auto;
|
||||
|
||||
@media (max-width: 768px) {
|
||||
width: 20%;
|
||||
}
|
||||
|
||||
&:hover::before {
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.menu-header {
|
||||
|
||||
/* Chevron animation */
|
||||
.transform-up {
|
||||
transform: rotateX(180deg);
|
||||
}
|
||||
|
||||
.badge {
|
||||
padding-top: 2px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
@media (min-width: 768.01px) {
|
||||
|
||||
&:not(:hover) .menu-options,
|
||||
&:not(:hover) .menu-admin {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.menu-options {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.menu-admin {
|
||||
position: absolute;
|
||||
z-index: 3016;
|
||||
left: 78px;
|
||||
top: 36px;
|
||||
text-align: end;
|
||||
width: 64%;
|
||||
|
||||
@media (max-width: 768px) {
|
||||
width: 100%;
|
||||
left: 0;
|
||||
height: 9vh;
|
||||
top: 0;
|
||||
text-align: center;
|
||||
position: fixed;
|
||||
top: 50px;
|
||||
height: calc(100% - 50px);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.sub-menu {
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
/* Styles for the small icon */
|
||||
.sub-menu-icon {
|
||||
margin-left: 3px;
|
||||
margin-right: 3px;
|
||||
opacity: 0.8;
|
||||
width: 12px;
|
||||
>div {
|
||||
line-height: 19px;
|
||||
/* Styles for the small icon */
|
||||
.sub-menu-icon {
|
||||
margin-left: 3px;
|
||||
opacity: 0.8;
|
||||
width: 12px;
|
||||
|
||||
>div {
|
||||
line-height: 19px;
|
||||
}
|
||||
}
|
||||
|
||||
.sub-menu-name {
|
||||
margin-right: 15px;
|
||||
margin-left: 3px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
|
||||
.sub-menu-name {
|
||||
margin-right: 15px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.menu-chevron {
|
||||
float: right;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
|
||||
/* Ellipsis */
|
||||
.ellipsis {
|
||||
|
||||
@ -76,8 +192,11 @@ nav#main__menu {
|
||||
}
|
||||
}
|
||||
|
||||
.badge {
|
||||
float: right;
|
||||
.empty {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
padding-left: 13px;
|
||||
width: 87%;
|
||||
}
|
||||
|
||||
.divider {
|
||||
@ -86,13 +205,96 @@ nav#main__menu {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
.create {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
padding-left: 20px;
|
||||
width: 87%;
|
||||
|
||||
/* Header's general counter appear or disappear on click (JS animation) */
|
||||
.menu-header>div:not(.transform-up)~.badge {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.menu-header>div.transform-up~.badge {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* End */
|
||||
|
||||
/* The little cross icon on contacts' name appears or disapear + hover + styles */
|
||||
.sub-menu__contacts>div>solid-display {
|
||||
|
||||
hubl-menu-contact-removed {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.sub-menu__contacts>div>solid-display {
|
||||
height: 28px;
|
||||
display: block;
|
||||
|
||||
&:hover {
|
||||
|
||||
hubl-menu-fix-url-contact {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
hubl-counter {
|
||||
padding-right: 25px;
|
||||
}
|
||||
|
||||
solid-set-default[name="message"] {
|
||||
margin-right: 9px;
|
||||
}
|
||||
|
||||
hubl-menu-contact-removed {
|
||||
width: 38px;
|
||||
height: 27.75px;
|
||||
text-align: right;
|
||||
position: relative;
|
||||
top: -28px;
|
||||
display: block;
|
||||
left: calc(100% - 47px);
|
||||
padding-top: 5px;
|
||||
|
||||
button::before {
|
||||
font-size: 18px;
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* End */
|
||||
|
||||
/* Modal to keep/remove a contact */
|
||||
hubl-menu-contact-removed dialog {
|
||||
background: white !important;
|
||||
border: none;
|
||||
padding: 60px 30px;
|
||||
text-align: center;
|
||||
|
||||
@media (max-width: 768px) {
|
||||
width: 100vw;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-bottom: 30px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
div,
|
||||
p {
|
||||
background: white !important;
|
||||
}
|
||||
|
||||
&::before,
|
||||
p::before,
|
||||
div::before,
|
||||
button::before {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* End */
|
||||
|
||||
&.jsLeftMenu {
|
||||
display: inline-block;
|
||||
|
||||
@ -115,5 +317,4 @@ nav#main__menu {
|
||||
z-index: 3000;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@ -1,7 +1,3 @@
|
||||
#members>div:first-of-type {
|
||||
min-height: calc(100vh - 72px);
|
||||
|
||||
@media (max-width: 768px) {
|
||||
min-height: calc(100vh - 50px);
|
||||
}
|
||||
min-height: calc(100vh - 50px);
|
||||
}
|
||||
|
Reference in New Issue
Block a user