-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy path_buttons.scss
126 lines (100 loc) · 2.82 KB
/
_buttons.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
.aesthetic-windows-95-button {
@include windows-95-pop-out;
color: $aesthetic-windows-95-black;
background-color: $aesthetic-windows-95-grey;
text-align: center;
width: 75px;
display: flex;
justify-content: center;
align-items: center;
padding: 2px;
button {
@include no-button-styles;
padding: 2px;
width: 100%;
&:focus {
@include windows-95-focus-outline;
}
}
&:active {
transform: translateY(1px);
box-shadow: 1px 1px #000;
}
&:focus {
outline: none;
}
}
.aesthetic-windows-95-button-title-bar {
@extend .aesthetic-windows-95-button;
width: 16px;
height: 16px;
font-size: 1.0rem;
padding: 0px;
padding-top: 2px;
padding-bottom: 1px;
padding-left: 2px;
padding-right: 2px;
font-family: sans-serif;
font-weight: normal;
button {
padding: 1px;
}
}
.aesthetic-windows-xp-button {
width: 75px;
height: 20px;
text-align: center;
color: $aesthetic-windows-xp-black;
background: $aesthetic-windows-xp-white;
border: 2px solid;
border-radius: 4px;
border-color: $aesthetic-windows-xp-light-blue;
&:hover {
border-bottom-color: $aesthetic-windows-xp-light-orange;
}
&:focus, &:focus-within {
border-bottom-color: $aesthetic-windows-xp-light-blue;
}
button {
@include no-button-styles;
width: 100%;
height: 100%;
&:focus {
@include windows-95-focus-outline;
}
&:active {
background: $aesthetic-windows-xp-white-dark;
}
}
}
.aesthetic-windows-xp-button-title-bar {
@extend .aesthetic-windows-xp-button;
width: 20px;
color: $aesthetic-windows-xp-white;
padding: 1px;
font-family: sans-serif;
border-color: $aesthetic-windows-xp-white;
background: linear-gradient(to bottom right, $aesthetic-windows-xp-light-blue 0%, $aesthetic-windows-xp-blue 40%, $aesthetic-windows-xp-blue 75%, $aesthetic-windows-xp-dark-blue 100%);
&:hover {
border-color: $aesthetic-windows-xp-white;
}
&:focus, &:focus-within {
border-bottom-color: $aesthetic-windows-xp-white;
}
button {
padding: 1px;
&:active {
color: $aesthetic-windows-xp-shadow;
background: linear-gradient(to bottom right, $aesthetic-windows-xp-black 0%, $aesthetic-windows-xp-dark-blue 5%, $aesthetic-windows-xp-dark-blue 50%, $aesthetic-windows-xp-blue 100%);
}
}
}
.aesthetic-windows-xp-button-title-bar-close {
@extend .aesthetic-windows-xp-button-title-bar;
background: linear-gradient(to bottom right, $aesthetic-windows-xp-light-orange 0%, $aesthetic-windows-xp-orange 40%, $aesthetic-windows-xp-orange 75%, $aesthetic-windows-xp-dark-orange 100%);
button {
&:active {
background: linear-gradient(to bottom right, $aesthetic-windows-xp-black 0%, $aesthetic-windows-xp-dark-orange 5%, $aesthetic-windows-xp-dark-orange 50%, $aesthetic-windows-xp-orange 100%);
}
}
}