Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
11
  • Loading branch information
zongou committed Sep 19, 2019
1 parent 7ce30c5 commit 6e494f3
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 32 deletions.
24 changes: 0 additions & 24 deletions src/modules/Header/Weather/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@
height: 20px;
margin-right: 15px;
font-size: 14px;
position: relative;
top: 12px;
width: 48px;
}
}
/*.qlty:before {
Expand Down Expand Up @@ -151,7 +148,6 @@
&.code-44:before {
// background-image: url(icons/cloudy2.svg);
content: '\e903';
margin: auto;
}
&.code-103:before,
&.code-27:before,
Expand All @@ -160,7 +156,6 @@
&.code-30:before {
// background-image: url(icons/cloudy.svg);
content: '\e902';
margin: auto;
}
&.code-200:before,
&.code-201:before,
Expand All @@ -177,7 +172,6 @@
&.code-24:before {
// background-image: url(icons/wind.svg);
content: '\e91b';
margin: auto;
}
&.code-211:before,
&.code-212:before,
Expand All @@ -187,7 +181,6 @@
&.code-2:before {
// background-image: url(icons/tornado.svg);
content: '\e91a';
margin: auto;
}
&.code-300:before,
&.code-301:before,
Expand All @@ -196,7 +189,6 @@
&.code-40:before {
// background-image: url(icons/rain4.svg);
content: '\e90f';
margin: auto;
}
&.code-302:before,
&.code-303:before,
Expand All @@ -207,14 +199,12 @@
&.code-47:before {
// background-image: url(icons/rain6.svg);
content: '\e911';
margin: auto;
}
&.code-305:before,
&.code-309:before,
&.code-9:before {
// background-image: url(icons/rain.svg);
content: '\e90b';
margin: auto;
}
&.code-306:before {
// background-image: url(icons/rain1.svg);
Expand All @@ -223,28 +213,24 @@
&.code-307:before {
// background-image: url(icons/rain2.svg);
content: '\e90d';
margin: auto;
}
&.code-308:before,
&.code-310:before,
&.code-311:before,
&.code-312:before {
// background-image: url(icons/rain5.svg);
content: '\e910';
margin: auto;
}
&.code-313:before,
&.code-8:before,
&.code-10:before {
// background-image: url(icons/ice.svg);
content: '\e907';
margin: auto;
}
&.code-17:before,
&.code-35:before {
// background-image: url(icons/ice2.svg);
content: '\e909';
margin: auto;
}
&.code-400:before,
&.code-404:before,
Expand All @@ -259,20 +245,17 @@
&.code-46:before {
// background-image: url(icons/snow.svg);
content: '\e916';
margin: auto;
}
&.code-401:before {
// background-image: url(icons/snow1.svg);
content: '\e917';
margin: auto;
}
&.code-402:before,
&.code-403:before,
&.code-41:before,
&.code-43:before {
// background-image: url(icons/snow2.svg);
content: '\e918';
margin: auto;
}
&.code-404:before,
&.code-405:before,
Expand All @@ -281,39 +264,33 @@
&.code-7:before, {
// background-image: url(icons/rainSnow.svg);
content: '\e912';
margin: auto;
}
&.code-500:before,
&.code-501:before,
&.code-20:before {
// background-image: url(icons/fog.svg);
content: '\e905';
margin: auto;
}
&.code-22:before {
// background-image: url(icons/smoke.svg);
content: '\e915';
margin: auto;
}
&.code-502:before,
&.code-18:before,
&.code-21:before {
// background-image: url(icons/haze.svg);
content: '\e906';
margin: auto;
}
&.code-503:before,
&.code-507:before,
&.code-508:before {
// background-image: url(icons/sand.svg);
content: '\e913';
margin: auto;
}
&.code-504:before,
&.code-19:before {
// background-image: url(icons/dust.svg);
content: '\e904';
margin: auto;
}
&.code-3:before,
&.code-4:before,
Expand All @@ -326,6 +303,5 @@
&.code-3200:before {
// background-image: url(icons/noMessage.svg);
content: '\e90a';
margin: auto;
}
}
7 changes: 4 additions & 3 deletions src/modules/Navigation/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
.navigation-box {
width: 360px;
// margin: 68px auto 0;
margin: 20px auto;
margin: 10px auto;
// padding-bottom: 30px;
// border: 1px solid #eee;
.tool-bar {
display: flex;
// justify-content: space-between;
justify-content: flex-end;
align-items: center;
height: 48px;
height: 100%;
// margin-bottom: 12px;
// padding: 24px;
// border-top: 1px solid #ddd;
Expand All @@ -34,7 +34,7 @@
.tool-area {
display: flex;
align-items: center;
height: 48px;
height: 100%;
overflow: hidden;
&.hide {
display: none;
Expand Down Expand Up @@ -74,6 +74,7 @@
position: absolute;
top: 0px;
left: 0px;
padding-top: 10px;
// background: #eee;
// display: inline-block;
// margin-bottom: 10px;
Expand Down
1 change: 1 addition & 0 deletions src/modules/Search/images/chrome_web_store-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/modules/Search/images/chrome_web_store.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 4 additions & 2 deletions src/modules/Search/logo.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
}
}
.search-wrapper .logo {
width: 100%;
height: 100%;
width: 80%;
height: 80%;
margin: auto;
background-repeat: no-repeat;
background-position: center;
visibility: hidden;
Expand Down Expand Up @@ -62,4 +63,5 @@
.logo-creator('*', 'reddit.com', auto 100%, reddit);
.logo-creator('*', 'qwant.com', auto 100%, qwant);
.logo-creator('*', 'startpage.com', 100% auto, startpage);
.logo-creator('', 'chrome.google.com', auto 100%, chrome_web_store);
}
4 changes: 2 additions & 2 deletions src/modules/Search/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
transition: opacity 0.3s;
}
.search-box {
margin-top: 32px;
margin-top: 10px;
text-align: center;
}
.input-box {
Expand Down Expand Up @@ -132,7 +132,7 @@
@media screen and (max-width: 1250px) {
.search-wrapper {
input {
width: 345px;
width: 320px;
}
.logo-area {
width: 238px;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ input {
}
#app {
width: 100vw;
height: calc(~"100vh - 56px");
height: 90vh;
overflow: auto;
}
#bg, #mask {
Expand Down

0 comments on commit 6e494f3

Please sign in to comment.