PluginProbe ʕ •ᴥ•ʔ
FrontBlocks for Gutenberg/GeneratePress / 1.3.6
FrontBlocks for Gutenberg/GeneratePress v1.3.6
trunk 0.2.0 0.2.1 0.2.2 0.2.3 0.2.4 0.2.5 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.1.0 1.2.0 1.2.1 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 ci-artifacts
frontblocks / assets / reading-time / frontblocks-reading-time.css
frontblocks / assets / reading-time Last commit date
frontblocks-reading-time-option.jsx 1 month ago frontblocks-reading-time.css 8 months ago frontblocks-reading-time.js 1 month ago
frontblocks-reading-time.css
82 lines
1 /**
2 * Reading Time Block Styles
3 *
4 * @package FrontBlocks
5 */
6
7 .frbl-reading-time-wrapper {
8 display: block;
9 width: 100%;
10 }
11
12 .frbl-reading-time-wrapper.align-left {
13 text-align: left;
14 }
15
16 .frbl-reading-time-wrapper.align-center {
17 text-align: center;
18 }
19
20 .frbl-reading-time-wrapper.align-right {
21 text-align: right;
22 }
23
24 .frbl-reading-time {
25 display: inline-flex;
26 align-items: center;
27 gap: 8px;
28 padding: var(--frbl-padding, 10px);
29 background-color: var(--frbl-bg-color, transparent);
30 color: var(--frbl-text-color, inherit);
31 font-size: var(--frbl-font-size, 16px);
32 border-radius: var(--frbl-border-radius, 5px);
33 transition: all 0.3s ease;
34 }
35
36 .frbl-reading-time-icon {
37 display: inline-flex;
38 align-items: center;
39 justify-content: center;
40 color: var(--frbl-icon-color, currentColor);
41 line-height: 1;
42 flex-shrink: 0;
43 }
44
45 .frbl-reading-time-icon svg {
46 width: 1em;
47 height: 1em;
48 display: block;
49 }
50
51 .frbl-reading-time-text {
52 line-height: 1.4;
53 font-weight: 400;
54 white-space: nowrap;
55 }
56
57 /* Editor specific styles */
58 .editor-styles-wrapper .frbl-reading-time-wrapper {
59 margin-top: 0;
60 margin-bottom: 0;
61 }
62
63 /* Responsive adjustments */
64 @media (max-width: 768px) {
65 .frbl-reading-time {
66 font-size: calc(var(--frbl-font-size, 16px) * 0.9);
67 }
68 }
69
70 /* Hover effects (optional) */
71 .frbl-reading-time:hover {
72 opacity: 0.85;
73 }
74
75 /* Print styles */
76 @media print {
77 .frbl-reading-time {
78 page-break-inside: avoid;
79 }
80 }
81
82