-
Notifications
You must be signed in to change notification settings - Fork 0
/
aliexpress-ui-improvements.user.css
57 lines (52 loc) · 1.73 KB
/
aliexpress-ui-improvements.user.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
/* ==UserStyle==
@name AliExpress - UI Improvements
@namespace github.com/acropup/acropup-UserStyle-CSS-Scripts
@homepageURL https://github.com/acropup/acropup-UserStyle-CSS-Scripts
@version 1.0.3
@description Shows more of product titles in search results, and the shopping cart emphasizes the chosen product variant.
@author Shane Burgess
==/UserStyle== */
@-moz-document domain("aliexpress.com") {
/* Show selected product options larger (colours, etc) */
.product-sku dl, /* https://shoppingcart.aliexpress.com/shopcart */
p.product-property span.val /* https://trade.aliexpress.com/orderList.htm */
{
font-size: 20px;
}
/* Store view - show more of item titles */
.m-o-large-all-detail .items-list .item .detail h3 a {
font-size: 0;
line-height: 0;
position: absolute;
}
.m-o-large-all-detail .items-list .item .detail h3 a::after {
content: attr(title);
font-size: 12px;
line-height: 1;
display: block;
}
.m-o-large-all-detail .items-list .item .detail h3 {
height: 5em;
}
/* Search results - show more of item titles */
.multi--title--G7dOCj3 {
-webkit-line-clamp: 4;
line-height: 1.25;
padding-bottom: 0.2em;
}
.multi--title--G7dOCj3 > h1.multi--titleText--nXeOvyr {
word-break: normal;
line-height: 0;
}
/* Related Items - show more of item titles */
.G7dOC {
-webkit-line-clamp: 6;
line-height: 1.25;
padding-bottom: 0.2em;
}
.G7dOC > h1.nXeOv {
word-break: normal;
font-size: 12px;
line-height: 0;
}
}