mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-24 11:26:53 +08:00
优化h5项目
This commit is contained in:
@@ -1,13 +1,5 @@
|
||||
@import './variables.scss';
|
||||
@import './mixin.scss';
|
||||
|
||||
html,
|
||||
body .app {
|
||||
color: #333333;
|
||||
font-family: Arial, Helvetica, 'STHeiti STXihei', 'Microsoft YaHei', Tohoma, sans-serif;
|
||||
background-color: $background-color;
|
||||
}
|
||||
|
||||
.app-container {
|
||||
padding-bottom: 50px;
|
||||
}
|
||||
$text-color: #323233;
|
||||
$border-color: #ebedf0;
|
||||
$active-color: #f2f3f5;
|
||||
$background-color: #f7f8fa;
|
||||
$background-color-light: #fafafa;
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
// mixin
|
||||
// 清除浮动
|
||||
@mixin clearfix {
|
||||
&:after {
|
||||
content: "";
|
||||
display: table;
|
||||
clear: both;
|
||||
}
|
||||
}
|
||||
|
||||
// 多行隐藏
|
||||
@mixin textoverflow($clamp:1) {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
-o-text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: $clamp;
|
||||
/*! autoprefixer: ignore next */
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
|
||||
//flex box
|
||||
@mixin flexbox($jc:space-between, $ai:center, $fd:row, $fw:nowrap) {
|
||||
display: flex;
|
||||
display: -webkit-flex;
|
||||
flex: 1;
|
||||
justify-content: $jc;
|
||||
-webkit-justify-content: $jc;
|
||||
align-items: $ai;
|
||||
-webkit-align-items: $ai;
|
||||
flex-direction: $fd;
|
||||
-webkit-flex-direction: $fd;
|
||||
flex-wrap: $fw;
|
||||
-webkit-flex-wrap: $fw;
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
|
||||
// variables
|
||||
$background-color: #f8f8f8;
|
||||
Reference in New Issue
Block a user