mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Convert remaining LESS files to SCSS
This commit is contained in:
parent
15648d10d1
commit
84bae83d68
6 changed files with 56 additions and 46 deletions
|
|
@ -345,9 +345,11 @@ class Cleanup extends Base
|
|||
'modules/counter/queries/updateSiteCounterPageview.xml' => 'deleted:xe',
|
||||
'modules/counter/queries/updateSiteCounterUnique.xml' => 'deleted:xe',
|
||||
'modules/counter/queries/updateSiteTotalCounterUnique.xml' => 'deleted:xe',
|
||||
'modules/editor/components/emoticon/tpl/popup.less' => 'deleted',
|
||||
'modules/editor/skins/xpresseditor/' => 'deleted:xe',
|
||||
'modules/editor/styles/' => 'deleted:xe',
|
||||
'modules/module/schemas/site_admin.xml' => 'deleted',
|
||||
'modules/module/tpl/css/module_admin.less' => 'deleted',
|
||||
'modules/page/page.wap.php' => 'deleted:xe',
|
||||
'modules/page/tpl/css/mpage.css' => 'deleted',
|
||||
'modules/spamfilter/spamfilter.lib.php' => 'deleted',
|
||||
|
|
|
|||
|
|
@ -1,12 +1,16 @@
|
|||
<load target="popup.scss" />
|
||||
<load target="popup.js" />
|
||||
<load target="popup.less" />
|
||||
{@Context::addMetaTag('viewport', 'width=device-width', FALSE);}
|
||||
|
||||
{@ Context::addMetaTag('viewport', 'width=device-width', FALSE);}
|
||||
|
||||
<script>
|
||||
var lang_success_added = '{$lang->success_added}';
|
||||
</script>
|
||||
|
||||
<div class="x_modal-header">
|
||||
<h1>{$component_info->title}</h1>
|
||||
</div>
|
||||
|
||||
<div class="x_modal-body">
|
||||
<div class="rx_tab">
|
||||
<ul class="rx_tab">
|
||||
|
|
|
|||
|
|
@ -1,14 +1,12 @@
|
|||
@charset "UTF-8";
|
||||
#emoticons{
|
||||
padding:0 10px 20px 10px;
|
||||
input.emoticon{
|
||||
#emoticons {
|
||||
padding: 0 10px 20px 10px;
|
||||
input.emoticon {
|
||||
display: inline-block;
|
||||
margin:5px;
|
||||
cursor:pointer;
|
||||
margin: 5px;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
div.rx_tab {
|
||||
width: 100%;
|
||||
white-space: nowrap;
|
||||
|
|
@ -19,13 +17,13 @@ div.rx_tab {
|
|||
list-style: outside none none;
|
||||
margin: 0;
|
||||
text-decoration: none;
|
||||
|
||||
&>li {
|
||||
|
||||
& > li {
|
||||
display: inline-block;
|
||||
height: 40px;
|
||||
line-height: 18px;
|
||||
position: relative;
|
||||
|
||||
|
||||
a {
|
||||
display: inline-block;
|
||||
color: #000;
|
||||
|
|
@ -33,20 +31,20 @@ div.rx_tab {
|
|||
letter-spacing: -1px;
|
||||
line-height: 40px;
|
||||
text-decoration: none;
|
||||
|
||||
|
||||
span {
|
||||
border-left: 1px solid #e0e0e0;
|
||||
padding: 0 15px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
a:hover,
|
||||
a:focus,
|
||||
&.rx_active a
|
||||
{
|
||||
color: #2196f3;
|
||||
}
|
||||
|
||||
|
||||
&:first-child a span {
|
||||
border-left: 0 none;
|
||||
}
|
||||
|
|
@ -58,4 +56,4 @@ div.rx_tab {
|
|||
/* for mobile view */
|
||||
div.xe_mobile {
|
||||
display:none!important;
|
||||
}
|
||||
}
|
||||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
32
modules/module/tpl/css/module_admin.scss
Normal file
32
modules/module/tpl/css/module_admin.scss
Normal 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;
|
||||
}
|
||||
}
|
||||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue