|
@@ -1,5 +1,6 @@
|
|
|
@charset "UTF-8";
|
|
|
|
|
|
+/* reset css start ---------> */
|
|
|
html,
|
|
|
body {
|
|
|
height: 100%;
|
|
@@ -8,17 +9,101 @@ body {
|
|
|
|
|
|
html > body {
|
|
|
font-size: 12px;
|
|
|
+ background-color: #F5F6F7;
|
|
|
}
|
|
|
|
|
|
input, textarea {
|
|
|
caret-color: #2cb7ca;
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+/* 清除默认样式 */
|
|
|
+ul,
|
|
|
+ol {
|
|
|
+ list-style: none;
|
|
|
+}
|
|
|
+/*清除输入框内阴影*/
|
|
|
+input,
|
|
|
+textarea,
|
|
|
+select,
|
|
|
+button {
|
|
|
+ outline: none;
|
|
|
+ border: 0;
|
|
|
+ -webkit-appearance: none;
|
|
|
+ appearance: none;
|
|
|
+}
|
|
|
+button,
|
|
|
+span,
|
|
|
+div {
|
|
|
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
|
+ /* -webkit-user-modify:read-only; */
|
|
|
+}
|
|
|
+img {
|
|
|
+ border: 0;
|
|
|
+ vertical-align: middle;
|
|
|
+ max-width: 100%;
|
|
|
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
|
+}
|
|
|
+a {
|
|
|
+ text-decoration: none;
|
|
|
+ color: #3d3d3d;
|
|
|
+ -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
|
|
|
+ -webkit-user-select: none;
|
|
|
+ -moz-user-focus: none;
|
|
|
+ -moz-user-select: none;
|
|
|
+}
|
|
|
+/*禁用长按页面时的弹出菜单(iOS下有效) ,img和a标签都要加*/
|
|
|
+img,
|
|
|
+a {
|
|
|
+ -webkit-touch-callout: none;
|
|
|
+}
|
|
|
+
|
|
|
+/* reset css end ------ */
|
|
|
+
|
|
|
+/* common css class start */
|
|
|
+.clearfix {
|
|
|
+ zoom: 1;
|
|
|
+}
|
|
|
+.clearfix:after {
|
|
|
+ clear: both;
|
|
|
+ height: 0;
|
|
|
+ overflow: hidden;
|
|
|
+ display: block;
|
|
|
+ visibility: hidden;
|
|
|
+ content: '';
|
|
|
+}
|
|
|
+.left {
|
|
|
+ float: left;
|
|
|
+}
|
|
|
+.right {
|
|
|
+ float: right;
|
|
|
+}
|
|
|
+.ellipsis {
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ white-space: nowrap;
|
|
|
+}
|
|
|
+/* 超过2行省略号显示 */
|
|
|
+.ellipsis-2 {
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ display: -webkit-box;
|
|
|
+ -webkit-line-clamp: 2;
|
|
|
+ -webkit-box-orient: vertical;
|
|
|
+}
|
|
|
+/* 超过3行省略号显示 */
|
|
|
+.ellipsis-3 {
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ display: -webkit-box;
|
|
|
+ -webkit-line-clamp: 3;
|
|
|
+ -webkit-box-orient: vertical;
|
|
|
+}
|
|
|
.scrollbar-none::-webkit-scrollbar {
|
|
|
display: none;
|
|
|
}
|
|
|
|
|
|
-/*禁止长按复制 加给body*/
|
|
|
+/* 禁止长按复制 加给body ---- */
|
|
|
.no-touch {
|
|
|
-webkit-touch-callout: none;
|
|
|
-webkit-user-select: none;
|
|
@@ -48,6 +133,8 @@ input, textarea {
|
|
|
color: #2cb7ca;
|
|
|
}
|
|
|
|
|
|
+/* common css class end ---- */
|
|
|
+
|
|
|
/* j-container布局 start ---- */
|
|
|
.j-container {
|
|
|
display: flex;
|