Convert remaining LESS files to SCSS

This commit is contained in:
Kijin Sung 2023-08-31 02:42:34 +09:00
parent 15648d10d1
commit 84bae83d68
6 changed files with 56 additions and 46 deletions

View file

@ -1,29 +0,0 @@
.fvOff,.fvOn{
display:inline-block;
position:relative;
top:8px;
width:18px;
height:18px;
background-color:transparent;
background-size:18px 18px;
overflow:hidden;
text-indent:-1000px;
border:0;
.nodescription>& {
top: -1px;
}
}
.__simpleView .fvOff,.__simpleView .fvOn{
top:0;
}
.fvOff{
background-image: data-uri('images/star-empty.svg');
}
.fvOn{
background-image: data-uri('images/star-fill.svg');
}
.x_table.x_table-striped.x_table-hover.dsTg tr {
th:first-child, td:first-child {
text-align: center;
}
}

View file

@ -0,0 +1,32 @@
.fvOff, .fvOn {
display: inline-block;
position: relative;
top: 8px;
width: 18px;
height: 18px;
background-color: transparent;
background-size: 18px 18px;
overflow: hidden;
text-indent: -1000px;
border: 0;
.nodescription > & {
top: -1px;
}
.__simpleView & {
top: -1px;
}
}
.fvOff{
background-image: url('images/star-empty.svg');
}
.fvOn{
background-image: url('images/star-fill.svg');
}
.x_table.x_table-striped.x_table-hover.dsTg tr {
th:first-child, td:first-child {
text-align: center;
}
}

View file

@ -1,12 +1,15 @@
<load target="css/module_admin.scss" />
<load target="js/module_admin.js" />
<load target="css/module_admin.less" />
<div class="x_page-header">
<h1>{$lang->installed_modules}</h1>
</div>
<script>
xe.lang.favorite_on = '{lang("favorite")} ({lang("on")})';
xe.lang.favorite_off = '{lang("favorite")} ({lang("off")})';
</script>
<ul class="x_nav x_nav-tabs">
<li class="x_active"|cond="$act=='dispModuleAdminContent'">
<a href="{getUrl('', 'module', 'admin', 'act', 'dispModuleAdminContent')}">{$lang->installed_modules}</a>