diff --git a/assets/popup.js b/assets/popup.js index 0a9af0c..eae7a2c 100644 --- a/assets/popup.js +++ b/assets/popup.js @@ -68,10 +68,14 @@ function goSearching(word) { tabs.push(tab); } }, function () { - $(".container").append('
'); + $(".container").append('
\n
'); for (let j in tabs) { let tab = tabs[j]; - $('.tab-result').append('

' + tab.title + '

'); + $('.tab-result').append('
'); + $("#" + tab.id).append('
' + tab.title + '
'); + $("#" + tab.id).append('
' + tab.url + '
'); + // $('.tab-result').append('
' + tab.title + '
'); + jump2Tab(tab.id); } }); diff --git a/assets/srch-res.css b/assets/srch-res.css index 3220557..68d10df 100644 --- a/assets/srch-res.css +++ b/assets/srch-res.css @@ -1,10 +1,22 @@ +body{ + background-color:#D3D3D3; + background-image:url('../where.png'); + background-repeat:no-repeat; + background-size: 1024px 1024 +} +.head { + font-size: 26px; + font-weight: 777; + font-family: "Times New Roman"; +} + input{ - outline-style: none ; + outline-style: none; border: 1px solid #ccc; border-radius: 3px; padding: 13px 14px; - width: 180px; - font-size: 10px; + width: 200px; + font-size: 16px; font-weight: 666; font-family: "Microsoft soft"; } @@ -14,4 +26,36 @@ input:focus{ outline: 0; -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6); box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6) +} + +.res-card { + position: center; + overflow: hidden; + margin-top: 7px; + margin-bottom: 7px; + width: auto; + max-width: 288px; + height: auto; + max-height: 80px; + background-color: #FFA07A; + content-visibility: auto; +} + +.t { + width: 202px; + word-break:break-all; + word-wrap:break-word; + font-size: 12px; + font-weight: 555; + font-family: "Microsoft soft"; + margin-bottom: 5px; +} + +.url { + width: 202px; + word-break:break-all; + word-wrap:break-word; + font-size: 4px; + font-weight: 22; + font-family: "Times New Roman"; } \ No newline at end of file diff --git a/srch-res.html b/srch-res.html index 925c072..46260e1 100644 --- a/srch-res.html +++ b/srch-res.html @@ -6,12 +6,12 @@ -

Where is my tab ?

-
+
Where is my tab ?
+
-
+