-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
styles.css
133 lines (110 loc) · 2.33 KB
/
styles.css
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
.ob-comment {
position: relative;
border-bottom: 1px dotted black;
color: #8f0303;
font-weight: bold;
background-color: #CCA300;
word-wrap: break-word;
white-space: normal;
}
.ob-comment:hover {
background-color: #FFDE5C;
}
.ob-comment span {
visibility: hidden;
min-width: auto;
max-width: 500px;
width: max-content;
background-color: #FFDE5C;
color: #b30202;
text-align: left;
border-radius: 6px;
padding: 10px 10px;
z-index: 1;
position: absolute;
top: 20px;
right: 20px;
box-shadow: 1px 1px 10px 5px var(--background-secondary);
transition: opacity 1s;
}
.ob-comment input {
display:none;
}
.ob-comment input:checked+span {
visibility: visible;
opacity: 1;
}
.comment-panel{
overflow-y: auto;
overflow-x: auto;
}
.comment-count{
border: none;
padding: 1px 8px;
text-align: center;
}
.comment-pannel-bubble{
white-space: wrap;
height:auto;
width:95%;
overflow-y: auto;
overflow-x: auto;
text-overflow: ellipsis;
-webkit-transition: height 1s;
transition: opacity 1s, line-height 0.1s;
padding: 5px 5px;
background-color: var(--background-secondary);
color: var(--text-normal);
border: none;
text-decoration: none;
display: inline-block;
margin: 0px 0px;
cursor: pointer;
border-radius: 14px;
margin-bottom: 0px;
margin-left: 10px;
margin-right: 10px;
}
.comment-pannel-p1 {
width: 100%;
border-top-left-radius: 14px;
border-top-right-radius: 14px;
margin-bottom: 10px;
color: var(--text-a);
cursor: pointer;
}
.comment-pannel-p2 {
display: none;
width: 100%;
text-overflow: hidden;
margin-bottom: 20px;
margin-top:0;
}
.comment-pannel-p3 {
position: relative;
height: min-content;
width: auto;
max-width: max-content;
max-height: 100px;
margin-block-end: 0em;
white-space: wrap;
overflow: hidden;
text-overflow: ellipsis;
-webkit-transition: height 1s;
transition: opacity 1s, line-height 0.1s;
cursor: pointer;
background-color:#FFDE5C;
margin-top: 0;
color: #b30202;
padding: 5px 5px;
border-radius: 14px;
border-radius: 14px;
}
input:checked+ span{
height:auto;
}
input:checked+p{
height:auto;
max-height: max-content;
display: inline-block;
}