Skip to content

Commit 9ba72e6

Browse files
svfcodeGlomberg
andauthored
Upd. TheRealPerson. Update layout. (#467)
* Upd. TheRealPerson. Update layout. * Upd. TRP. TRP output updated. * Fix. TRP. TRP pop-up text fixed. * Fix. TRP. TRP optinon text fixed. * Fix. Code. Code style fixed. * Fix. TRP. TRP badge for woocommerce review fixed. * Fix. Code. Code style fixed. * Fix. TRP. Admin side TRP layout fixed. * Fix. TRP. Admin side TRP - removed common styles. * Fix. TRP. Unused JS-logic removed. * Fix. Code. JS and CSS re-minified. * Fix. Code. Code style fixed. * Fix. Settings. TRP badge example added to the TRP option. * Fix. Code. Code style fixed. * Fix. Code. Psalm notice fixed. * Fix. TRP. UTM preset for the TRP link fixed. * Fix. TRP. TRP image example removed from settings. * Fix. TRP. TRP image padding added. * Fix. TRP. TRP long description link rebuilt. --------- Co-authored-by: Glomberg <bazz@bk.ru>
1 parent 538b18f commit 9ba72e6

33 files changed

+340
-682
lines changed

css/cleantalk-admin.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/cleantalk-public.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/cleantalk-trp.min.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/src/cleantalk-admin.css

Lines changed: 0 additions & 104 deletions
Original file line numberDiff line numberDiff line change
@@ -113,110 +113,6 @@
113113
line-height: 2rem;
114114
}
115115

116-
/* Styles for displaying the TRP badge on the comments page in the admin */
117-
.apbct-admin-real-user-wrapper {
118-
display: inline-flex;
119-
color: #000;
120-
flex-wrap: nowrap;
121-
justify-content: center;
122-
flex-direction: row;
123-
align-items: center;
124-
}
125-
126-
.apbct-admin-real-user-author-name{
127-
display: inline-flex;
128-
}
129-
130-
.apbct-admin-real-user-badge {
131-
display: inline-flex;
132-
margin-left: 12px;
133-
margin-right: 3px;
134-
height: 15px;
135-
cursor: pointer;
136-
position: relative;
137-
}
138-
139-
.apbct-real-user-badge {
140-
display: inline-flex;
141-
margin-left: 12px;
142-
margin-right: 3px;
143-
height: 15px;
144-
cursor: pointer;
145-
position: relative;
146-
}
147-
148-
.apbct-admin-real-user-popup {
149-
position: absolute;
150-
width: auto;
151-
height: max-content;
152-
position: absolute;
153-
left: 20px;
154-
margin-left: 3px;
155-
padding: 21px 16px 16px 16px;
156-
font-weight: normal;
157-
background: white;
158-
border: 1px #ccc solid;
159-
border-radius: 4px;
160-
box-shadow: 5px 5px 24px -11px #444;
161-
z-index: -1;
162-
cursor: default;
163-
opacity: 0;
164-
transition-property: opacity, z-index;
165-
transition-delay: 1s;
166-
}
167-
168-
.apbct-real-user-badge:hover .apbct-admin-real-user-popup {
169-
z-index: 1;
170-
opacity: 1;
171-
transition-delay: 0s;
172-
}
173-
174-
.apbct-admin-real-user-title {
175-
display: grid;
176-
width: max-content;
177-
gap: 4px!important;
178-
}
179-
180-
.apbct-admin-real-user-popup-content_row {
181-
display: flex;
182-
gap: 4px;
183-
}
184-
185-
.apbct-admin-real-user-popup-img {
186-
align-self: start;
187-
}
188-
189-
.apbct-admin-size-real-user-popup-img{
190-
width: 15px;
191-
}
192-
193-
.apbct-admin-real-user-popup-header {
194-
font-weight: bolder;
195-
margin: 0;
196-
}
197-
198-
@media (min-width: 768px) {
199-
.apbct-admin-real-user-popup-text {
200-
user-select: all;
201-
margin: 2px 0 2px 0;
202-
}
203-
}
204-
205-
@media (max-width: 768px) {
206-
.apbct-trp-popup-desktop {
207-
display: none;
208-
}
209-
210-
.apbct-admin-real-user-title {
211-
width: 100%;
212-
}
213-
214-
.apbct-admin-real-user-popup {
215-
width: auto;
216-
top: 31px;
217-
}
218-
}
219-
220116
.apbct-popup-fade:before {
221117
content: '';
222118
background: #000;

css/src/cleantalk-public.css

Lines changed: 0 additions & 107 deletions
Original file line numberDiff line numberDiff line change
@@ -1,110 +1,3 @@
1-
.apbct-real-user-wrapper {
2-
display: inline-flex;
3-
color: #000;
4-
flex-wrap: nowrap;
5-
justify-content: center;
6-
flex-direction: row;
7-
align-items: center;
8-
}
9-
10-
.apbct-real-user-wrapper-woo {
11-
display: inline;
12-
align-items: center;
13-
color: #444;
14-
font-size: 14px;
15-
}
16-
17-
.apbct-real-user-author-name{
18-
display: inline-flex;
19-
}
20-
21-
.apbct-real-user-badge {
22-
display: inline-flex;
23-
margin-left: 12px;
24-
margin-right: 3px;
25-
height: 15px;
26-
cursor: pointer;
27-
position: relative;
28-
}
29-
30-
.apbct-real-user-popup {
31-
position: absolute;
32-
width: auto;
33-
height: max-content;
34-
margin-left: 21px;
35-
padding: 16px 16px 16px 16px;
36-
font-weight: normal;
37-
background: white;
38-
border: 1px #ccc solid;
39-
border-radius: 4px;
40-
box-shadow: 5px 5px 24px -11px #444;
41-
z-index: -1;
42-
cursor: default;
43-
opacity: 0;
44-
transition-property: opacity, z-index;
45-
transition-delay: 1s;
46-
}
47-
48-
.apbct-real-user-badge:hover .apbct-real-user-popup {
49-
z-index: 1;
50-
opacity: 1;
51-
transition-delay: 0s;
52-
}
53-
54-
@media (min-width: 768px) {
55-
.apbct-real-user-popup {
56-
position: absolute;
57-
}
58-
}
59-
60-
.apbct-real-user-title {
61-
display: grid;
62-
gap: 4px!important;
63-
}
64-
65-
.apbct-real-user-popup-content_row {
66-
display: flex;
67-
align-items: center;
68-
gap: 1px;
69-
}
70-
71-
.apbct-real-user-popup-img {
72-
align-self: start;
73-
margin: 0!important;
74-
height: max-content;
75-
vertical-align: center;
76-
}
77-
78-
.apbct-real-user-popup-header {
79-
font-weight: bolder;
80-
margin: 0;
81-
}
82-
83-
@media (min-width: 768px) {
84-
.apbct-real-user-popup {
85-
/*width: max-content;*/
86-
}
87-
.apbct-real-user-title {
88-
width: max-content;
89-
}
90-
.apbct-real-user-popup-text {
91-
display: inline-block;
92-
user-select: all;
93-
margin: 2px 0 2px 0;
94-
background: white!important;
95-
color: black!important;
96-
}
97-
}
98-
99-
@media (max-width: 768px) {
100-
.apbct-real-user-popup {
101-
width: 70vw;
102-
left: -100px;
103-
top: 20px;
104-
margin-left: 0;
105-
}
106-
}
107-
1081
#honeypot-field-url {
1092
display: none !important;
1103
}

0 commit comments

Comments
 (0)