forked from Acode-Foundation/Acode
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathstyle.scss
More file actions
110 lines (94 loc) · 1.81 KB
/
style.scss
File metadata and controls
110 lines (94 loc) · 1.81 KB
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
.header,
header {
&.tile {
z-index: 98;
height: 45px;
background-color: rgb(153, 153, 255);
background-color: var(--primary-color);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
box-shadow: 0 2px 4px var(--box-shadow-color);
color: rgb(255, 255, 255);
color: var(--primary-text-color);
>.text {
pointer-events: all !important;
margin: auto;
font-weight: bold;
font-size: 1.2em;
white-space: nowrap;
overflow: auto;
}
}
}
.tile {
display: flex;
flex-wrap: nowrap;
align-items: center;
box-sizing: border-box;
&.drag {
pointer-events: none;
border: solid 1px rgb(255, 215, 0);
background-color: inherit !important;
pointer-events: none;
position: fixed;
font-size: 0.8em;
z-index: 9999;
.file,
.icon {
height: 24px;
width: 24px;
font-size: 1em;
background-size: 22px;
flex-shrink: 0;
}
.file {
padding: 0 !important;
}
.cancel {
display: none;
}
}
&:disabled,
&.disabled {
opacity: 0.6;
pointer-events: none;
}
* {
pointer-events: none;
}
[data-action],
[action] {
pointer-events: all !important;
}
&.cut {
opacity: 0.6;
}
>.text {
flex: 1;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
&.sub-text {
display: block;
&::after {
content: attr(data-subText);
font-size: 0.58em;
opacity: 0.6;
display: block;
position: sticky;
left: 0;
}
}
}
.icon {
height: 45px;
width: 45px;
font-size: 2em;
background-repeat: no-repeat;
background-position: center;
background-size: 1.5em;
&:active {
transition: all 100ms ease;
transform: scale(0.95) translateZ(0);
}
}
}