PluginProbe
Parse.ly / 3.24.3
Parse.ly v3.24.3
3.24.3 3.24.2 3.24.1 3.24.0 3.23.7 3.23.6 3.23.5 3.23.4 3.23.3 3.16.0 3.16.1 3.16.2 3.16.3 3.16.4 3.17.0 3.18.0 3.18.1 3.19.0 3.19.1 3.19.2 3.19.3 3.2.0 3.2.1 3.20.0 3.20.1 All 107 releases
wp-parsely / src / content-helper / dashboard-widget / dashboard-widget.scss

dashboard-widget.scss in Parse.ly 3.24.3, at src/content-helper/dashboard-widget/dashboard-widget.scss

147 lines 2.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @import "../common/css/variables";
2 @import "../common/css/functions";
3
4 #wp-parsely-dashboard-widget {
5 font-family: var(--base-font);
6 color: var(--base-text);
7
8 .parsely-spinner-wrapper {
9 display: flex;
10 justify-content: center;
11 margin: to_rem(190px) 0;
12
13 svg {
14 height: 22px;
15 width: 22px;
16 }
17 }
18
19 .content-helper-error-message {
20 margin-top: to_rem(18px);
21 }
22
23 p.content-helper-error-message-hint {
24 color: var(--gray-700);
25 }
26
27 .parsely-top-posts-filters {
28 margin-bottom: to_rem(10px);
29 display: flex;
30 justify-content: space-between;
31 }
32
33 .parsely-top-posts-navigation {
34 display: flex;
35 justify-content: space-between;
36 margin-top: to_rem(10px);
37
38 button {
39 border: none;
40 background: none;
41 color: var(--blue-550);
42 font-size: to_rem(12px);
43 font-weight: 600;
44 text-decoration: none;
45
46 &:disabled {
47 visibility: hidden;
48 }
49
50 &:not([disabled]):hover {
51 cursor: pointer;
52 }
53
54 }
55
56 }
57
58 .parsely-top-post-content {
59 display: flex;
60
61 // Number at left of thumbnails.
62 &::before {
63 content: counter(item) "";
64 counter-increment: item;
65 padding-right: to_rem(8px);
66 }
67
68 @media only screen and (max-width: 380px) {
69 &::before {
70 content: "";
71 padding-right: 0;
72 }
73 }
74 }
75
76 .parsely-top-posts {
77 list-style: none;
78 margin: to_rem(16px) 0 0;
79 }
80
81 .parsely-top-post {
82 margin-bottom: to_rem(16px);
83 }
84
85 .parsely-top-post-thumbnail {
86 height: 46px;
87 min-width: 46px;
88
89 img {
90 height: 100%;
91 width: 100%;
92 }
93 }
94
95 .parsely-top-post-data {
96 border-top: 1px solid var(--gray-300);
97 flex-grow: 1; // Take all remaining width.
98 margin-left: to_rem(8px);
99 padding-top: to_rem(4px);
100 }
101
102 // This element can be a link or div.
103 .parsely-top-post-title {
104 color: var(--base-text);
105 font-size: to_rem(14px);
106 margin-right: to_rem(7px);
107 }
108
109 a.parsely-top-post-title:hover {
110 color: var(--blue-550);
111 }
112
113 .parsely-top-post-icon-link {
114 position: relative;
115 top: to_rem(4px);
116
117 svg {
118 fill: #8d98a1;
119 margin-right: to_rem(3px);
120
121 &:hover {
122 fill: var(--blue-550);
123 }
124 }
125 }
126
127 .parsely-top-post-metadata {
128 margin: to_rem(4px) 0 0;
129
130 >span {
131 color: var(--gray-500);
132
133 &:not(:first-child) {
134 margin-left: to_rem(12px);
135 }
136 }
137 }
138
139 // Common class name shared with the PCH Editor Sidebar.
140 .parsely-post-metric-data {
141 float: right;
142 font-family: var(--numeric-font);
143 font-size: to_rem(18px);
144 padding-left: to_rem(10px);
145 }
146 }
147