| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- $flatLinksClass: '.flat-links';
- .flat-links {
- &--mobile {
- display: none;
- @media (max-width: 768px) {
- display: block;
- }
- #{$flatLinksClass}__container {
- flex-direction: column;
- padding-left: 0;
- }
- #{$flatLinksClass}__item {
- width: 100%;
- }
- }
- &--news {
- display: none;
- @media (max-width: 768px) {
- display: block;
- }
- #{$flatLinksClass}__container {
- flex-direction: column;
- padding-left: 0;
- }
- #{$flatLinksClass}__item {
- width: 100%;
- }
- }
- &--vertical {
- #{$flatLinksClass}__container {
- flex-direction: column;
- padding-left: 0;
- }
- #{$flatLinksClass}__item {
- width: 100%;
- }
- }
- &__container {
- padding-left: 15px;
- display: flex;
- flex-direction: row;
- flex-wrap: wrap;
- justify-content: space-between;
- }
- &__item {
- padding: 5px;
- height: 90px;
- width: 49%;
- margin-bottom: 10px;
- background: #d7d7d7;
- 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: 15px;
- }
- }
- }
|