forked from microsoft/pxt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscriptsearch.less
More file actions
96 lines (85 loc) · 1.88 KB
/
scriptsearch.less
File metadata and controls
96 lines (85 loc) · 1.88 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
/*******************************
Script search dialog
*******************************/
.ui.searchdialog {
.cards {
overflow-y: auto;
overflow-x: hidden;
margin-top: 0.5rem;
}
.ui.card {
height: 20rem;
.ui.cardimage {
background-color: transparent;
height: 11rem;
&.upload {
margin: 3em auto;
}
}
.content:not(.extra) {
.header {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.description {
height: 2.8em;
overflow: hidden;
}
.description.long {
height: 14em;
}
}
}
/* Search input */
.ui.search {
max-width: 50%;
margin: auto;
}
.ui.inline.loader {
margin-top: 4em;
:after, :before {
width: 4rem;
height: 4rem;
}
}
}
// reduce all card sizes
@media only screen and (max-width: @largestMobileScreen) {
.ui.searchdialog {
.ui.card, .ui.cards>.card {
width: 9rem;
height: 9rem;
.ui.cardimage {
height: 5rem;
&.upload {
margin: auto;
}
}
}
}
}
/*******************************
Script manager dialog
*******************************/
.ui.modal .empty-content {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
}
.ui.modal.scriptmanager {
.sort-by {
display: flex;
margin-bottom: 1rem;
> div {
margin-left: auto;
}
.item.no-icon {
padding-left: 3.1rem !important;
}
}
.ui.card.file .content {
margin-right: 3rem;
}
}