Skip to content

Commit 50eca05

Browse files
committed
clean-up/Remove unused Vue components
1 parent b8661a6 commit 50eca05

17 files changed

+105
-1371
lines changed

app/assets/stylesheets/snippets.scss

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,110 @@
11
@import './variables.scss';
22

3+
.move-snippet {
4+
&--search {
5+
width: 100%;
6+
box-sizing: border-box;
7+
border-radius: 2px;
8+
padding: 8px;
9+
border: 1px solid #DEF2F1;
10+
font-family: Helvetica, sans-serif;
11+
font-size: 14px;
12+
font-weight: 100;
13+
14+
&:focus { outline: none; }
15+
}
16+
17+
&--list {
18+
height: 400px;
19+
overflow-y: scroll;
20+
margin: 16px 0px;
21+
border: 1px solid #DEF2F1;
22+
border-radius: 2px;
23+
font-size: 14px;
24+
scrollbar-width: none; /* Firefox */
25+
-ms-overflow-style: none; /* Internet Explorer 10+ */
26+
27+
&::-webkit-scrollbar { /* WebKit */
28+
width: 0;
29+
height: 0;
30+
}
31+
}
32+
33+
&--item {
34+
padding: 6px 6px;
35+
display: flex;
36+
justify-content: space-between;
37+
38+
// &:nth-child(odd) {background: white}
39+
// &:nth-child(even) {background: #F2F2F2}
40+
41+
&:hover {
42+
cursor: pointer;
43+
background-color: #DEF2F1;
44+
}
45+
46+
&-selected {
47+
padding: 6px 6px;
48+
display: flex;
49+
justify-content: space-between;
50+
51+
background-color: #ffd8dd;
52+
53+
&:hover {
54+
cursor: pointer;
55+
background-color: #ffd8dd;
56+
}
57+
}
58+
}
59+
60+
&--buttons {
61+
display: flex;
62+
justify-content: flex-end;
63+
}
64+
}
65+
66+
.snippet-preview {
67+
&--container {
68+
display: block;
69+
text-decoration: none;
70+
color: inherit;
71+
72+
&:hover {
73+
text-decoration: none;
74+
cursor: pointer;
75+
}
76+
}
77+
78+
&--author-wrapper {
79+
display: flex;
80+
justify-content: space-between;
81+
}
82+
83+
&--filename {
84+
font-family: Helvetica, sans-serif;
85+
font-size: 14px;
86+
text-decoration: none;
87+
88+
&:hover { text-decoration: underline; }
89+
}
90+
91+
&--description {
92+
font-family: Helvetica, sans-serif;
93+
font-size: 14px;
94+
color: darkslategrey;
95+
}
96+
97+
&--content {
98+
max-height: 258px;
99+
overflow-y: scroll;
100+
101+
&::-webkit-scrollbar { /* WebKit */
102+
width: 0;
103+
height: 0;
104+
}
105+
}
106+
}
107+
3108
.snippets {
4109
&--list-item {
5110
text-decoration: none;

app/javascript/back-button.vue

Lines changed: 0 additions & 15 deletions
This file was deleted.

app/javascript/comment.vue

Lines changed: 0 additions & 73 deletions
This file was deleted.

app/javascript/folder-row.vue

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)