-
-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathdatabinded-text.component.scss
More file actions
102 lines (80 loc) · 2.13 KB
/
databinded-text.component.scss
File metadata and controls
102 lines (80 loc) · 2.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
@import "variables";
$expand-color: $column-color;
.selectable {
cursor: pointer;
}
.collapsed {
max-height: 290px;
overflow: hidden;
}
.content-wrapper {
position: relative;
cursor: pointer;
&__expand {
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding-top: 60px;
padding-left: 15px;
background-image: linear-gradient(to bottom, #00000000, var(--post-expander-background-25-opacity), var(--post-expander-background-50-opacity), var(--post-expander-background), var(--post-expander-background));
&--link {
transition: all .2s;
color: var(--post-expander-link);
// text-decoration: underline;
&:hover {
color: var(--post-expander-link-hover);
}
&--icon {
position: relative;
top: 1px;
}
}
&--selected {
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba($selected-status, 0.25), rgba($selected-status, 0.5), $selected-status, $selected-status);
}
}
}
//Mastodon styling
:host ::ng-deep .content {
// font-size: 14px;
color: $status-primary-color;
& a,
.mention,
.ellipsis {
color: $status-links-color;
}
& .invisible, & .quote-inline {
display: none;
}
& p {
margin: 0px;
white-space: pre-wrap;
//font-size: .9em;
// font-size: 14px;
}
& p:not(:last-child) {
margin-bottom: 20px;
}
& code {
color: var(--code-post-color);
}
& pre {
padding: 0 5px 5px 5px;
background-color: var(--post-scrollbar-background);
scrollbar-width: thin;
border-radius: 5px 5px 0 0;
&::-webkit-scrollbar {
width: $scroll-bar-width;
height: $scroll-bar-width;
}
&::-webkit-scrollbar-thumb {
-webkit-border-radius: 0px;
border-radius: 0px;
background: var(--post-scrollbar-thumb-background);
}
}
img {
max-width: 100%;
}
}