juice-shop
115 строк · 1.6 Кб
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.2);
7
8.table-container {
9min-width: 350px;
10width: 80%;
11}
12
13.heading {
14background: $bg-heading;
15font-size: x-large;
16justify-content: center;
17padding: 12px 20px;
18}
19
20.img-thumbnail {
21width: 100%;
22}
23
24
25.product {
26cursor: pointer;
27}
28
29.btn-basket {
30bottom: 10%;
31}
32
33mat-card {
34height: calc(100% - 70px);
35}
36
37.item-price {
38font-size: initial;
39margin-top: 12px;
40text-align: center;
41}
42
43.item-name {
44font-size: large;
45text-align: center;
46}
47
48.emptyState {
49display: block;
50height: auto !important;
51margin: 20px auto;
52width: 50%;
53}
54
55.noResult {
56display: block;
57margin-left: auto;
58margin-right: auto;
59width: 60%;
60}
61
62.noResultText {
63display: block;
64margin-top: 10px;
65text-align: center;
66}
67
68.ribbon-card {
69position: relative;
70}
71
72.ribbon {
73height: 150px;
74overflow: hidden;
75pointer-events: none;
76position: absolute;
77width: 150px;
78}
79
80.ribbon::before {
81content: '';
82display: block;
83position: absolute;
84z-index: -1;
85}
86
87.ribbon span {
88box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
89color: #fff;
90display: block;
91font: 700 18px/1 'Lato', sans-serif;
92padding: 15px 0;
93position: absolute;
94text-align: center;
95text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
96width: 225px;
97}
98
99.ribbon-top-left {
100left: -10px;
101top: -10px;
102}
103
104.ribbon-top-left::before {
105border-left-color: transparent;
106border-top-color: transparent;
107right: 0;
108top: 0;
109}
110
111.ribbon-top-left span {
112right: -25px;
113top: 30px;
114transform: rotate(-45deg);
115}
116