0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-03 04:49:03 -05:00
penpot/frontend/resources/styles/main/partials/dashboard-team.scss

383 lines
6.6 KiB
SCSS
Raw Normal View History

2020-10-05 18:20:39 +02:00
.dashboard-invite-modal {
2022-08-09 15:07:43 +02:00
top: 72px;
2020-10-05 18:20:39 +02:00
right: 13px;
2022-08-09 15:07:43 +02:00
padding: 32px;
2020-10-05 18:20:39 +02:00
box-shadow: 0px 4px 8px rgba($color-black, 0.25);
border-radius: 8px;
2022-08-09 15:07:43 +02:00
width: 400px;
2020-10-05 18:20:39 +02:00
position: fixed;
2022-08-09 15:07:43 +02:00
z-index: 16;
&.hero {
top: 218px;
right: 35px;
}
2020-10-05 18:20:39 +02:00
form {
width: 100%;
}
.form-row {
display: flex;
2022-08-09 15:07:43 +02:00
justify-content: space-between;
margin: 4px 0px;
.label {
margin-bottom: 0;
display: flex;
align-items: center;
}
2020-10-05 18:20:39 +02:00
}
.custom-input {
2022-08-09 15:07:43 +02:00
width: 100%;
height: 115px;
2020-10-05 18:20:39 +02:00
}
.custom-select {
width: 180px;
overflow: hidden;
justify-content: normal;
select {
height: auto;
}
2020-10-05 18:20:39 +02:00
}
.action-buttons {
display: flex;
2022-08-09 15:07:43 +02:00
margin-top: 16px;
input[type="submit"] {
2020-10-05 18:20:39 +02:00
margin-bottom: 0px;
}
}
.title {
color: $color-black;
2022-08-09 15:07:43 +02:00
font-weight: bold;
margin-bottom: 16px;
2020-10-05 18:20:39 +02:00
}
.hint {
font-size: 12px;
&.hidden {
display: none;
}
}
svg {
width: 12px;
height: 12px;
fill: $color-gray-20;
}
.error {
background-color: #ffd9e0;
width: 100%;
display: flex;
.icon {
background-color: $color-danger;
text-align: center;
padding: 5px;
svg {
fill: $color-white;
width: 20px;
height: 20px;
margin: 5px;
}
}
.text {
color: $color-black;
padding: 5px;
font-size: 12px;
}
}
2020-10-05 18:20:39 +02:00
}
.dashboard-team-members,
.dashboard-team-invitations {
.empty-invitations {
height: 156px;
max-width: 1040px;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
border: 1px dashed $color-gray-20;
margin-top: 16px;
}
2022-02-14 09:46:59 +01:00
.table-row {
background-color: $color-white;
height: 63px;
&:not(:first-child) {
margin-top: 16px;
}
}
2020-10-05 18:20:39 +02:00
.table-field {
&.name {
width: 43%;
min-width: 300px;
2022-02-14 09:46:59 +01:00
display: flex;
.member-info {
display: flex;
flex-direction: column;
margin-left: 16px;
.member-name {
font-size: $fs16;
.you {
color: $color-gray-30;
margin-left: 5px;
}
}
.member-email {
color: $color-gray-30;
font-size: $fs12;
}
}
2020-10-05 18:20:39 +02:00
2022-02-14 09:46:59 +01:00
.member-image {
height: 32px;
width: 32px;
img {
border-radius: 50%;
}
}
2020-10-05 18:20:39 +02:00
}
2022-02-14 09:46:59 +01:00
&.roles {
flex-grow: 1;
2020-10-05 18:20:39 +02:00
user-select: none;
cursor: default;
position: relative;
2022-02-14 09:46:59 +01:00
.rol-selector {
&.has-priv {
border: 1px solid $color-gray-20;
cursor: pointer;
2022-02-14 09:46:59 +01:00
}
min-width: 160px;
height: 32px;
display: flex;
justify-content: space-between;
align-items: center;
2022-02-14 09:46:59 +01:00
border-radius: 2px;
padding: 3px 8px;
font-size: $fs14;
2022-02-14 09:46:59 +01:00
}
}
&.actions {
position: relative;
.actions-dropdown {
max-height: 30rem;
min-width: 180px;
}
2020-10-05 18:20:39 +02:00
}
&.status {
.status-badge {
color: $color-white;
border-radius: 12px;
min-width: 74px;
height: 24px;
display: flex;
justify-content: center;
align-items: center;
&.pending {
background-color: $color-warning;
}
&.expired {
background-color: $color-gray-20;
}
.status-label {
font-size: $fs12;
}
}
}
2020-10-05 18:20:39 +02:00
}
.dropdown {
position: absolute;
max-height: 30rem;
overflow-y: auto;
background-color: $color-white;
border-radius: 4px;
box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.25);
z-index: 12;
top: 30px;
2022-02-14 09:46:59 +01:00
left: 6px;
width: 155px;
2020-10-05 18:20:39 +02:00
hr {
margin: 0;
border-color: $color-gray-10;
}
li {
display: flex;
align-items: center;
color: $color-gray-60;
cursor: pointer;
2020-11-03 19:15:39 +01:00
font-size: $fs14;
2020-10-05 18:20:39 +02:00
height: 31px;
padding: 5px 16px;
&.title {
font-weight: 600;
cursor: default;
}
&:hover {
background-color: $color-primary-lighter;
}
}
}
}
.dashboard-team-settings {
.team-settings {
display: flex;
justify-content: center;
margin-top: 16px;
svg {
width: 20px;
height: 20px;
}
.horizontal-blocks {
display: flex;
max-width: 1010px;
justify-content: space-between;
width: 100%;
}
.block {
display: flex;
max-width: 324px;
width: 324px;
background-color: $color-white;
flex-direction: column;
padding: 12px;
.label {
font-size: 13px;
color: $color-gray-30;
2020-10-05 18:20:39 +02:00
}
}
.info-block {
position: relative;
.name {
margin-top: 10px;
2021-10-05 12:59:00 +02:00
font-size: $fs24;
2020-10-05 18:20:39 +02:00
color: $color-black;
@include text-ellipsis;
margin-right: 90px;
}
.icon {
position: absolute;
padding: 15px;
width: 100px;
height: 100px;
right: 0px;
top: 0px;
img {
border-radius: 50%;
width: 70px;
height: 70px;
}
.update-overlay {
opacity: 0;
cursor: pointer;
position: absolute;
display: flex;
justify-content: center;
align-items: center;
2022-08-05 11:24:34 +02:00
width: 71px;
height: 71px;
2020-10-05 18:20:39 +02:00
border-radius: 50%;
color: $color-white;
background: $color-primary-dark;
z-index: 14;
svg {
fill: $color-white;
}
2020-10-05 18:20:39 +02:00
}
&:hover {
.update-overlay {
opacity: 1;
2022-08-05 11:24:34 +02:00
width: 72px;
height: 72px;
top: 14px;
left: 14px;
2020-10-05 18:20:39 +02:00
}
}
}
}
.owner-block {
img {
width: 30px;
height: 30px;
border-radius: 50%;
}
svg {
width: 12px;
height: 12px;
fill: $color-black;
2020-10-05 18:20:39 +02:00
}
.owner {
margin-top: 5px;
display: flex;
align-items: center;
color: $color-black;
.icon {
margin-right: 12px;
}
}
.summary {
margin-top: 5px;
color: $color-black;
2020-10-05 18:20:39 +02:00
.icon {
padding: 0px 10px;
margin-right: 12px;
}
}
}
.stats-block {
svg {
fill: $color-black;
}
.projects,
.files {
margin-top: 7px;
display: flex;
align-items: center;
color: $color-black;
.icon {
display: flex;
align-items: center;
padding: 0px 2px;
margin-right: 14px;
}
}
}
}
}