1
2@mixin active-tick {
3	position: absolute;
4	top: 50%;
5	margin-top: -10px;
6	right: 1em;
7	display: inline-block;
8	content: '\2713'; // utf8 tick
9	color: inherit;
10}
11
12div.dataTables_wrapper {
13	position: relative;
14}
15
16div.dt-buttons {
17	position: initial;
18
19	.dt-button {
20		overflow: hidden;
21		text-overflow: ellipsis;
22	}
23}
24
25div.dt-button-info {
26	position: fixed;
27	top: 50%;
28	left: 50%;
29	width: 400px;
30	margin-top: -100px;
31	margin-left: -200px;
32	background-color: white;
33	border-radius: 0.75em;
34	box-shadow: 3px 4px 10px 1px rgba(0, 0, 0, 0.8);
35	text-align: center;
36	z-index: 2003;
37	overflow: hidden;
38
39	h2 {
40		padding: 2rem 2rem 1rem 2rem;
41		margin: 0;
42		font-weight: normal;
43	}
44
45	> div {
46		padding: 1em 2em 2em 2em;
47	}
48}
49
50div.dtb-popover-close {
51	position: absolute;
52	top: 6px;
53	right: 6px;
54	width: 22px;
55	height: 22px;
56	text-align: center;
57	border-radius: 3px;
58	cursor: pointer;
59	z-index: 2003;
60}
61
62button.dtb-hide-drop {
63	display: none !important;
64}
65
66div.dt-button-collection-title {
67	text-align: center;
68	padding: 0.3em 0 0.5em;
69	margin-left: 0.5em;
70	margin-right: 0.5em;
71	font-size: 0.9em;
72}
73
74div.dt-button-collection-title:empty {
75	display: none;
76}
77
78span.dt-button-spacer {
79	display: inline-block;
80	margin: 0.5em;
81	white-space: nowrap;
82
83	&.bar {
84		border-left: 1px solid rgba(0, 0, 0, 0.3);
85		vertical-align: middle;
86		padding-left: 0.5em;
87
88		&:empty {
89			height: 1em;
90			width: 1px;
91			padding-left: 0;
92		}
93	}
94}
95
96
97
98div.dt-button-collection {
99	.dt-button-active {
100		padding-right: 3em;
101
102		&:after {
103			@include active-tick;
104		}
105
106		&.dt-button-split {
107			padding-right: 0;
108
109			&:after {
110				display: none;
111			}
112
113			> *:first-child {
114				padding-right: 3em;
115
116				&:after {
117					@include active-tick;
118				}
119			}
120		}
121	}
122
123	.dt-button-active-a a {
124		padding-right: 3em;
125
126		&:after {
127			position: absolute;
128			right: 1em;
129			display: inline-block;
130			content: '\2713'; // utf8 tick
131			color: inherit;
132		}
133	}
134
135	span.dt-button-spacer {
136		width: 100%;
137		font-size: 0.9em;
138		text-align: center;
139		margin: 0.5em 0;
140
141		&:empty {
142			height: 0;
143			width: 100%;
144		}
145
146		&.bar {
147			border-left: none;
148			border-bottom: 1px solid rgba(0, 0, 0, 0.1);
149			padding-left: 0;
150		}
151	}
152}
153
154html.dark {
155	div.dt-button-info {
156		background-color: var(--dt-html-background);
157		border: 1px solid rgba(255, 255, 255, 0.15);
158	}
159}
160