_about.scss
1 month ago
_admin_menu.scss
1 month ago
_dashboard.scss
1 month ago
_media.scss
1 month ago
_panel.scss
1 month ago
_responsive.scss
1 month ago
_rtl.scss
1 month ago
_dashboard.scss
79 lines
| 1 | @use 'sass:color'; |
| 2 | @use "../utilities/variables"; |
| 3 | |
| 4 | @mixin dashboard { |
| 5 | .wppd-dashboard-welcome { |
| 6 | background-color: variables.$background_light; |
| 7 | border: 1px solid variables.$border_color; |
| 8 | padding: 20px; |
| 9 | font-size: 1.5em; |
| 10 | display: flex; |
| 11 | flex-direction: column; |
| 12 | gap: 15px; |
| 13 | border-radius: 10px; |
| 14 | corner-shape: squircle; |
| 15 | margin-bottom: 30px; |
| 16 | |
| 17 | p { |
| 18 | font-size: 15px; |
| 19 | color: variables.$gray; |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | .wppd-dashboard-links-wrap { |
| 24 | display: grid; |
| 25 | grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); |
| 26 | gap: 20px; |
| 27 | |
| 28 | a { |
| 29 | display: flex; |
| 30 | flex-direction: column; |
| 31 | justify-content: space-between; |
| 32 | align-items: center; |
| 33 | gap: 15px; |
| 34 | border: 1px solid variables.$border_color; |
| 35 | background-color: variables.$background_side; |
| 36 | // #F6F5F9 |
| 37 | background-image: linear-gradient(to right top, #ffffff, #fdfdfe, #fcfcfd, #fafafc, #f8f9fb, #f8f9fb, #f8f9fb, #f8f9fb, #fafafc, #fcfcfd, #fdfdfe, #ffffff); |
| 38 | border-radius: 10px; |
| 39 | corner-shape: squircle; |
| 40 | overflow: hidden; |
| 41 | padding: 15px; |
| 42 | color: variables.$text !important; |
| 43 | text-decoration: none; |
| 44 | |
| 45 | &:hover, &:focus { |
| 46 | background-color: variables.$background_light; |
| 47 | // #F2EEFF |
| 48 | background-image: linear-gradient(to right top, #ffffff, #fcfcfd, #f8f8fa, #f4f5f8, #eff2f6, #eff2f6, #eff2f6, #eff2f6, #f4f5f8, #f8f8fa, #fcfcfd, #ffffff); |
| 49 | border-color: color.scale(variables.$border_color, $lightness: -5%);; |
| 50 | text-decoration: none !important; |
| 51 | } |
| 52 | |
| 53 | &.wppd-link-type-addons { |
| 54 | // #FFF4F4 |
| 55 | background-image: linear-gradient(to right top, #ffffff, #fdfdff, #fbfcff, #f8fafe, #f5f9fe, #f5f9fe, #f5f9fe, #f5f9fe, #f8fafe, #fbfcff, #fdfdff, #ffffff); |
| 56 | |
| 57 | &:hover, &:focus { |
| 58 | // #E3ECF4 |
| 59 | background-image: linear-gradient(to right top, #ffffff, #fbfbfd, #f6f7fb, #f1f3f9, #ebf0f7, #ebf0f7, #ebf0f7, #ebf0f7, #f1f3f9, #f6f7fb, #fbfbfd, #ffffff); |
| 60 | } |
| 61 | } |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | .wppd-dashboard-feed-news { |
| 66 | margin-top: 30px; |
| 67 | padding: 15px; |
| 68 | border: 1px solid variables.$border_color; |
| 69 | border-radius: 10px; |
| 70 | corner-shape: squircle; |
| 71 | background-color: variables.$background_light; |
| 72 | |
| 73 | .wppd-dashboard-feed-head { |
| 74 | display: block; |
| 75 | margin-bottom: 20px; |
| 76 | } |
| 77 | } |
| 78 | } |
| 79 |