Adjust common.css

This commit is contained in:
NI
2019-09-10 19:11:20 +08:00
parent 797f4fd89c
commit c5927a5b5d
3 changed files with 39 additions and 30 deletions

View File

@@ -154,42 +154,19 @@ body {
} }
/* List */ /* List */
.lstcl1 { .lst-nostyle {
list-style: none; list-style: none;
list-style-position: inside; list-style-position: inside;
margin: 0;
padding: 0;
width: 100%;
overflow: auto;
} }
.lstcl1 > li { .hlst {
width: 33%; }
.hlst > li {
float: left; float: left;
white-space: nowrap;
}
.lstcl1 > li .lst-wrap {
padding: 10px;
margin: 10px;
background: #333;
text-overflow: ellipsis;
overflow: hidden;
box-shadow: 2px 2px 0 0 #222;
}
.lstcl1 > li .lst-wrap:hover {
background: #3a3a3a;
box-shadow: 2px 2px 0 0 #222;
}
.lstcl1 > li .lst-wrap:active {
background: #333;
} }
.lst1 { .lst1 {
list-style: none;
list-style-position: inside;
margin: 0; margin: 0;
padding: 0; padding: 0;
width: 100%; width: 100%;
@@ -207,6 +184,38 @@ body {
padding: 10px; padding: 10px;
} }
.hlst.lstcl1 {
list-style: none;
list-style-position: inside;
margin: 0;
padding: 0;
width: 100%;
overflow: auto;
}
.hlst.lstcl1 > li {
width: 33%;
white-space: nowrap;
}
.hlst.lstcl1 > li .lst-wrap {
padding: 10px;
margin: 10px;
background: #333;
text-overflow: ellipsis;
overflow: hidden;
box-shadow: 2px 2px 0 0 #222;
}
.hlst.lstcl1 > li .lst-wrap:hover {
background: #3a3a3a;
box-shadow: 2px 2px 0 0 #222;
}
.hlst.lstcl1 > li .lst-wrap:active {
background: #333;
}
/* Icon */ /* Icon */
.icon { .icon {
line-height: 1; line-height: 1;

View File

@@ -19,7 +19,7 @@
<template> <template>
<div id="connect-known-list"> <div id="connect-known-list">
<ul class="lstcl1"> <ul class="hlst lstcl1">
<li v-for="(known, kk) in knownList" :key="kk"> <li v-for="(known, kk) in knownList" :key="kk">
<div class="labels"> <div class="labels">
<span class="type" :style="'background-color: ' + known.data.color"> <span class="type" :style="'background-color: ' + known.data.color">

View File

@@ -19,7 +19,7 @@
<template> <template>
<div id="connect-new"> <div id="connect-new">
<ul class="lst1"> <ul class="lst1 lst-nostyle">
<li <li
v-for="(connector, ck) in connectors" v-for="(connector, ck) in connectors"
:key="ck" :key="ck"