-
Notifications
You must be signed in to change notification settings - Fork 22
/
_mixins.scss
50 lines (44 loc) · 1.59 KB
/
_mixins.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
@mixin no-button-styles {
// https://stackoverflow.com/questions/2460100/remove-the-complete-styling-of-an-html-button-submit
background: none;
color: inherit;
border: none;
font: inherit;
cursor: pointer;
outline: none;
}
@mixin windows-95-focus-outline {
outline: 1px dashed $aesthetic-windows-95-black;
}
@mixin windows-xp-focus-outline {
outline: 1px dashed $aesthetic-windows-xp-black;
}
@mixin windows-95-pop-out {
border: 1px solid;
border-top-color: $aesthetic-windows-95-grey-border;
border-left-color: $aesthetic-windows-95-grey-border;
border-bottom-color: $aesthetic-windows-95-grey-border-shadow;
border-right-color: $aesthetic-windows-95-grey-border-shadow;
box-shadow: 1px 1px 0 0 $aesthetic-windows-95-black;
}
@mixin windows-95-push-in {
border: 1px solid;
border-top: 1px solid $aesthetic-windows-95-black;
border-left: 1px solid $aesthetic-windows-95-black;
border-right: 1px solid $aesthetic-windows-95-grey-border;
border-bottom: 1px solid $aesthetic-windows-95-grey-border;
}
@mixin windows-95-hover-over {
border: 1px solid;
box-shadow: 1px 1px 0 0 $aesthetic-windows-95-black;
border-top: 1px solid $aesthetic-windows-95-grey-border;
border-left: 1px solid $aesthetic-windows-95-grey-border;
}
@mixin windows-xp-hover-over {
border: 1px solid;
box-shadow: 1px 1px 0 0 $aesthetic-windows-xp-shadow;
border-top: 1px solid $aesthetic-windows-xp-border-light;
border-left: 1px solid $aesthetic-windows-xp-border-light;
border-bottom: 1px solid $aesthetic-windows-xp-border-dark;
border-right: 1px solid $aesthetic-windows-xp-border-dark;
}