summaryrefslogtreecommitdiffstats
path: root/browser/components/newtab/content-src/components/MoreRecommendations/_MoreRecommendations.scss
blob: 12a66b7c1164358df27bfad0947c11c3ddef1c99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
@use 'sass:math';

.more-recommendations {
  display: flex;
  align-items: center;
  white-space: nowrap;
  line-height: math.div(16, 13); // (16 / 13) -> 16px computed

  &::after {
    background: url('chrome://global/skin/icons/arrow-right-12.svg') no-repeat center center;
    content: '';
    -moz-context-properties: fill;
    display: inline-block;
    fill: var(--newtab-primary-action-background);
    height: 16px;
    margin-inline-start: 5px;
    vertical-align: top;
    width: 12px;
  }

  &:dir(rtl)::after  {
    background-image: url('chrome://global/skin/icons/arrow-left-12.svg');
  }
}