// ==================== // Widgets CSS // ==================== .widget { padding: 30px; margin-bottom: 30px; background-color: rgba(0, 0, 0, 0.02); input { width: 100%; height: 45px; border: 1px solid $border; border-radius: 5px; padding: 10px 15px; outline: none; background-color: $white; } input[type=submit], button[type=submit] { color: $white; border: none; border-radius: 4px; background-color: $primary; } h2 { color: $dark; font-size: 24px; padding-bottom: 10px; text-transform: capitalize; } li { color: $dark; padding-bottom: 5px; &:last-child { padding-bottom: 0; } a { color: $dark; } } } .widget_tag_cloud { padding: 24px 30px 20px; background-color: rgba(0, 0, 0, 0.02); border-radius: 5px; a { display: inline-block; padding: 5px 10px; color: $white; background: $primary; border-radius: 4px; font-size: 16px !important; text-transform: capitalize; margin-bottom: 5px; &:hover { background-color: $secondary; } } } .widget_recent_entries { margin-bottom: 40px; } .widget { &__item { padding: 24px 30px 30px; background-color: rgba(0, 0, 0, 0.02); border-radius: 5px; margin-bottom: 20px; } &-title { font-weight: 500; font-size: 20px; line-height: 1.3; text-transform: uppercase; color: $dark; padding-bottom: 20px; } &__search { input { width: 100%; height: 45px; border: 1px solid $border; border-radius: 5px; padding: 10px 15px; outline: none; background-color: $white; } } &__category { li { a { color: $dark; display: flex; align-items: center; justify-content: space-between; border: 1px solid $border; border-radius: 4px; padding: 10px; margin-bottom: 10px; &:hover { background-color: $primary; color: $white; } } } } &__rpost { &-inner { display: grid; grid-template-columns: 90px auto; grid-gap: 12px; margin-bottom: 15px; &:hover { .widget__rpost-title { color: $secondary; } .rp_img img { transform: scale(1.5); } } } &-date { color: $dark; } .rp_img { overflow: hidden; border-radius: 5px; img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; transition: all 5s; } } &-title { font-size: 16px; color: $dark; padding-top: 3px; padding-bottom: 5px; } } }