-
Notifications
You must be signed in to change notification settings - Fork 6.7k
/
_paginator-theme.scss
41 lines (34 loc) · 1009 Bytes
/
_paginator-theme.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
@import '../core/theming/palette';
@import '../core/theming/theming';
@import '../core/typography/typography-utils';
@mixin mat-paginator-theme($theme) {
$foreground: map-get($theme, foreground);
$background: map-get($theme, background);
.mat-paginator {
background: mat-color($background, 'card');
}
.mat-paginator,
.mat-paginator-page-size .mat-select-trigger {
color: mat-color($foreground, secondary-text);
}
.mat-paginator-increment,
.mat-paginator-decrement {
border-top: 2px solid mat-color($foreground, 'icon');
border-right: 2px solid mat-color($foreground, 'icon');
}
.mat-icon-button[disabled] {
.mat-paginator-increment,
.mat-paginator-decrement {
border-color: mat-color($foreground, 'disabled');
}
}
}
@mixin mat-paginator-typography($config) {
.mat-paginator,
.mat-paginator-page-size .mat-select-trigger {
font: {
family: mat-font-family($config, caption);
size: mat-font-size($config, caption);
}
}
}