1/*
2Gitea's tailwind-style CSS helper classes have `gt-` prefix.
3Gitea's private styles use `g-` prefix.
4*/
5
6.gt-ellipsis {
7 overflow: hidden !important;
8 white-space: nowrap !important;
9 text-overflow: ellipsis !important;
10}
11
12.g-table-auto-ellipsis td.auto-ellipsis {
13 position: relative;
14}
15
16.g-table-auto-ellipsis td.auto-ellipsis span {
17 position: absolute;
18 inset: 0;
19 padding: inherit;
20 white-space: nowrap;
21 overflow: hidden;
22 text-overflow: ellipsis;
23}
24
25.interact-fg { color: inherit !important; }
26.interact-fg:hover { color: var(--color-primary) !important; }
27.interact-fg:active { color: var(--color-primary-active) !important; }
28
29.interact-bg { background: transparent !important; }
30.interact-bg:hover { background: var(--color-hover) !important; }
31.interact-bg:active { background: var(--color-active) !important; }
32
33@media (max-width: 767.98px) {
34 /* double selector so it wins over .tw-flex (old .gt-df) etc */
35 .not-mobile.not-mobile {
36 display: none !important;
37 }
38}
39@media (min-width: 767.98px) {
40 .only-mobile.only-mobile {
41 display: none !important;
42 }
43}
44
45.tab-size-1 { tab-size: 1 !important; }
46.tab-size-2 { tab-size: 2 !important; }
47.tab-size-3 { tab-size: 3 !important; }
48.tab-size-4 { tab-size: 4 !important; }
49.tab-size-5 { tab-size: 5 !important; }
50.tab-size-6 { tab-size: 6 !important; }
51.tab-size-7 { tab-size: 7 !important; }
52.tab-size-8 { tab-size: 8 !important; }
53.tab-size-9 { tab-size: 9 !important; }
54.tab-size-10 { tab-size: 10 !important; }
55.tab-size-11 { tab-size: 11 !important; }
56.tab-size-12 { tab-size: 12 !important; }
57.tab-size-13 { tab-size: 13 !important; }
58.tab-size-14 { tab-size: 14 !important; }
59.tab-size-15 { tab-size: 15 !important; }
60.tab-size-16 { tab-size: 16 !important; }