_about.scss
2 weeks ago
_admin_menu.scss
2 weeks ago
_dashboard.scss
2 weeks ago
_media.scss
2 weeks ago
_panel.scss
2 weeks ago
_responsive.scss
2 weeks ago
_rtl.scss
2 weeks ago
_about.scss
169 lines
| 1 | @use 'sass:color'; |
| 2 | @use "../utilities/variables"; |
| 3 | |
| 4 | @mixin about { |
| 5 | .wppd-about-content { |
| 6 | .wppd-content-body { |
| 7 | display: flex; |
| 8 | flex-direction: column; |
| 9 | gap: 20px; |
| 10 | |
| 11 | p { |
| 12 | font-size: 15px; |
| 13 | } |
| 14 | } |
| 15 | |
| 16 | .plugin-features { |
| 17 | display: grid; |
| 18 | grid-template-columns: repeat(2, 1fr); |
| 19 | grid-template-rows: repeat(2, 1fr); |
| 20 | gap: 20px; |
| 21 | |
| 22 | .feature-item { |
| 23 | background-color: variables.$background_side; |
| 24 | padding: 20px; |
| 25 | border-radius: 10px; |
| 26 | corner-shape: squircle; |
| 27 | border: 1px solid variables.$border_color; |
| 28 | display: flex; |
| 29 | flex-direction: column; |
| 30 | align-items: center; |
| 31 | gap: 15px; |
| 32 | |
| 33 | &:hover { |
| 34 | background-color: variables.$background_light; |
| 35 | } |
| 36 | |
| 37 | strong { |
| 38 | display: flex; |
| 39 | align-items: center; |
| 40 | gap: 10px; |
| 41 | } |
| 42 | |
| 43 | div { |
| 44 | color: variables.$meta; |
| 45 | } |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | .social-networks { |
| 50 | display: flex; |
| 51 | align-items: center; |
| 52 | justify-content: space-between; |
| 53 | background-color: variables.$background_light; |
| 54 | padding: 15px; |
| 55 | border-radius: 10px; |
| 56 | corner-shape: squircle; |
| 57 | gap: 10px; |
| 58 | |
| 59 | div { |
| 60 | display: flex; |
| 61 | gap: 10px; |
| 62 | } |
| 63 | |
| 64 | a { |
| 65 | &:hover { |
| 66 | text-decoration: none; |
| 67 | } |
| 68 | } |
| 69 | } |
| 70 | |
| 71 | .team-members { |
| 72 | display: grid; |
| 73 | grid-template-columns: repeat(auto-fit, minmax(120px, 0.5fr)); |
| 74 | gap: 20px; |
| 75 | |
| 76 | &:hover .team-member:not(:hover) .team-member-name { |
| 77 | background-color: #3c3c3c; |
| 78 | } |
| 79 | |
| 80 | .team-member { |
| 81 | border: 1px solid variables.$border_color; |
| 82 | border-radius: 10px; |
| 83 | corner-shape: squircle; |
| 84 | overflow: hidden; |
| 85 | |
| 86 | .team-member-image { |
| 87 | height: 150px; |
| 88 | background-size: cover; |
| 89 | } |
| 90 | |
| 91 | .team-member-info { |
| 92 | font-size: 0.9em; |
| 93 | line-height: 1; |
| 94 | |
| 95 | .team-member-name { |
| 96 | background-color: black; |
| 97 | color: white; |
| 98 | padding: 5px; |
| 99 | } |
| 100 | |
| 101 | .team-member-role { |
| 102 | background-color: variables.$background_side; |
| 103 | padding: 5px; |
| 104 | } |
| 105 | } |
| 106 | |
| 107 | .team-member-social { |
| 108 | background-color: variables.$background_light; |
| 109 | display: flex; |
| 110 | gap: 7px; |
| 111 | padding: 5px; |
| 112 | max-height: 25px; |
| 113 | } |
| 114 | } |
| 115 | } |
| 116 | |
| 117 | .github-contributors-wrapper { |
| 118 | background-color: variables.$background_light; |
| 119 | padding: 15px; |
| 120 | border-radius: 10px; |
| 121 | corner-shape: squircle; |
| 122 | |
| 123 | .github-contributors { |
| 124 | display: grid; |
| 125 | grid-template-columns: repeat(auto-fit, minmax(40px, 0.5fr)); |
| 126 | gap: 20px; |
| 127 | margin-top: 15px; |
| 128 | |
| 129 | a { |
| 130 | border-radius: 50%; |
| 131 | display: flex; |
| 132 | align-items: center; |
| 133 | justify-content: center; |
| 134 | |
| 135 | img { |
| 136 | border: 1px solid variables.$border_color; |
| 137 | border-radius: 50%; |
| 138 | width: 40px; |
| 139 | height: 40px; |
| 140 | } |
| 141 | |
| 142 | &:hover img { |
| 143 | border-color: color.scale(variables.$border_color, $lightness: -20%); |
| 144 | } |
| 145 | } |
| 146 | } |
| 147 | } |
| 148 | |
| 149 | @media only screen and (max-width: 783px) { |
| 150 | .plugin-features { |
| 151 | grid-template-columns: none; |
| 152 | } |
| 153 | } |
| 154 | |
| 155 | @media only screen and (min-width: 1600px) { |
| 156 | .team-members { |
| 157 | grid-template-columns: repeat(auto-fit, minmax(150px, 250px)); |
| 158 | |
| 159 | .team-member { |
| 160 | .team-member-image { |
| 161 | height: 250px; |
| 162 | } |
| 163 | } |
| 164 | } |
| 165 | } |
| 166 | } |
| 167 | } |
| 168 | |
| 169 |