This repository has been archived by the owner on Sep 13, 2022. It is now read-only.
forked from mamutthe/image-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
184 lines (163 loc) · 3.26 KB
/
style.css
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
:root {
--white: hsl(45, 29%, 97%);
--bluishblack: hsl(221, 39%, 11%);
}
.body {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 97vh;
background-color: var(--white);
border-radius: 25px;
box-shadow: rgba(0, 0, 0, 0.15) 0px 25px 30px 10px;
}
.mainHeader {
display: flex;
align-items: center;
height: 15%;
margin-top: 1%;
margin-bottom: 2%;
}
.mainTitle {
font-family: "Inter", sans-serif;
font-weight: 900;
font-size: 4.5rem;
color: var(--bluishblack);
}
.workspace {
display: flex;
flex-direction: row;
justify-content: center;
width: 100%;
}
.currentImageContainer {
order: 1;
height: 100%;
width: 38%;
overflow: hidden;
margin-left: 2.5%;
margin-right: 2.5%;
border-radius: 5%;
box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 30px -12px;
}
.currentImage {
height: 100%;
width: 100%;
}
.leftNavbar {
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
order: 0;
}
.rightNavbar {
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
order: 2;
}
.footer {
margin-top: auto;
width: 100%;
height: 4vw;
background-color: var(--bluishblack);
border-bottom-left-radius: 25px;
border-bottom-right-radius: 25px;
}
.filterButton {
position: relative;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 1%;
height: 5.5vw;
width: 5.5vw;
border: solid 2px transparent;
border-radius: 25%;
box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 30px -15px;
}
.filterButton:hover {
cursor: pointer;
}
.filterButton::before {
content: "";
opacity: 1;
transition: opacity 450ms ease-in-out;
}
.filterButton:hover::before {
opacity: 1;
position: absolute;
inset: 0;
border-radius: 25%;
padding: 3px;
margin: -2px;
background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
background-size: 400% 400%;
animation: gradient 4s ease infinite;
}
.buttonIcon {
position: absolute;
height: 70%;
width: 70%;
filter: invert(8%) sepia(19%) saturate(1583%) hue-rotate(182deg)
brightness(96%) contrast(96%);
}
@keyframes gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
.range {
-webkit-appearance: none;
width: 200px;
height: 5px;
background: #a8cbee;
border-radius: 5px;
}
.range::-webkit-slider-runnable-track,
.range::-moz-range-track {
-webkit-appearance: none;
box-shadow: none;
border: none;
background: transparent;
}
.range:active::-webkit-slider-thumb,
.range:active::-moz-range-thumb {
outline: solid #1976d236 12px;
}
.range::-webkit-slider-thumb,
.range::-moz-range-thumb {
transition: outline 75ms linear;
-webkit-appearance: none;
height: 5px;
width: 5px;
border-radius: 50%;
outline: solid #1976d236 7.5px;
padding: 8px;
background: #1976d2;
cursor: pointer;
box-shadow: 0 0 2px 0 #555;
border: none;
}
button-entry {
display: flex;
width: 100%;
justify-content: end;
}
button-action {
display: flex;
margin: 0 1em;
align-items: center;
}