2019-09-08 18:54:49 +02:00
|
|
|
.collection-container {
|
2019-11-24 20:58:16 +01:00
|
|
|
padding: #{24 / $base-font-size}rem #{66 / $base-font-size}rem;
|
2020-04-08 01:20:29 +02:00
|
|
|
position: relative;
|
2019-11-24 20:58:16 +01:00
|
|
|
flex: 1;
|
2020-04-08 01:20:29 +02:00
|
|
|
overflow: hidden;
|
2019-11-24 20:58:16 +01:00
|
|
|
display: flex;
|
2020-04-08 01:20:29 +02:00
|
|
|
flex-direction:column;
|
2019-09-08 18:54:49 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.collection-metadata {
|
2020-04-08 19:14:39 +02:00
|
|
|
max-width: #{1012 / $base-font-size}rem;
|
|
|
|
width: 100%;
|
2019-11-24 20:58:16 +01:00
|
|
|
margin: 0 auto;
|
|
|
|
margin-bottom: #{24 / $base-font-size}rem;
|
2019-09-08 18:54:49 +02:00
|
|
|
}
|
|
|
|
|
2019-09-18 09:10:10 +02:00
|
|
|
.collection-metadata__columns {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.collection-metadata__column--left,
|
|
|
|
.collection-metadata__column--right {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.collection-metadata__column--right {
|
|
|
|
align-self: flex-end;
|
2019-10-03 06:41:57 +02:00
|
|
|
|
|
|
|
display: flex;
|
2019-10-03 18:38:52 +02:00
|
|
|
flex-direction: row;
|
|
|
|
justify-content: flex-end;
|
2019-10-03 06:41:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.collection-metadata__column--right > * {
|
2019-10-03 18:38:52 +02:00
|
|
|
margin-left: #{10 / $base-font-size}rem;
|
2019-09-18 09:10:10 +02:00
|
|
|
}
|
|
|
|
|
2019-09-16 22:58:32 +02:00
|
|
|
.collection-metadata__name {
|
2019-11-24 20:58:16 +01:00
|
|
|
// padding: #{8 / $base-font-size}rem 0;
|
2019-09-16 22:58:32 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.collection-metadata__name .editable-input__label span {
|
|
|
|
padding: 0.83333rem 0;
|
2019-09-18 09:10:10 +02:00
|
|
|
|
|
|
|
@include themify() {
|
|
|
|
color: getThemifyVariable('primary-text-color');
|
|
|
|
}
|
2019-09-16 22:58:32 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.collection-metadata__name,
|
|
|
|
.collection-metadata__name .editable-input__input {
|
|
|
|
font-size: 1.75rem;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2019-09-08 18:54:49 +02:00
|
|
|
.collection-metadata__user {
|
2019-10-03 06:41:57 +02:00
|
|
|
padding-top: #{8 / $base-font-size}rem;
|
2019-09-18 09:10:10 +02:00
|
|
|
font-size: 14px;
|
2019-09-08 18:54:49 +02:00
|
|
|
}
|
|
|
|
|
2019-10-03 18:38:52 +02:00
|
|
|
.collection-metadata--is-owner .collection-metadata__user {
|
|
|
|
padding-left: #{8 / $base-font-size}rem;
|
|
|
|
}
|
|
|
|
|
2019-09-08 18:54:49 +02:00
|
|
|
.collection-metadata__description {
|
2019-11-24 20:58:16 +01:00
|
|
|
margin-top: #{8 / $base-font-size}rem;
|
2019-09-18 09:10:10 +02:00
|
|
|
text-align: left;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.collection-metadata__description .editable-input__label {
|
|
|
|
text-align: left;
|
2020-01-15 11:45:37 +01:00
|
|
|
}
|
2019-09-18 09:10:10 +02:00
|
|
|
|
2020-01-15 11:45:37 +01:00
|
|
|
.collection-metadata__description .editable-input--has-value .editable-input__label {
|
2019-09-18 09:10:10 +02:00
|
|
|
@include themify() {
|
|
|
|
color: getThemifyVariable('primary-text-color');
|
|
|
|
}
|
2019-09-16 22:58:32 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.collection-metadata__description .editable-input__input {
|
|
|
|
width: 100%;
|
2019-09-08 18:54:49 +02:00
|
|
|
}
|
2019-09-16 23:13:20 +02:00
|
|
|
|
2019-09-17 20:48:37 +02:00
|
|
|
.collection-add-sketch {
|
2019-11-10 20:39:20 +01:00
|
|
|
min-width: #{600 / $base-font-size}rem;
|
2019-09-17 20:48:37 +02:00
|
|
|
overflow: scroll;
|
|
|
|
}
|
2019-09-18 09:10:10 +02:00
|
|
|
|
|
|
|
.collection-share {
|
|
|
|
text-align: right;
|
2019-12-11 00:34:37 +01:00
|
|
|
position: relative;
|
2019-10-03 06:41:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.collection-share__button {
|
|
|
|
@extend %button;
|
2019-12-11 00:34:37 +01:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2019-09-18 09:10:10 +02:00
|
|
|
}
|
|
|
|
|
2019-12-11 00:34:37 +01:00
|
|
|
.collection-share__arrow {
|
|
|
|
margin-left: #{5 / $base-font-size}rem;
|
2019-09-18 09:10:10 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.collection-share .copyable-input {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
2019-10-03 06:41:57 +02:00
|
|
|
|
2019-12-11 00:34:37 +01:00
|
|
|
.collection__share-dropdown {
|
|
|
|
@extend %dropdown-open-right;
|
|
|
|
padding: #{20 / $base-font-size}rem;
|
|
|
|
width: #{350 / $base-font-size}rem;
|
|
|
|
}
|
|
|
|
|
2019-10-03 06:41:57 +02:00
|
|
|
.collection-metadata__add-button {
|
2019-11-25 14:17:16 +01:00
|
|
|
@extend %button;
|
2019-10-03 06:41:57 +02:00
|
|
|
flex-grow: 0;
|
|
|
|
}
|
2019-11-10 19:35:44 +01:00
|
|
|
|
2020-04-08 01:20:29 +02:00
|
|
|
.collection-content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2019-11-24 20:58:16 +01:00
|
|
|
flex: 1;
|
2020-04-08 01:20:29 +02:00
|
|
|
overflow: hidden;
|
|
|
|
max-width: #{1012 / $base-font-size}rem;
|
|
|
|
margin: 0 auto;
|
|
|
|
width: 100%;
|
|
|
|
|
2019-11-10 19:35:44 +01:00
|
|
|
@include themify() {
|
|
|
|
border: 1px solid getThemifyVariable('modal-border-color');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-08 01:20:29 +02:00
|
|
|
.collection-table-wrapper {
|
|
|
|
overflow-y: auto;
|
|
|
|
max-width: 100%;
|
|
|
|
min-height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// maybe don't need this?
|
2019-11-10 19:35:44 +01:00
|
|
|
[data-has-items=false] .collection-table-wrapper {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.collection-empty-message {
|
|
|
|
text-align: center;
|
|
|
|
font-size: #{16 / $base-font-size}rem;
|
|
|
|
}
|
2019-11-25 14:53:45 +01:00
|
|
|
|
|
|
|
.collection-row__action-column {
|
|
|
|
width: #{60 / $base-font-size}rem;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.collection-row__remove-button {
|
2019-11-25 19:55:39 +01:00
|
|
|
display: inline-block;
|
|
|
|
width:#{35 / $base-font-size}rem;
|
|
|
|
height:#{35 / $base-font-size}rem;
|
|
|
|
@include icon();
|
2019-11-25 14:53:45 +01:00
|
|
|
@include themify() {
|
2019-11-25 19:55:39 +01:00
|
|
|
// icon graphic
|
|
|
|
polygon {
|
|
|
|
fill: getThemifyVariable('table-button-color');
|
|
|
|
}
|
|
|
|
|
|
|
|
// icon background circle
|
|
|
|
path {
|
2019-11-25 14:53:45 +01:00
|
|
|
fill: getThemifyVariable('table-button-background-color');
|
|
|
|
}
|
|
|
|
|
2019-11-25 19:55:39 +01:00
|
|
|
& svg {
|
|
|
|
width:#{35 / $base-font-size}rem;
|
|
|
|
height:#{35 / $base-font-size}rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
polygon {
|
|
|
|
fill: getThemifyVariable('table-button-hover-color');
|
|
|
|
}
|
|
|
|
|
|
|
|
path {
|
|
|
|
fill: getThemifyVariable('table-button-background-hover-color');
|
|
|
|
}
|
2019-11-25 14:53:45 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|