sync working code, and import type-doc
This commit is contained in:
60
lib/ui/css/media.scss
Normal file
60
lib/ui/css/media.scss
Normal file
@ -0,0 +1,60 @@
|
||||
.ui-media-picture>img {
|
||||
max-width: 100px;
|
||||
max-height: 100px;
|
||||
}
|
||||
|
||||
.ui-media-file {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
|
||||
>svg {
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
fill: var(--link-color);
|
||||
}
|
||||
|
||||
>a {
|
||||
margin-left: 6px;
|
||||
color: var(--link-color);
|
||||
font-size: var(--font-size);
|
||||
}
|
||||
}
|
||||
|
||||
.ui-media-audio {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
background-color: #eee;
|
||||
border-radius: 20px;
|
||||
overflow: hidden;
|
||||
padding-right: 16px;
|
||||
|
||||
>button {
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
padding: 14px;
|
||||
display: flex;
|
||||
outline: none;
|
||||
|
||||
&:hover {
|
||||
border: none;
|
||||
}
|
||||
|
||||
>svg {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
>.ui-media-timestamp {
|
||||
color: var(--secondary-color);
|
||||
font-size: var(--font-size);
|
||||
user-select: none;
|
||||
}
|
||||
}
|
||||
|
||||
.ui-media-video {
|
||||
max-width: 200px;
|
||||
max-height: 200px;
|
||||
}
|
Reference in New Issue
Block a user