| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- $flatLinksClass: '.flat-links';
- .flat-links {
- padding-left: 15px;
- display: flex;
- flex-direction: row;
- flex-wrap: wrap;
- justify-content: space-between;
- @media (max-width: 768px) {
- display: none;
- }
- &__item {
- padding: 5px;
- height: 90px;
- width: 49%;
- margin-bottom: 10px;
- background: #929292;
- display: flex;
- flex-direction: row;
- justify-content: flex-start;
- vertical-align: middle;
- align-items: center;
- &:hover {
- text-decoration: none;
- background: #004d7b;
- }
- &-icon {
- display: block;
- }
- &-description {
- display: block;
- margin-left: 10px;
- color: #fff;
- font-weight: 700;
- font-size: 13px;
- }
- }
- &--mobile {
- display: none;
- @media (max-width: 768px) {
- display: block;
- }
- flex-direction: column;
- padding-left: 0;
- #{$flatLinksClass}__item {
- width: 100%;
- }
- }
- &--news {
- display: none;
- @media (max-width: 768px) {
- display: block;
- }
- flex-direction: column;
- padding-left: 0;
- #{$flatLinksClass}__item {
- width: 100%;
- }
- }
- &--vertical {
- flex-direction: column;
- padding-left: 0;
- #{$flatLinksClass}__item {
- width: 100%;
- }
- }
- }
|