blob: 9b8727e1aaeb32f02f7d3eff7c214cc89fffd9a4 (
plain)
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
|
#label-handler {
display: flex;
flex-direction: column;
align-items: center;
> div:first-child {
display: flex; // Puts the input and button on the same row
align-items: center; // Vertically centers items in the flex container
input {
color: black;
}
.IconButton {
margin-left: 8px; // Adds space between the input and the icon button
width: 19px;
}
}
> div:not(:first-of-type) {
display: flex;
flex-direction: column;
align-items: center; // Centers the content vertically in the flex container
width: 100%;
> div {
display: flex;
justify-content: space-between; // Puts the content and delete button on opposite ends
align-items: center;
width: 100%;
margin-top: 8px; // Adds space between label rows
p {
text-align: center; // Centers the text of the paragraph
flex-grow: 1; // Allows the paragraph to grow and occupy the available space
}
.IconButton {
// Styling for the delete button
margin-left: auto; // Pushes the button to the far right
}
}
}
}
.complexity-slider {
width: 50%; /* Full-width */
height: 25px; /* Specified height */
background: #d3d3d3; /* Grey background */
outline: none; /* Remove outline */
opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
-webkit-transition: 0.2s; /* 0.2 seconds transition on hover */
transition: opacity 0.2s;
:hover {
opacity: 1; /* Fully shown on mouse-over */
}
}
|