blob: 765ea76857cf79077c88ca899fc949d10b94cc97 [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;
10}
11
12
13@mixin cell-info {
14 text-overflow: ellipsis;
15 white-space: nowrap;
16 max-width: 25em;
17 overflow: hidden;
18 padding: 1px 6px;
19 margin: 0px;
20}
21
22
23/**
24 * Mixin for basic color transition
25 */
26@mixin input-field {
27 outline: none;
28 font-size: 11pt;
29 border: $border-size solid $nearly-white;
30 padding: 2px;
31 margin: 0;
32}
33
34
35/**
36 * Mixing for basic text padding
37 */
38@mixin standard-text-padding {
39 padding-left: .4em;
40 padding-right: .4em;
41}
42
43
44/**
45 * Mixing for icon fonts
46 */
47@mixin icon-font {
48 font-family: 'FontAwesome';
49 white-space: nowrap;
50}
51
52
53/**
54 * Mixing for correct box sizing (probably not necessary)
55 * DEPRECATED
56 */
57@mixin box-sizing-box() {
58 -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
59 -moz-box-sizing: border-box; /* Firefox, other Gecko */
60 box-sizing: border-box; /* Opera/IE 8+ */
61}
62
63
64@mixin matchinfo-head {
65 border-top: $border-size solid $darker-orange; // #ff8000;
66 width: $left-width / 2;
67}