mirror of
https://github.com/documize/community.git
synced 2025-08-02 20:15:26 +02:00
Make content linker compat with new attachment API
Moved fom /attachments to /attachment API endpoint name.
This commit is contained in:
parent
60f8cb7b5b
commit
92cb03a1db
7 changed files with 32 additions and 19 deletions
|
@ -13,8 +13,8 @@
|
|||
white-space: nowrap;
|
||||
padding: 0.375rem 0.75rem;
|
||||
margin: 10px;
|
||||
background-color: map-get($yellow-shades, 300);
|
||||
border: 1px solid map-get($yellow-shades, 400);
|
||||
background-color: map-get($gray-shades, 100);
|
||||
border: 1px solid map-get($gray-shades, 200);
|
||||
@extend .no-select;
|
||||
@include border-radius(2px);
|
||||
@include button-shadow-light();
|
||||
|
@ -37,13 +37,14 @@
|
|||
display: inline-block;
|
||||
font-size: 1.1rem;
|
||||
font-weight: 500;
|
||||
color: map-get($yellow-shades, 900);
|
||||
color: map-get($gray-shades, 800);
|
||||
letter-spacing: 0.5px;
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-color: map-get($yellow-shades, 400);
|
||||
background-color: map-get($yellow-shades, 200);
|
||||
border: 1px solid map-get($yellow-shades, 300);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -53,8 +54,8 @@
|
|||
white-space: nowrap;
|
||||
padding: 0.375rem 0.75rem;
|
||||
margin: 10px;
|
||||
background-color: map-get($yellow-shades, 200);
|
||||
border: 1px solid map-get($yellow-shades, 300);
|
||||
background-color: map-get($gray-shades, 100);
|
||||
border: 1px solid map-get($gray-shades, 200);
|
||||
@extend .no-select;
|
||||
@include border-radius(2px);
|
||||
@include button-shadow-light();
|
||||
|
@ -62,20 +63,21 @@
|
|||
> .name {
|
||||
font-size: 1.1rem;
|
||||
font-weight: 500;
|
||||
color: map-get($yellow-shades, 800);
|
||||
color: map-get($green-shades, 800);
|
||||
letter-spacing: 0.5px;
|
||||
@extend .text-truncate;
|
||||
}
|
||||
|
||||
> .desc {
|
||||
color: map-get($yellow-shades, 700);
|
||||
color: map-get($gray-shades, 800);
|
||||
font-size: 0.9rem;
|
||||
font-weight: 300;
|
||||
@extend .text-truncate;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-color: map-get($yellow-shades, 300);
|
||||
background-color: map-get($yellow-shades, 200);
|
||||
border: 1px solid map-get($yellow-shades, 300);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -35,3 +35,8 @@
|
|||
.block-editor {
|
||||
margin-top: 3rem;
|
||||
}
|
||||
|
||||
a.broken-link {
|
||||
color: map-get($red-shades, 600);
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue