-
Notifications
You must be signed in to change notification settings - Fork 8
/
jquery.imagesloader.css
96 lines (74 loc) · 1.79 KB
/
jquery.imagesloader.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
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
/* ========================================
Images loader v1.0.0
http://www.format.it/
Copyright (c) 2021 Format s.r.l.
Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
======================================== */
/* #region Tooltip (Green color) */
.tooltip-inner {
background-color: white;
color: #339933;
border: 1px solid;
}
.tooltip.bs-tooltip-auto[x-placement=top] .arrow::before, .tooltip.bs-tooltip-top .arrow::before {
border-top-color: #339933;
}
.tooltip.bs-tooltip-auto[x-placement=bottom] .arrow::before, .tooltip.bs-tooltip-bottom .arrow::before {
border-bottom-color: #339933;
}
.tooltip.bs-tooltip-auto[x-placement=right] .arrow::before, .tooltip.bs-tooltip-right .arrow::before {
border-right-color: #339933;
}
.tooltip.bs-tooltip-auto[x-placement=left] .arrow::before, .tooltip.bs-tooltip-left .arrow::before {
border-left-color: #339933;
}
/* #endregion */
/* #region Ratio images */
.ratio-box {
position: relative;
height: 0;
padding-top: 100%; /*Ratio*/
}
.ratio-img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.img-ratio-box {
width: 200px;
height: 200px;
position: relative;
}
.img-loading {
position: absolute;
top: calc(50% - 1.5rem);
width: 100%;
height: 100%;
}
/*#endregion*/
/* #region Border */
.border.dashed {
border-style: dashed !important;
}
.border.rounded {
border-radius: 1.25rem !important;
}
.image {
border-width: 2px !important;
border-color: #dee2e6 !important;
}
/*#endregion*/
/* #region Main */
.main-tag {
position: absolute;
opacity: 0.8;
left: calc(25%);
top: calc(75%);
}
/*#endregion*/
.progress {
font-size: 1rem;
}