blob: 599c19ac09106286b12305ae0c3087b578ed8755 [file] [log] [blame]
Akron7e5afce2020-08-25 15:50:19 +02001@import "colors";
2
3/**
4 * Mixin for blind elements
5 * (e.g., spans in elements with an icon background)
6 */
7@mixin blind {
8 position: absolute;
9 margin-left: -3000px;
Akronff7de692021-09-30 14:12:21 +020010 font-size: 1px;
Akron7e5afce2020-08-25 15:50:19 +020011}
12
13
14@mixin cell-info {
15 text-overflow: ellipsis;
16 white-space: nowrap;
17 max-width: 25em;
18 overflow: hidden;
19 padding: 1px 6px;
20 margin: 0px;
21}
22
23
24/**
25 * Mixin for basic color transition
26 */
27@mixin input-field {
28 outline: none;
29 font-size: 11pt;
30 border: $border-size solid $nearly-white;
31 padding: 2px;
32 margin: 0;
33}
34
35
36/**
37 * Mixing for basic text padding
38 */
39@mixin standard-text-padding {
40 padding-left: .4em;
41 padding-right: .4em;
42}
43
44
45/**
46 * Mixing for icon fonts
47 */
48@mixin icon-font {
49 font-family: 'FontAwesome';
50 white-space: nowrap;
51}
52
53
54/**
55 * Mixing for correct box sizing (probably not necessary)
56 * DEPRECATED
57 */
58@mixin box-sizing-box() {
59 -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
60 -moz-box-sizing: border-box; /* Firefox, other Gecko */
61 box-sizing: border-box; /* Opera/IE 8+ */
62}
63
64
65@mixin matchinfo-head {
66 border-top: $border-size solid $darker-orange; // #ff8000;
67 width: $left-width / 2;
Akronff7de692021-09-30 14:12:21 +020068}