| 1 |
#dashboard-widgets .inside { |
| 2 |
|
| 3 |
// —— Feed banner (promo image) —— |
| 4 |
.bdt-dashboard-feed { |
| 5 |
margin: -12px -12px 16px -12px; |
| 6 |
line-height: 0; |
| 7 |
border-radius: 4px; |
| 8 |
overflow: hidden; |
| 9 |
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); |
| 10 |
|
| 11 |
a { |
| 12 |
display: block; |
| 13 |
text-decoration: none; |
| 14 |
} |
| 15 |
|
| 16 |
img { |
| 17 |
display: block; |
| 18 |
max-width: 100%; |
| 19 |
height: auto; |
| 20 |
vertical-align: middle; |
| 21 |
} |
| 22 |
} |
| 23 |
|
| 24 |
// —— RSS list —— |
| 25 |
.bdt-widget { |
| 26 |
ul { |
| 27 |
list-style: none; |
| 28 |
margin: 0; |
| 29 |
padding: 0; |
| 30 |
} |
| 31 |
|
| 32 |
li { |
| 33 |
border-bottom: 1px solid #e5e7eb; |
| 34 |
margin: 0 -12px; |
| 35 |
padding: 12px 12px 14px; |
| 36 |
transition: background-color 0.15s ease; |
| 37 |
|
| 38 |
&:last-child { |
| 39 |
border-bottom: none; |
| 40 |
} |
| 41 |
|
| 42 |
&:hover { |
| 43 |
background-color: #f9fafb; |
| 44 |
} |
| 45 |
} |
| 46 |
|
| 47 |
a { |
| 48 |
font-weight: 600; |
| 49 |
color: #2271b1; |
| 50 |
text-decoration: none; |
| 51 |
line-height: 1.4; |
| 52 |
display: inline-block; |
| 53 |
margin-bottom: 4px; |
| 54 |
font-size: 14px; |
| 55 |
|
| 56 |
&:hover { |
| 57 |
color: #2271b1; |
| 58 |
text-decoration: none; |
| 59 |
} |
| 60 |
} |
| 61 |
|
| 62 |
.bdt-feed-badge { |
| 63 |
display: inline-block; |
| 64 |
vertical-align: middle; |
| 65 |
font-size: 10px; |
| 66 |
font-weight: 600; |
| 67 |
text-transform: uppercase; |
| 68 |
letter-spacing: 0.03em; |
| 69 |
padding: 2px 6px; |
| 70 |
border-radius: 3px; |
| 71 |
line-height: 1.2; |
| 72 |
|
| 73 |
&--new { |
| 74 |
background: #0A875A; |
| 75 |
color: #fff; |
| 76 |
} |
| 77 |
} |
| 78 |
|
| 79 |
.bdt-date { |
| 80 |
display: block; |
| 81 |
font-size: 12px; |
| 82 |
color: #646970; |
| 83 |
margin: 0 0 6px; |
| 84 |
line-height: 1.3; |
| 85 |
} |
| 86 |
|
| 87 |
.bdt-summary { |
| 88 |
font-size: 13px; |
| 89 |
line-height: 1.5; |
| 90 |
color: #50575e; |
| 91 |
margin: 0; |
| 92 |
} |
| 93 |
} |
| 94 |
|
| 95 |
// —— Footer links (Blog | Docs | Get Pro | Changelog) —— |
| 96 |
.community-events-footer { |
| 97 |
border-top: 1px solid #e5e7eb; |
| 98 |
margin: 12px -12px 0; |
| 99 |
padding: 12px 12px 0; |
| 100 |
font-size: 13px; |
| 101 |
|
| 102 |
a { |
| 103 |
color: #50575e; |
| 104 |
text-decoration: none; |
| 105 |
|
| 106 |
&:hover { |
| 107 |
color: #2271b1; |
| 108 |
text-decoration: underline; |
| 109 |
} |
| 110 |
} |
| 111 |
|
| 112 |
.dashicons { |
| 113 |
color: #606a73; |
| 114 |
font-size: 16px; |
| 115 |
width: 16px; |
| 116 |
height: 16px; |
| 117 |
vertical-align: middle; |
| 118 |
} |
| 119 |
} |
| 120 |
} |
| 121 |
|