juice-shop
116 строк · 1.9 Кб
1/*!
2* Copyright (c) 2014-2024 Bjoern Kimminich & the OWASP Juice Shop contributors.
3* SPDX-License-Identifier: MIT
4*/
5
6$bg-heading: rgba(0, 0, 0, 0.13);
7
8.heading {
9background: $bg-heading;
10font-size: large;
11justify-content: center;
12margin-bottom: 10px;
13padding: 12px;
14}
15
16.container {
17justify-content: center;
18}
19
20mat-table {
21height: 767px;
22}
23
24mat-header-row {
25min-height: 0 !important;
26}
27
28.user-container,
29.customer-container {
30max-width: 600px;
31min-width: 300px;
32width: 70%;
33}
34
35.user-table,
36.customer-table {
37margin-bottom: 25px;
38}
39
40.mat-column-icon svg,
41.mat-column-user_detail button {
42margin-left: 38%;
43}
44
45mat-cell,
46mat-footer-cell,
47mat-header-cell {
48align-items: normal;
49display: block;
50}
51
52.mat-column-comment {
53flex: 0 0 55% !important;
54-ms-hyphens: auto;
55-moz-hyphens: auto;
56-webkit-hyphens: auto;
57hyphens: auto;
58overflow-wrap: break-word;
59padding: 5px;
60white-space: unset !important;
61width: 55% !important;
62
63word-break: break-word;
64word-wrap: break-word !important;
65}
66
67.mat-column-user {
68flex: 0 0 7% !important;
69-ms-hyphens: auto;
70-moz-hyphens: auto;
71-webkit-hyphens: auto;
72hyphens: auto;
73overflow-wrap: break-word;
74padding: 5px;
75white-space: unset !important;
76width: 7% !important;
77word-break: break-word;
78word-wrap: break-word !important;
79}
80
81.mat-column-rating {
82flex: 0 0 20% !important;
83-ms-hyphens: auto;
84-moz-hyphens: auto;
85-webkit-hyphens: auto;
86hyphens: auto;
87overflow-wrap: break-word;
88white-space: unset !important;
89width: 20% !important;
90word-break: break-word;
91word-wrap: break-word !important;
92}
93
94mat-cell:last-child,
95mat-footer-cell:last-child,
96mat-header-cell:last-child {
97padding-right: 50px;
98}
99
100mat-row {
101height: 69px;
102}
103
104.mat-own-card {
105display: block;
106margin-bottom: 20px;
107margin-left: 10%;
108margin-right: 10%;
109}
110
111p {
112-webkit-box-orient: vertical;
113display: -webkit-box;
114-webkit-line-clamp: 2;
115overflow: hidden;
116}
117