phcthemes_admin_panel_pack 5.0.0 → 5.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -1
- data/app/assets/javascripts/smarty/core.js +28154 -0
- data/app/assets/javascripts/smarty/core.min.js +2 -0
- data/app/assets/javascripts/smarty/core.sow_builder.js +84 -0
- data/app/assets/javascripts/smarty/core.sow_builder.min.js +1 -0
- data/app/assets/javascripts/smarty/phcthemes_admin_panel_pack_smarty.js +3 -0
- data/app/assets/javascripts/smarty/vendor.chartjs.js +20776 -0
- data/app/assets/javascripts/smarty/vendor.chartjs.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.cocoen.js +1 -0
- data/app/assets/javascripts/smarty/vendor.cocoen.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.colorpicker.js +3 -0
- data/app/assets/javascripts/smarty/vendor.colorpicker.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.datatables.js +42928 -0
- data/app/assets/javascripts/smarty/vendor.datatables.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.datepicker.js +2039 -0
- data/app/assets/javascripts/smarty/vendor.datepicker.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.daterangepicker.js +1578 -0
- data/app/assets/javascripts/smarty/vendor.daterangepicker.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.easypie.js +364 -0
- data/app/assets/javascripts/smarty/vendor.easypie.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.fancybox.js +5632 -0
- data/app/assets/javascripts/smarty/vendor.fancybox.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.flickity.js +4597 -0
- data/app/assets/javascripts/smarty/vendor.flickity.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.flot.js +11921 -0
- data/app/assets/javascripts/smarty/vendor.flot.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.fullcalendar.js +14597 -0
- data/app/assets/javascripts/smarty/vendor.fullcalendar.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.leaflet.js +6 -0
- data/app/assets/javascripts/smarty/vendor.leaflet.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.markdowneditor.js +7 -0
- data/app/assets/javascripts/smarty/vendor.markdowneditor.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.mediumeditor.js +7893 -0
- data/app/assets/javascripts/smarty/vendor.mediumeditor.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.pdfmake.js +79493 -0
- data/app/assets/javascripts/smarty/vendor.pdfmake.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.photoswipe.js +4595 -0
- data/app/assets/javascripts/smarty/vendor.photoswipe.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.prismjs.js +7219 -0
- data/app/assets/javascripts/smarty/vendor.prismjs.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.quilleditor.js +11562 -0
- data/app/assets/javascripts/smarty/vendor.quilleditor.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.sparkline.js +3068 -0
- data/app/assets/javascripts/smarty/vendor.sparkline.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.summernoteeditor.js +10235 -0
- data/app/assets/javascripts/smarty/vendor.summernoteeditor.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor.swiper.js +9899 -0
- data/app/assets/javascripts/smarty/vendor.swiper.min.js +1 -0
- data/app/assets/javascripts/smarty/vendor_bundle.js +30514 -0
- data/app/assets/javascripts/smarty/vendor_bundle.min.js +2 -0
- data/app/assets/stylesheets/coloradmin/apple/phcthemes_admin_panel_pack_coloradmin.scss +3 -0
- data/app/assets/stylesheets/coloradmin/default/phcthemes_admin_panel_pack_coloradmin.scss +5 -2
- data/app/assets/stylesheets/coloradmin/facebook/phcthemes_admin_panel_pack_coloradmin.scss +5 -2
- data/app/assets/stylesheets/coloradmin/google/phcthemes_admin_panel_pack_coloradmin.scss +5 -2
- data/app/assets/stylesheets/coloradmin/material/phcthemes_admin_panel_pack_coloradmin.scss +5 -2
- data/app/assets/stylesheets/coloradmin/transparent/phcthemes_admin_panel_pack_coloradmin.scss +5 -2
- data/app/assets/stylesheets/common/fontawesome/css/all.css +12785 -0
- data/app/assets/stylesheets/common/fontawesome/css/all.min.css +5 -0
- data/app/assets/stylesheets/common/fontawesome/css/brands.css +15 -0
- data/app/assets/stylesheets/common/fontawesome/css/brands.min.css +5 -0
- data/app/assets/stylesheets/common/fontawesome/css/duotone.css +5609 -0
- data/app/assets/stylesheets/common/fontawesome/css/duotone.min.css +5 -0
- data/app/assets/stylesheets/common/fontawesome/css/fontawesome.css +7135 -0
- data/app/assets/stylesheets/common/fontawesome/css/fontawesome.min.css +5 -0
- data/app/assets/stylesheets/common/fontawesome/css/light.css +15 -0
- data/app/assets/stylesheets/common/fontawesome/css/light.min.css +5 -0
- data/app/assets/stylesheets/common/fontawesome/css/regular.css +15 -0
- data/app/assets/stylesheets/common/fontawesome/css/regular.min.css +5 -0
- data/app/assets/stylesheets/common/fontawesome/css/solid.css +16 -0
- data/app/assets/stylesheets/common/fontawesome/css/solid.min.css +5 -0
- data/app/assets/stylesheets/common/fontawesome/css/svg-with-js.css +371 -0
- data/app/assets/stylesheets/common/fontawesome/css/svg-with-js.min.css +5 -0
- data/app/assets/stylesheets/common/fontawesome/css/v4-shims.css +2172 -0
- data/app/assets/stylesheets/common/fontawesome/css/v4-shims.min.css +5 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-brands-400.eot +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-brands-400.svg +3717 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-brands-400.ttf +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-brands-400.woff +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-brands-400.woff2 +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-duotone-900.eot +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-duotone-900.svg +15328 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-duotone-900.ttf +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-duotone-900.woff +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-duotone-900.woff2 +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-light-300.eot +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-light-300.svg +12423 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-light-300.ttf +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-light-300.woff +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-light-300.woff2 +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-regular-400.eot +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-regular-400.svg +11323 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-regular-400.ttf +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-regular-400.woff +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-regular-400.woff2 +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-solid-900.eot +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-solid-900.svg +9653 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-solid-900.ttf +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-solid-900.woff +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-solid-900.woff2 +0 -0
- data/app/assets/stylesheets/smarty/default/phcthemes_admin_panel_pack_smarty.scss +10 -0
- data/app/assets/stylesheets/smarty/theme/css/core.css +20170 -0
- data/app/assets/stylesheets/smarty/theme/css/core.min.css +2 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.chartjs.css +55 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.chartjs.min.css +1 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.cocoen.css +59 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.cocoen.min.css +1 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.colorpicker.css +1196 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.colorpicker.min.css +1 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.datatables.css +1258 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.datatables.min.css +1 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.datepicker.css +173 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.datepicker.min.css +1 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.daterangepicker.css +545 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.daterangepicker.min.css +1 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.fancybox.css +927 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.fancybox.min.css +1 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.flickity.css +263 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.flickity.min.css +1 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.flot.css +17 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.flot.min.css +1 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.fullcalendar.css +1685 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.fullcalendar.min.css +1 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.leaflet.css +653 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.leaflet.min.css +1 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.markdowneditor.css +7 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.markdowneditor.min.css +1 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.mediumeditor.css +308 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.mediumeditor.min.css +1 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.photoswipe.css +436 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.photoswipe.min.css +1 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.prismjs.css +364 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.prismjs.min.css +1 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.quilleditor.css +953 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.quilleditor.min.css +1 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.summernoteeditor.css +710 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.summernoteeditor.min.css +1 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.swiper.css +762 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor.swiper.min.css +1 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor_bundle.css +168 -0
- data/app/assets/stylesheets/smarty/theme/css/vendor_bundle.min.css +2 -0
- data/app/assets/stylesheets/smarty/theme/fonts/flaticon/Flaticon.eot +0 -0
- data/app/assets/stylesheets/smarty/theme/fonts/flaticon/Flaticon.svg +250 -0
- data/app/assets/stylesheets/smarty/theme/fonts/flaticon/Flaticon.ttf +0 -0
- data/app/assets/stylesheets/smarty/theme/fonts/flaticon/Flaticon.woff +0 -0
- data/app/assets/stylesheets/smarty/theme/fonts/flaticon/Flaticon.woff2 +0 -0
- data/app/assets/stylesheets/smarty/theme/fonts/summernote.eot +0 -0
- data/app/assets/stylesheets/smarty/theme/fonts/summernote.hash +1 -0
- data/app/assets/stylesheets/smarty/theme/fonts/summernote.ttf +0 -0
- data/app/assets/stylesheets/smarty/theme/fonts/summernote.woff +0 -0
- data/app/assets/stylesheets/smarty/theme/fonts/summernote.woff2 +0 -0
- data/app/assets/stylesheets/smarty/theme/images/credit_card/2co.svg +1 -0
- data/app/assets/stylesheets/smarty/theme/images/credit_card/amazon.svg +1 -0
- data/app/assets/stylesheets/smarty/theme/images/credit_card/amazon_pay_logo.svg +1 -0
- data/app/assets/stylesheets/smarty/theme/images/credit_card/american_express.svg +1 -0
- data/app/assets/stylesheets/smarty/theme/images/credit_card/apple_pay.svg +1 -0
- data/app/assets/stylesheets/smarty/theme/images/credit_card/bitcoin.svg +1 -0
- data/app/assets/stylesheets/smarty/theme/images/credit_card/dinners_club.svg +1 -0
- data/app/assets/stylesheets/smarty/theme/images/credit_card/discover.svg +1 -0
- data/app/assets/stylesheets/smarty/theme/images/credit_card/ebay.svg +1 -0
- data/app/assets/stylesheets/smarty/theme/images/credit_card/jcb.svg +1 -0
- data/app/assets/stylesheets/smarty/theme/images/credit_card/mastercard.svg +1 -0
- data/app/assets/stylesheets/smarty/theme/images/credit_card/paypal.svg +1 -0
- data/app/assets/stylesheets/smarty/theme/images/credit_card/paypal_logo.svg +1 -0
- data/app/assets/stylesheets/smarty/theme/images/credit_card/shopify.svg +1 -0
- data/app/assets/stylesheets/smarty/theme/images/credit_card/skrill.svg +1 -0
- data/app/assets/stylesheets/smarty/theme/images/credit_card/switch.svg +1 -0
- data/app/assets/stylesheets/smarty/theme/images/credit_card/visa.svg +1 -0
- data/app/assets/stylesheets/smarty/theme/images/credit_card/western_union.svg +1 -0
- data/app/assets/stylesheets/smarty/theme/images/flags.png +0 -0
- data/app/assets/stylesheets/smarty/theme/images/logo/logo_dark.svg +2 -0
- data/app/assets/stylesheets/smarty/theme/images/logo/logo_light.svg +2 -0
- data/app/assets/stylesheets/smarty/theme/images/logo/logo_sm.svg +1 -0
- data/app/assets/stylesheets/smarty/theme/images/manifest/icon_192x192.png +0 -0
- data/app/assets/stylesheets/smarty/theme/images/manifest/icon_512x512.png +0 -0
- data/app/assets/stylesheets/smarty/theme/images/manifest/manifest.json +20 -0
- data/app/assets/stylesheets/smarty/theme/images/masks/shape-line-lense.svg +1 -0
- data/lib/phcthemes_admin_panel_pack/version.rb +1 -1
- metadata +171 -2
@@ -0,0 +1,436 @@
|
|
1
|
+
/*$modal-backdrop-bg: #131f43 !default;*/
|
2
|
+
/*! PhotoSwipe main CSS by Dmitry Semenov | photoswipe.com | MIT license */
|
3
|
+
/*
|
4
|
+
Styles for basic PhotoSwipe functionality (sliding area, open/close transitions)
|
5
|
+
*/
|
6
|
+
/* pswp = photoswipe */
|
7
|
+
.pswp {
|
8
|
+
display: none;
|
9
|
+
position: absolute;
|
10
|
+
width: 100%;
|
11
|
+
height: 100%;
|
12
|
+
left: 0;
|
13
|
+
top: 0;
|
14
|
+
overflow: hidden;
|
15
|
+
touch-action: none;
|
16
|
+
z-index: 99999;
|
17
|
+
-webkit-text-size-adjust: 100%;
|
18
|
+
/* create separate layer, to avoid paint on window.onscroll in webkit/blink */
|
19
|
+
-webkit-backface-visibility: hidden;
|
20
|
+
outline: none; }
|
21
|
+
.pswp * {
|
22
|
+
box-sizing: border-box; }
|
23
|
+
.pswp img {
|
24
|
+
max-width: none; }
|
25
|
+
|
26
|
+
/* style is added when JS option showHideOpacity is set to true */
|
27
|
+
.pswp--animate_opacity {
|
28
|
+
/* 0.001, because opacity:0 doesn't trigger Paint action, which causes lag at start of transition */
|
29
|
+
opacity: 0.001;
|
30
|
+
will-change: opacity;
|
31
|
+
/* for open/close transition */
|
32
|
+
transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }
|
33
|
+
|
34
|
+
.pswp--open {
|
35
|
+
display: block; }
|
36
|
+
|
37
|
+
.pswp--zoom-allowed .pswp__img {
|
38
|
+
/* autoprefixer: off */
|
39
|
+
cursor: -webkit-zoom-in;
|
40
|
+
cursor: -moz-zoom-in;
|
41
|
+
cursor: zoom-in; }
|
42
|
+
|
43
|
+
.pswp--zoomed-in .pswp__img {
|
44
|
+
/* autoprefixer: off */
|
45
|
+
cursor: -webkit-grab;
|
46
|
+
cursor: -moz-grab;
|
47
|
+
cursor: grab; }
|
48
|
+
|
49
|
+
.pswp--dragging .pswp__img {
|
50
|
+
/* autoprefixer: off */
|
51
|
+
cursor: -webkit-grabbing;
|
52
|
+
cursor: -moz-grabbing;
|
53
|
+
cursor: grabbing; }
|
54
|
+
|
55
|
+
/*
|
56
|
+
Background is added as a separate element.
|
57
|
+
As animating opacity is much faster than animating rgba() background-color.
|
58
|
+
*/
|
59
|
+
.pswp__bg {
|
60
|
+
position: absolute;
|
61
|
+
left: 0;
|
62
|
+
top: 0;
|
63
|
+
width: 100%;
|
64
|
+
height: 100%;
|
65
|
+
background: rgba(19, 31, 67, 0.5);
|
66
|
+
opacity: 0;
|
67
|
+
transform: translateZ(0);
|
68
|
+
-webkit-backface-visibility: hidden;
|
69
|
+
will-change: opacity; }
|
70
|
+
|
71
|
+
.pswp__scroll-wrap {
|
72
|
+
position: absolute;
|
73
|
+
left: 0;
|
74
|
+
top: 0;
|
75
|
+
width: 100%;
|
76
|
+
height: 100%;
|
77
|
+
overflow: hidden; }
|
78
|
+
|
79
|
+
.pswp__container,
|
80
|
+
.pswp__zoom-wrap {
|
81
|
+
touch-action: none;
|
82
|
+
position: absolute;
|
83
|
+
left: 0;
|
84
|
+
right: 0;
|
85
|
+
top: 0;
|
86
|
+
bottom: 0; }
|
87
|
+
|
88
|
+
/* Prevent selection and tap highlights */
|
89
|
+
.pswp__container,
|
90
|
+
.pswp__img {
|
91
|
+
-webkit-user-select: none;
|
92
|
+
-moz-user-select: none;
|
93
|
+
-ms-user-select: none;
|
94
|
+
user-select: none;
|
95
|
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
96
|
+
-webkit-touch-callout: none; }
|
97
|
+
|
98
|
+
.pswp__zoom-wrap {
|
99
|
+
position: absolute;
|
100
|
+
width: 100%;
|
101
|
+
transform-origin: left top;
|
102
|
+
/* for open/close transition */
|
103
|
+
transition: transform 333ms cubic-bezier(0.4, 0, 0.22, 1); }
|
104
|
+
|
105
|
+
.pswp__bg {
|
106
|
+
will-change: opacity;
|
107
|
+
/* for open/close transition */
|
108
|
+
transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }
|
109
|
+
|
110
|
+
.pswp--animated-in .pswp__bg,
|
111
|
+
.pswp--animated-in .pswp__zoom-wrap {
|
112
|
+
transition: none; }
|
113
|
+
|
114
|
+
.pswp__container,
|
115
|
+
.pswp__zoom-wrap {
|
116
|
+
-webkit-backface-visibility: hidden; }
|
117
|
+
|
118
|
+
.pswp__item {
|
119
|
+
position: absolute;
|
120
|
+
left: 0;
|
121
|
+
right: 0;
|
122
|
+
top: 0;
|
123
|
+
bottom: 0;
|
124
|
+
overflow: hidden; }
|
125
|
+
|
126
|
+
.pswp__img {
|
127
|
+
position: absolute;
|
128
|
+
width: auto;
|
129
|
+
height: auto;
|
130
|
+
top: 0;
|
131
|
+
left: 0; }
|
132
|
+
|
133
|
+
/*
|
134
|
+
stretched thumbnail or div placeholder element (see below)
|
135
|
+
style is added to avoid flickering in webkit/blink when layers overlap
|
136
|
+
*/
|
137
|
+
.pswp__img--placeholder {
|
138
|
+
-webkit-backface-visibility: hidden; }
|
139
|
+
|
140
|
+
/*
|
141
|
+
div element that matches size of large image
|
142
|
+
large image loads on top of it
|
143
|
+
*/
|
144
|
+
.pswp__img--placeholder--blank {
|
145
|
+
background: linear-gradient(to top, rgba(255, 255, 255, 0.85) 0, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.15) 65%, rgba(255, 255, 255, 0.075) 75.5%, rgba(255, 255, 255, 0.037) 82.85%, rgba(255, 255, 255, 0.019) 88%, rgba(255, 255, 255, 0) 100%) !important; }
|
146
|
+
|
147
|
+
.pswp--ie .pswp__img {
|
148
|
+
width: 100% !important;
|
149
|
+
height: auto !important;
|
150
|
+
left: 0;
|
151
|
+
top: 0; }
|
152
|
+
|
153
|
+
/*
|
154
|
+
Error message appears when image is not loaded
|
155
|
+
(JS option errorMsg controls markup)
|
156
|
+
*/
|
157
|
+
.pswp__error-msg {
|
158
|
+
position: absolute;
|
159
|
+
left: 0;
|
160
|
+
top: 50%;
|
161
|
+
width: 100%;
|
162
|
+
text-align: center;
|
163
|
+
font-size: 14px;
|
164
|
+
line-height: 16px;
|
165
|
+
margin-top: -8px;
|
166
|
+
color: #CCC; }
|
167
|
+
|
168
|
+
.pswp__error-msg a {
|
169
|
+
color: #CCC;
|
170
|
+
text-decoration: underline; }
|
171
|
+
|
172
|
+
/*
|
173
|
+
|
174
|
+
PhotoSwipe Default UI CSS by Dmitry Semenov | photoswipe.com | MIT license
|
175
|
+
|
176
|
+
Contents:
|
177
|
+
|
178
|
+
1. Buttons
|
179
|
+
2. Share modal and links
|
180
|
+
3. Index indicator ("1 of X" counter)
|
181
|
+
4. Caption
|
182
|
+
5. Loading indicator
|
183
|
+
6. Additional styles (root element, top bar, idle state, hidden state, etc.)
|
184
|
+
|
185
|
+
*/
|
186
|
+
/*
|
187
|
+
|
188
|
+
1. Buttons
|
189
|
+
|
190
|
+
*/
|
191
|
+
/* <button> css reset */
|
192
|
+
.pswp__button {
|
193
|
+
cursor: pointer;
|
194
|
+
overflow: visible;
|
195
|
+
-webkit-appearance: none;
|
196
|
+
display: block;
|
197
|
+
border: 0;
|
198
|
+
padding: 0;
|
199
|
+
margin: 0;
|
200
|
+
float: right;
|
201
|
+
opacity: 0.75;
|
202
|
+
transition: opacity 0.2s;
|
203
|
+
box-shadow: none; }
|
204
|
+
.pswp__button:focus, .pswp__button:hover {
|
205
|
+
opacity: 1; }
|
206
|
+
.pswp__button:active {
|
207
|
+
outline: none;
|
208
|
+
opacity: 0.9; }
|
209
|
+
.pswp__button::-moz-focus-inner {
|
210
|
+
padding: 0;
|
211
|
+
border: 0; }
|
212
|
+
|
213
|
+
/* pswp__ui--over-close class it added when mouse is over element that should close gallery */
|
214
|
+
.pswp__ui--over-close .pswp__button--close {
|
215
|
+
opacity: 1; }
|
216
|
+
|
217
|
+
/* no arrows on touch screens */
|
218
|
+
.pswp--touch .pswp__button--arrow--left,
|
219
|
+
.pswp--touch .pswp__button--arrow--right {
|
220
|
+
visibility: hidden; }
|
221
|
+
|
222
|
+
/*
|
223
|
+
Arrow buttons hit area
|
224
|
+
(icon is added to :before pseudo-element)
|
225
|
+
*/
|
226
|
+
.pswp__button--arrow--left,
|
227
|
+
.pswp__button--arrow--right {
|
228
|
+
background: none;
|
229
|
+
top: 50%;
|
230
|
+
margin-top: -50px;
|
231
|
+
width: 70px;
|
232
|
+
height: 100px;
|
233
|
+
position: absolute; }
|
234
|
+
|
235
|
+
.pswp__button--arrow--left {
|
236
|
+
left: 0; }
|
237
|
+
|
238
|
+
.pswp__button--arrow--right {
|
239
|
+
right: 0; }
|
240
|
+
|
241
|
+
/*
|
242
|
+
|
243
|
+
2. Share modal/popup and links
|
244
|
+
|
245
|
+
*/
|
246
|
+
.pswp__counter,
|
247
|
+
.pswp__share-modal {
|
248
|
+
-webkit-user-select: none;
|
249
|
+
-moz-user-select: none;
|
250
|
+
-ms-user-select: none;
|
251
|
+
user-select: none; }
|
252
|
+
|
253
|
+
.pswp__share-modal {
|
254
|
+
display: block;
|
255
|
+
width: 100%;
|
256
|
+
height: 100%;
|
257
|
+
top: 0;
|
258
|
+
left: 0;
|
259
|
+
padding: 10px;
|
260
|
+
position: absolute;
|
261
|
+
z-index: 100099;
|
262
|
+
opacity: 0;
|
263
|
+
transition: opacity 0.25s ease-out;
|
264
|
+
-webkit-backface-visibility: hidden;
|
265
|
+
will-change: opacity; }
|
266
|
+
|
267
|
+
.pswp__share-modal--hidden {
|
268
|
+
display: none; }
|
269
|
+
|
270
|
+
.pswp__share-tooltip {
|
271
|
+
z-index: 100119;
|
272
|
+
position: absolute;
|
273
|
+
background: #FFF;
|
274
|
+
top: 15px;
|
275
|
+
border-radius: 2px;
|
276
|
+
display: block;
|
277
|
+
width: auto;
|
278
|
+
right: 44px;
|
279
|
+
box-shadow: 0 0 35px rgba(140, 152, 164, 0.15);
|
280
|
+
transform: translateY(6px);
|
281
|
+
transition: transform 0.25s;
|
282
|
+
-webkit-backface-visibility: hidden;
|
283
|
+
will-change: transform; }
|
284
|
+
.pswp__share-tooltip a {
|
285
|
+
display: block;
|
286
|
+
padding: 8px 12px;
|
287
|
+
color: #000;
|
288
|
+
text-decoration: none;
|
289
|
+
font-size: 14px; }
|
290
|
+
.pswp__share-tooltip a:hover {
|
291
|
+
text-decoration: none; }
|
292
|
+
.pswp__share-tooltip a:first-child {
|
293
|
+
/* round corners on the first/last list item */
|
294
|
+
border-radius: 0.35rem 0.35rem 0 0; }
|
295
|
+
.pswp__share-tooltip a:last-child {
|
296
|
+
border-radius: 0 0 0.35rem 0.35rem; }
|
297
|
+
.pswp__share-tooltip a:not(.last-child) {
|
298
|
+
border-bottom: #f1f4f8 1px solid; }
|
299
|
+
|
300
|
+
.pswp__share-modal--fade-in {
|
301
|
+
opacity: 1; }
|
302
|
+
.pswp__share-modal--fade-in .pswp__share-tooltip {
|
303
|
+
transform: translateY(0); }
|
304
|
+
|
305
|
+
/* increase size of share links on touch devices */
|
306
|
+
.pswp--touch .pswp__share-tooltip a {
|
307
|
+
padding: 16px 12px;
|
308
|
+
color: #313131; }
|
309
|
+
|
310
|
+
.pswp--touch .pswp__share-tooltip a:hover {
|
311
|
+
background-color: #f9fbfd; }
|
312
|
+
|
313
|
+
.pswp--touch .pswp__share-tooltip a:first-child {
|
314
|
+
border: 6px solid rgba(0, 0, 0, 0); }
|
315
|
+
|
316
|
+
/*
|
317
|
+
|
318
|
+
Preloader
|
319
|
+
|
320
|
+
*/
|
321
|
+
.pswp__preloader {
|
322
|
+
display: none; }
|
323
|
+
|
324
|
+
.pswp__preloader--active {
|
325
|
+
display: inherit; }
|
326
|
+
|
327
|
+
/*
|
328
|
+
|
329
|
+
3. Index indicator ("1 of X" counter)
|
330
|
+
|
331
|
+
*/
|
332
|
+
.pswp__counter {
|
333
|
+
position: absolute;
|
334
|
+
left: 0;
|
335
|
+
top: 0;
|
336
|
+
height: 44px;
|
337
|
+
font-size: 13px;
|
338
|
+
line-height: 44px;
|
339
|
+
color: #1c0950;
|
340
|
+
opacity: 0.75;
|
341
|
+
padding: 0 10px; }
|
342
|
+
|
343
|
+
/*
|
344
|
+
|
345
|
+
4. Caption
|
346
|
+
|
347
|
+
*/
|
348
|
+
.pswp__caption {
|
349
|
+
position: absolute;
|
350
|
+
left: 0;
|
351
|
+
bottom: 0;
|
352
|
+
width: 100%;
|
353
|
+
min-height: 44px; }
|
354
|
+
.pswp__caption small {
|
355
|
+
font-size: 11px;
|
356
|
+
color: #BBB; }
|
357
|
+
|
358
|
+
.pswp__caption__center {
|
359
|
+
text-align: left;
|
360
|
+
max-width: 420px;
|
361
|
+
margin: 0 auto;
|
362
|
+
font-size: 13px;
|
363
|
+
padding: 10px;
|
364
|
+
line-height: 20px;
|
365
|
+
color: #1c0950; }
|
366
|
+
|
367
|
+
.pswp__caption--empty {
|
368
|
+
display: none; }
|
369
|
+
|
370
|
+
/* Fake caption element, used to calculate height of next/prev image */
|
371
|
+
.pswp__caption--fake {
|
372
|
+
visibility: hidden; }
|
373
|
+
|
374
|
+
/*
|
375
|
+
|
376
|
+
6. Additional styles
|
377
|
+
|
378
|
+
*/
|
379
|
+
/* root element of UI */
|
380
|
+
.pswp__ui {
|
381
|
+
-webkit-font-smoothing: auto;
|
382
|
+
visibility: visible;
|
383
|
+
opacity: 1;
|
384
|
+
z-index: 100049; }
|
385
|
+
|
386
|
+
/* top black bar with buttons and "1 of X" indicator */
|
387
|
+
.pswp__top-bar {
|
388
|
+
position: absolute;
|
389
|
+
left: 0;
|
390
|
+
top: 0;
|
391
|
+
height: 44px;
|
392
|
+
width: 100%; }
|
393
|
+
|
394
|
+
.pswp__caption,
|
395
|
+
.pswp__top-bar,
|
396
|
+
.pswp--has_mouse .pswp__button--arrow--left,
|
397
|
+
.pswp--has_mouse .pswp__button--arrow--right {
|
398
|
+
-webkit-backface-visibility: hidden;
|
399
|
+
will-change: opacity;
|
400
|
+
transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }
|
401
|
+
|
402
|
+
/* pswp--has_mouse class is added only when two subsequent mousemove events occur */
|
403
|
+
.pswp--has_mouse .pswp__button--arrow--left,
|
404
|
+
.pswp--has_mouse .pswp__button--arrow--right {
|
405
|
+
visibility: visible; }
|
406
|
+
|
407
|
+
/* pswp__ui--idle class is added when mouse isn't moving for several seconds (JS option timeToIdle) */
|
408
|
+
.pswp__ui--idle .pswp__top-bar {
|
409
|
+
opacity: 0; }
|
410
|
+
|
411
|
+
.pswp__ui--idle .pswp__button--arrow--left,
|
412
|
+
.pswp__ui--idle .pswp__button--arrow--right {
|
413
|
+
opacity: 0; }
|
414
|
+
|
415
|
+
/*
|
416
|
+
pswp__ui--hidden class is added when controls are hidden
|
417
|
+
e.g. when user taps to toggle visibility of controls
|
418
|
+
*/
|
419
|
+
.pswp__ui--hidden .pswp__top-bar,
|
420
|
+
.pswp__ui--hidden .pswp__caption,
|
421
|
+
.pswp__ui--hidden .pswp__button--arrow--left,
|
422
|
+
.pswp__ui--hidden .pswp__button--arrow--right {
|
423
|
+
/* Force paint & create composition layer for controls. */
|
424
|
+
opacity: 0.001; }
|
425
|
+
|
426
|
+
/* pswp__ui--one-slide class is added when there is just one item in gallery */
|
427
|
+
.pswp__ui--one-slide .pswp__button--arrow--left,
|
428
|
+
.pswp__ui--one-slide .pswp__button--arrow--right,
|
429
|
+
.pswp__ui--one-slide .pswp__counter {
|
430
|
+
display: none; }
|
431
|
+
|
432
|
+
.pswp__element--disabled {
|
433
|
+
display: none !important; }
|
434
|
+
|
435
|
+
.pswp--minimal--dark .pswp__top-bar {
|
436
|
+
background: none; }
|
@@ -0,0 +1 @@
|
|
1
|
+
.pswp{-webkit-text-size-adjust:100%;-webkit-backface-visibility:hidden;display:none;height:100%;left:0;outline:0;overflow:hidden;position:absolute;top:0;touch-action:none;width:100%;z-index:99999}.pswp *{box-sizing:border-box}.pswp img{max-width:none}.pswp--animate_opacity{opacity:.001;transition:opacity 333ms cubic-bezier(.4,0,.22,1);will-change:opacity}.pswp--open{display:block}.pswp--zoom-allowed .pswp__img{cursor:zoom-in}.pswp--zoomed-in .pswp__img{cursor:-webkit-grab;cursor:grab}.pswp--dragging .pswp__img{cursor:-webkit-grabbing;cursor:grabbing}.pswp__bg{-webkit-backface-visibility:hidden;background:rgba(19,31,67,.5);opacity:0;transform:translateZ(0)}.pswp__bg,.pswp__scroll-wrap{height:100%;left:0;position:absolute;top:0;width:100%}.pswp__scroll-wrap{overflow:hidden}.pswp__container,.pswp__zoom-wrap{bottom:0;left:0;position:absolute;right:0;top:0;touch-action:none}.pswp__container,.pswp__img{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pswp__zoom-wrap{position:absolute;transform-origin:left top;transition:transform 333ms cubic-bezier(.4,0,.22,1);width:100%}.pswp__bg{transition:opacity 333ms cubic-bezier(.4,0,.22,1);will-change:opacity}.pswp--animated-in .pswp__bg,.pswp--animated-in .pswp__zoom-wrap{transition:none}.pswp__container,.pswp__zoom-wrap{-webkit-backface-visibility:hidden}.pswp__item{bottom:0;overflow:hidden;right:0}.pswp__img,.pswp__item{left:0;position:absolute;top:0}.pswp__img{height:auto;width:auto}.pswp__img--placeholder{-webkit-backface-visibility:hidden}.pswp__img--placeholder--blank{background:linear-gradient(0deg,hsla(0,0%,100%,.85) 0,hsla(0,0%,100%,.3) 50%,hsla(0,0%,100%,.15) 65%,hsla(0,0%,100%,.075) 75.5%,hsla(0,0%,100%,.037) 82.85%,hsla(0,0%,100%,.019) 88%,hsla(0,0%,100%,0))!important}.pswp--ie .pswp__img{height:auto!important;left:0;top:0;width:100%!important}.pswp__error-msg{color:#ccc;font-size:14px;left:0;line-height:16px;margin-top:-8px;position:absolute;text-align:center;top:50%;width:100%}.pswp__error-msg a{color:#ccc;text-decoration:underline}.pswp__button{-webkit-appearance:none;border:0;box-shadow:none;cursor:pointer;display:block;float:right;margin:0;opacity:.75;overflow:visible;padding:0;transition:opacity .2s}.pswp__button:focus,.pswp__button:hover{opacity:1}.pswp__button:active{opacity:.9;outline:0}.pswp__button::-moz-focus-inner{border:0;padding:0}.pswp__ui--over-close .pswp__button--close{opacity:1}.pswp--touch .pswp__button--arrow--left,.pswp--touch .pswp__button--arrow--right{visibility:hidden}.pswp__button--arrow--left,.pswp__button--arrow--right{background:0 0;height:100px;margin-top:-50px;position:absolute;top:50%;width:70px}.pswp__button--arrow--left{left:0}.pswp__button--arrow--right{right:0}.pswp__counter,.pswp__share-modal{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pswp__share-modal{-webkit-backface-visibility:hidden;display:block;height:100%;left:0;opacity:0;padding:10px;position:absolute;top:0;transition:opacity .25s ease-out;width:100%;will-change:opacity;z-index:100099}.pswp__share-modal--hidden{display:none}.pswp__share-tooltip{-webkit-backface-visibility:hidden;background:#fff;border-radius:2px;box-shadow:0 0 35px rgba(140,152,164,.15);display:block;position:absolute;right:44px;top:15px;transform:translateY(6px);transition:transform .25s;width:auto;will-change:transform;z-index:100119}.pswp__share-tooltip a{color:#000;display:block;font-size:14px;padding:8px 12px;text-decoration:none}.pswp__share-tooltip a:hover{text-decoration:none}.pswp__share-tooltip a:first-child{border-radius:.35rem .35rem 0 0}.pswp__share-tooltip a:last-child{border-radius:0 0 .35rem .35rem}.pswp__share-tooltip a:not(.last-child){border-bottom:1px solid #f1f4f8}.pswp__share-modal--fade-in{opacity:1}.pswp__share-modal--fade-in .pswp__share-tooltip{transform:translateY(0)}.pswp--touch .pswp__share-tooltip a{color:#313131;padding:16px 12px}.pswp--touch .pswp__share-tooltip a:hover{background-color:#f9fbfd}.pswp--touch .pswp__share-tooltip a:first-child{border:6px solid transparent}.pswp__preloader{display:none}.pswp__preloader--active{display:inherit}.pswp__counter{color:#1c0950;font-size:13px;height:44px;left:0;line-height:44px;opacity:.75;padding:0 10px;position:absolute;top:0}.pswp__caption{bottom:0;left:0;min-height:44px;position:absolute;width:100%}.pswp__caption small{color:#bbb;font-size:11px}.pswp__caption__center{color:#1c0950;font-size:13px;line-height:20px;margin:0 auto;max-width:420px;padding:10px;text-align:left}.pswp__caption--empty{display:none}.pswp__caption--fake{visibility:hidden}.pswp__ui{-webkit-font-smoothing:auto;opacity:1;visibility:visible;z-index:100049}.pswp__top-bar{height:44px;left:0;position:absolute;top:0;width:100%}.pswp--has_mouse .pswp__button--arrow--left,.pswp--has_mouse .pswp__button--arrow--right,.pswp__caption,.pswp__top-bar{-webkit-backface-visibility:hidden;transition:opacity 333ms cubic-bezier(.4,0,.22,1);will-change:opacity}.pswp--has_mouse .pswp__button--arrow--left,.pswp--has_mouse .pswp__button--arrow--right{visibility:visible}.pswp__ui--idle .pswp__button--arrow--left,.pswp__ui--idle .pswp__button--arrow--right,.pswp__ui--idle .pswp__top-bar{opacity:0}.pswp__ui--hidden .pswp__button--arrow--left,.pswp__ui--hidden .pswp__button--arrow--right,.pswp__ui--hidden .pswp__caption,.pswp__ui--hidden .pswp__top-bar{opacity:.001}.pswp__ui--one-slide .pswp__button--arrow--left,.pswp__ui--one-slide .pswp__button--arrow--right,.pswp__ui--one-slide .pswp__counter{display:none}.pswp__element--disabled{display:none!important}.pswp--minimal--dark .pswp__top-bar{background:0 0}
|