File tree Expand file tree Collapse file tree
frontend/src/modules/editor/selectTheme Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66}
77
88.theme-list-item {
9- height : 280 px ;
9+ height : 295 px ;
1010 width : 275px ;
1111 margin-left :0px ;
1212 margin-right : 30px ;
2121 border : 1px solid #d6f2f9 ;
2222
2323 &-inner {
24- padding-top : 20px ;
25-
2624 .theme-header {
25+ padding : 20px 0 ;
26+
2727 .display-name {
2828 padding-left : 20px ;
2929 font-size : 175% ;
3232
3333 .description {
3434 padding-left : 20px ;
35- padding-bottom : 15px ;
3635 font-size : 110% ;
3736 color : @quaternary-color ;
3837 }
38+ }
3939
40- .theme-preview {
41- position : relative ;
42- height : 100% ;
43- width : 100% ;
44-
45- .fa {
46- color :rgb (214 , 242 , 249 );
47- font-size : 50px ;
48- padding-top : 70px ;
49- padding-left : 116px ;
50- }
40+ .theme-preview {
41+ position : relative ;
42+ height : 205px ;
43+ width : 100% ;
5144
45+ .fa {
46+ color :rgb (214 , 242 , 249 );
47+ position : absolute ;
48+ font-size : 70px ;
49+ top : 45% ;
50+ left : 50% ;
51+ transform : translate (-50% , -50% );
5252 }
5353 }
5454 }
Original file line number Diff line number Diff line change 22 <div class =" theme-header" >
33 <div class =" display-name" ><h4 style =" color: {{ foreground_color.default }} " >{{ displayName }} </h4 ></div >
44 <div class =" description" >{{ description }} </div >
5- <div class =" theme-preview" ></div >
65 </div >
6+ <div class =" theme-preview" ></div >
77 {{ #if settings }}
88 <div class =" theme-pallet-container" >
99 <ul class =" theme-palette" >
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ define(function(require){
2424 } ,
2525
2626 postRender : function ( ) {
27- var previewUrl = '/api/theme/preview/' + this . model . get ( 'name' ) + '/' + this . model . get ( 'name' )
27+ var previewUrl = '/api/theme/preview/' + this . model . get ( 'name' ) + '/' + this . model . get ( 'name' ) ;
2828 var $previewLoc = this . $ ( '.theme-preview' ) ;
2929
3030 $ . ajax ( previewUrl , {
@@ -33,7 +33,7 @@ define(function(require){
3333 $previewLoc . prepend ( $ ( '<img/>' , { src : previewUrl , alt : Origin . l10n . t ( 'app.themepreviewalt' ) } ) ) ;
3434 } ,
3535 204 : function ( ) {
36- $previewLoc . prepend ( $ ( '<i/>' , { class : 'fa fa-file-image-o ' } ) ) ;
36+ $previewLoc . prepend ( $ ( '<i/>' , { ' class' : 'fa fa-paint-brush ' } ) ) ;
3737 }
3838 }
3939 } ) ;
You can’t perform that action at this time.
0 commit comments