Revision a891045c
Von Hans P. Schlaepfer vor fast 4 Jahren hinzugefügt
css/less/mixins.less | ||
---|---|---|
1 |
/* ------------------------------------------------------------- */ |
|
2 |
/* MIXINS (mixins.less) */ |
|
3 |
/* ------------------------------------------------------------- */ |
|
4 |
|
|
1 | 5 |
// ---------------------------------------------------------------------------- |
2 | 6 |
// |
3 | 7 |
// MIXINS (general sitewide properties) |
... | ... | |
28 | 32 |
// see also Caption in tables.less |
29 | 33 |
.mx-h3-caption { |
30 | 34 |
font-size : @table-caption-size ; |
31 |
font-style: @h3-style; |
|
35 |
//font-style: @h3-style;
|
|
32 | 36 |
font-weight: @h3-weight; |
33 | 37 |
color: @table-caption-color !important ; |
34 | 38 |
padding: 0.2em 0 0.2em 0.2em; |
35 |
margin: 0; |
|
39 |
margin: 0.1em 0 0.4em 0 ; |
|
40 |
//margin: 0; |
|
36 | 41 |
text-align: left; |
42 |
letter-spacing: 0.12em; |
|
37 | 43 |
} |
38 | 44 |
|
39 | 45 |
// ------------------- |
... | ... | |
50 | 56 |
// -------------------------------------- |
51 | 57 |
.mx-thead-th { |
52 | 58 |
color: @t-cell-head-text ; |
53 |
background-color: @brand-strong ;
|
|
59 |
background-color: @t-cell-head-bg ;
|
|
54 | 60 |
border-top: 1px solid @table-border-color; |
55 | 61 |
border-bottom: 1px solid @table-border-color; |
56 | 62 |
text-align: left ; |
... | ... | |
61 | 67 |
// -------------------------------------- |
62 | 68 |
.mx-button { |
63 | 69 |
display: inline-block ; |
64 |
cursor: auto ;
|
|
70 |
cursor: pointer ;
|
|
65 | 71 |
width: auto ; |
66 | 72 |
padding: 0.2em 0.6em; |
67 | 73 |
font-size: @font-size-smaller ; |
... | ... | |
70 | 76 |
text-align: center; |
71 | 77 |
border-style: solid; |
72 | 78 |
border-width: 1px; |
73 |
border-radius: 3px;
|
|
79 |
border-radius: @button-border-radius;
|
|
74 | 80 |
} |
75 | 81 |
// ------------------- |
76 | 82 |
// STRONG |
77 | 83 |
// |
78 | 84 |
// for links, labels, buttons (no :link pseudo class) |
79 | 85 |
.mx-button-standard{ |
80 |
border-color: @btn-default-color ;
|
|
81 |
background-color: @btn-default-bg ;
|
|
82 |
color: @btn-default-color ;
|
|
86 |
border: @button-strong-border ;
|
|
87 |
background-color: @button-strong-bg ;
|
|
88 |
color: @button-strong-color ;
|
|
83 | 89 |
text-decoration: none; |
84 | 90 |
} |
85 | 91 |
// for hover, focus, active pseudo classes |
86 | 92 |
.mx-button-standard-hover-focus{ |
87 | 93 |
&:hover{ |
88 |
border-color: @btn-default-hover-border ;
|
|
89 |
background-color: @btn-default-hover-bg;
|
|
90 |
color: @btn-default-hover-color;
|
|
94 |
border: @button-strong-hover-border ;
|
|
95 |
background-color: @button-strong-hover-bg;
|
|
96 |
color: @button-strong-hover-color;
|
|
91 | 97 |
text-decoration: none; |
92 | 98 |
} |
93 | 99 |
&:active, |
94 | 100 |
&:focus{ |
95 |
border-color: @btn-default-active-border ;
|
|
96 |
background-color: @btn-default-active-bg;
|
|
97 |
color: @btn-default-active-color;
|
|
101 |
border : @button-strong-active-border ;
|
|
102 |
background-color: @button-strong-active-bg;
|
|
103 |
color: @button-strong-active-color;
|
|
98 | 104 |
text-decoration: none; |
99 | 105 |
} |
100 | 106 |
} |
... | ... | |
103 | 109 |
// |
104 | 110 |
// for links, labels, buttons (no :link pseudo class) |
105 | 111 |
.mx-button-neutral { |
106 |
border-color: @btn-neutral-border ;
|
|
107 |
background-color: @btn-neutral-bg;
|
|
108 |
color: @btn-neutral-color;
|
|
112 |
border: @button-neutral-border ;
|
|
113 |
background-color: @button-neutral-bg;
|
|
114 |
color: @button-neutral-color;
|
|
109 | 115 |
} |
110 | 116 |
// for hover, focus, active pseudo classes |
111 | 117 |
.mx-button-neutral-hover-focus { |
112 | 118 |
&:hover{ |
113 |
border-color: @btn-neutral-hover-border ;
|
|
114 |
background-color: @btn-neutral-hover-bg;
|
|
115 |
color: @btn-neutral-hover-color;
|
|
116 |
text-decoration: none; |
|
119 |
border: @button-neutral-hover-border ;
|
|
120 |
background-color: @button-neutral-hover-bg;
|
|
121 |
color: @button-neutral-hover-color;
|
|
122 |
text-decoration: none;
|
|
117 | 123 |
} |
118 | 124 |
&:active, |
119 | 125 |
&:focus{ |
120 |
border-color: @btn-neutral-active-border ;
|
|
121 |
background-color: @btn-neutral-active-bg;
|
|
122 |
color: @btn-neutral-active-color;
|
|
126 |
border: @button-neutral-active-border ;
|
|
127 |
background-color: @button-neutral-active-bg;
|
|
128 |
color: @button-neutral-active-color;
|
|
123 | 129 |
text-decoration: none; |
124 | 130 |
} |
125 | 131 |
} |
Auch abrufbar als: Unified diff
css/less -> Geaenderte & Neue Less-Dateien