File tree Expand file tree Collapse file tree 2 files changed +55
-49
lines changed
Expand file tree Collapse file tree 2 files changed +55
-49
lines changed Original file line number Diff line number Diff line change 1+ /* General */
2+
13a {
24 color : # 333844 ;
35 text-decoration : none !important ;
4547
4648# empty {
4749 height : 60vh ;
50+ color : # 333844 ;
4851}
4952
5053# empty : not (.d-none ) {
5861 font-size : 10rem ;
5962}
6063
64+ /* Loader */
65+
66+ # lfm-loader {
67+ display : none;
68+ position : fixed;
69+ top : 0 ;
70+ left : 0 ;
71+ width : 100% ;
72+ height : 100% ;
73+ background : gray;
74+ opacity : 0.7 ;
75+ z-index : 9999 ;
76+ text-align : center;
77+ }
78+ # lfm-loader : before {
79+ content : "" ;
80+ display : inline-block;
81+ vertical-align : middle;
82+ height : 100% ;
83+ }
84+ # lfm-loader img {
85+ width : 100px ;
86+ margin : 0 auto;
87+ display : inline-block;
88+ vertical-align : middle;
89+ }
90+
91+ /* Sidebar */
92+
6193.nav-pills > .nav-item > .nav-link {
6294 height : 5rem ;
6395 display : flex;
75107 color : # 333844 ;
76108}
77109
110+ /* Items */
111+
78112.square {
79113 cursor : pointer;
80114 position : relative;
81115 display : flex;
82116 align-items : center;
83117 justify-content : center;
118+ padding : 5px ;
84119}
85120
86121.grid {
97132 flex-direction : column;
98133}
99134
135+ .list a {
136+ border-top : 1px solid rgb (221 , 221 , 221 );
137+ padding : 5px 0 ;
138+ margin-top : 0px ;
139+ display : flex;
140+ flex-direction : row;
141+ }
142+
100143.grid .square {
101144 border : 1px solid rgb (221 , 221 , 221 );
145+ width : 135px ;
146+ height : 135px ;
102147}
103148
104149.list .square {
105150 margin-right : 1rem ;
151+ width : 70px ;
152+ height : 70px ;
106153}
107154
108- .square > .img-bordered {
109- margin : 5px ;
155+ .square > div {
156+ width : 100% ;
157+ height : 100% ;
110158 background-size : cover;
111159 background-position : center;
112- }
113-
114- .grid .square > .img-bordered {
115- width : 120px ;
116- height : 120px ;
117- }
118-
119- .list .square > .img-bordered {
120- width : 70px ;
121- height : 70px ;
160+ background-repeat : no-repeat;
122161}
123162
124163.square > i {
139178.list .square .selected {
140179 border : 4px solid # 75C7C3 ;
141180}
142- .square .selected > . img-bordered {
143- margin : 1px ;
181+ .square .selected {
182+ padding : 1px ;
144183}
145184
146185.grid .item_name {
150189 margin-top : -1px ;
151190 padding : 10px ;
152191 text-align : center;
153- max-width : calc (120 px + 12 px );
192+ max-width : calc (135 px );
154193}
155194
156195.list .item_name {
@@ -169,36 +208,3 @@ time {
169208.info > * {
170209 max-width : calc (100vw - 70px - 60px );
171210}
172-
173- .list a {
174- border-top : 1px solid rgb (221 , 221 , 221 );
175- padding : 5px 0 ;
176- margin-top : 0px ;
177- display : flex;
178- flex-direction : row;
179- }
180-
181- # lfm-loader {
182- display : none;
183- position : fixed;
184- top : 0 ;
185- left : 0 ;
186- width : 100% ;
187- height : 100% ;
188- background : gray;
189- opacity : 0.7 ;
190- z-index : 9999 ;
191- text-align : center;
192- }
193- # lfm-loader : before {
194- content : "" ;
195- display : inline-block;
196- vertical-align : middle;
197- height : 100% ;
198- }
199- # lfm-loader img {
200- width : 100px ;
201- margin : 0 auto;
202- display : inline-block;
203- vertical-align : middle;
204- }
Original file line number Diff line number Diff line change @@ -358,7 +358,7 @@ function loadItems() {
358358 . attr ( 'data-id' , index ) ;
359359
360360 if ( item . thumb_url ) {
361- var image = $ ( '<div>' ) . addClass ( 'img-bordered' ) . css ( 'background-image' , 'url("' + item . thumb_url + '?timestamp=' + item . time + '")' )
361+ var image = $ ( '<div>' ) . css ( 'background-image' , 'url("' + item . thumb_url + '?timestamp=' + item . time + '")' )
362362 } else {
363363 var image = $ ( '<i>' ) . addClass ( 'fa fa-5x ' + item . icon )
364364 }
You can’t perform that action at this time.
0 commit comments