@ -1,5 +1,5 @@
< template >
< template >
< div :label ="$t('settings.general')" >
< div class = "appearance-tab" :label ="$t('settings.general')" >
< div class = "setting-item" >
< div class = "setting-item" >
< h2 > { { $t ( 'settings.theme' ) } } < / h2 >
< h2 > { { $t ( 'settings.theme' ) } } < / h2 >
< ul
< ul
@ -34,6 +34,9 @@
< / button >
< / button >
< / ul >
< / ul >
< / div >
< / div >
< div class = "alert neutral theme-notice" >
{ { $t ( "settings.style.appearance_tab_note" ) } }
< / div >
< div class = "setting-item" >
< div class = "setting-item" >
< h2 > { { $t ( 'settings.scale_and_layout' ) } } < / h2 >
< h2 > { { $t ( 'settings.scale_and_layout' ) } } < / h2 >
< ul class = "setting-list" >
< ul class = "setting-list" >
@ -254,49 +257,56 @@
< script src = "./appearance_tab.js" > < / script >
< script src = "./appearance_tab.js" > < / script >
< style lang = "scss" >
< style lang = "scss" >
. column- settings {
. appearance- tab {
display : flex ;
. theme - notice {
justify - content : space - evenly ;
padding : 0.5 em ;
flex - wrap : wrap ;
margin : 1 em ;
}
}
. column - settings . size - label {
. column - settings {
display : block ;
display : flex ;
margin - bottom : 0.5 em ;
justify - content : space - evenly ;
margin - top : 0.5 em ;
flex - wrap : wrap ;
}
}
. theme - list {
. column - settings . size - label {
list - style : none ;
display : block ;
display : flex ;
margin - bottom : 0.5 em ;
flex - wrap : wrap ;
margin - top : 0.5 em ;
margin : - 0.5 em 0 ;
}
height : 25 em ;
overflow - x : hidden ;
overflow - y : auto ;
scrollbar - gutter : stable ;
border - radius : var ( -- roundness ) ;
border : 1 px solid var ( -- border ) ;
padding : 0 ;
. theme - preview {
. theme - list {
font - size : 1 rem ; / / f i x f o r f i r e f o x
list - style : none ;
width : 19 rem ;
display : flex ;
display : flex ;
flex - direction : column ;
flex - wrap : wrap ;
align - items : center ;
margin : - 0.5 em 0 ;
margin : 0.5 em ;
height : 25 em ;
overflow - x : hidden ;
overflow - y : auto ;
scrollbar - gutter : stable ;
border - radius : var ( -- roundness ) ;
border : 1 px solid var ( -- border ) ;
padding : 0 ;
& . placeholder {
. theme - preview {
opacity : 0.2 ;
font - size : 1 rem ; / / f i x f o r f i r e f o x
}
width : 19 rem ;
display : flex ;
flex - direction : column ;
align - items : center ;
margin : 0.5 em ;
& . placeholder {
opacity : 0.2 ;
}
. preview - container {
. preview - container {
pointer - events : none ;
pointer - events : none ;
zoom : 0.5 ;
zoom : 0.5 ;
border : none ;
border : none ;
border - radius : var ( -- roundness ) ;
border - radius : var ( -- roundness ) ;
text - align : left ;
text - align : left ;
}
}
}
}
}
}
}