-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy path_details.scss
More file actions
122 lines (100 loc) · 2.5 KB
/
_details.scss
File metadata and controls
122 lines (100 loc) · 2.5 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
@use '@ibexa-admin-ui/src/bundle/Resources/public/scss/custom.scss' as *;
@use '@ibexa-admin-ui/src/bundle/Resources/public/scss/functions/calculate.rem' as *;
.ibexa-details {
&:not(:first-child) {
margin-top: calculateRem(40px);
}
&__items {
display: flex;
flex-wrap: wrap;
&--vertical {
display: block;
}
}
&__item {
flex-basis: 25%;
padding: calculateRem(8px) calculateRem(8px) calculateRem(8px) 0;
.ids-label {
margin-top: calculateRem(8px);
margin-bottom: 0;
}
&--break {
flex-basis: 100%;
height: 0;
}
&--inline {
display: flex;
.ibexa-details {
&__item-label {
min-width: calculateRem(350px);
margin-right: calculateRem(16px);
}
}
}
&--hidden {
display: none;
}
}
&__item-content {
word-wrap: break-word;
.ibexa-dropdown {
margin-left: 0;
}
&--ellipsized {
white-space: nowrap;
overflow: hidden;
display: inline-block;
text-overflow: ellipsis;
}
&--multi-line-ellipsized {
display: -webkit-box;
-webkit-line-clamp: var(--ibexa-details__ellipsized-lines-no, 1);
-webkit-box-orient: vertical;
}
}
&__item-content-wrapper {
display: flex;
flex-direction: column;
overflow: hidden;
}
&__show-more-btn {
display: flex;
align-items: center;
padding-left: 0;
padding-right: 0;
&--hidden {
display: none;
}
}
&__show-more-label,
&__show-less-label {
&--hidden {
display: none;
}
}
&__show-more-btn-icon {
&--opened {
transform: rotate(-180deg);
}
&.ibexa-icon {
margin-left: calculateRem(8px);
margin-right: 0;
transition: all $ibexa-admin-transition-duration $ibexa-admin-transition;
}
}
&__header {
&--inline-headline {
.ibexa-table-header {
justify-content: flex-start;
}
}
&--small {
.ibexa-table-header {
padding-bottom: 0;
}
}
}
&__alert-container {
margin-top: calculateRem(16px);
}
}