-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 小教室 refector * style login button * add home banner * index experiences block * sort index experience * use slice * add rwd style to exp page * search bar rwd * add g0v to footer * Fix typo
- Loading branch information
Showing
35 changed files
with
810 additions
and
438 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
128 changes: 41 additions & 87 deletions
128
src/components/ExperienceSearch/ExperienceSearch.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,100 +1,54 @@ | ||
@value main-yellow, main-gray, gray-dark, gray-light from "../common/variables.module.css"; | ||
@value main-yellow, main-gray, gray-dark, gray-light, border-gray from "common/variables.module.css"; | ||
|
||
.container { | ||
display: table; | ||
width: 100%; | ||
border-collapse: collapse; | ||
|
||
aside, .content { | ||
display: table-cell; | ||
vertical-align: top; | ||
} | ||
display: flex; | ||
} | ||
|
||
aside { | ||
width: 190px; | ||
padding: 64px 0; | ||
.aside { | ||
flex: 0 0 196px; | ||
|
||
.frontButton { | ||
border-radius: 5px 0 0 5px; | ||
} | ||
.rearButton { | ||
border-radius: 0 5px 5px 0; | ||
} | ||
.frontButton, .rearButton { | ||
display: inline-block; | ||
text-align: center; | ||
width: 80px; | ||
height: 35px; | ||
line-height: 35px; | ||
border: 1px solid main-yellow; | ||
&.toggle { | ||
background-color: main-yellow; | ||
} | ||
} | ||
.splitter { | ||
margin-top: 30px; | ||
border-bottom: 1px solid #ddd; | ||
} | ||
@media (max-width: 850px) { | ||
display: none; | ||
} | ||
} | ||
|
||
.content { | ||
padding: 64px 0 64px 64px; | ||
|
||
.searchbar { | ||
.condition, .search { | ||
display: table-cell; | ||
vertical-align: top; | ||
} | ||
.condition { | ||
padding-top: 7px; | ||
} | ||
input[type=text] { | ||
border: 0; | ||
border-bottom: 1px solid black; | ||
background-color: transparent; | ||
font-size: 1.2em; | ||
padding: 5px; | ||
} | ||
|
||
.keywordGroup { | ||
margin: 10px 0 20px 0; | ||
|
||
.keyword { | ||
font-size: 0.9em; | ||
line-height: 2.5em; | ||
border: 1px dashed #aaa; | ||
border-radius: 5px; | ||
padding: 7px 13px; | ||
margin-left: 10px; | ||
.content { | ||
flex: 1 1 auto; | ||
margin-left: 64px; | ||
|
||
&:first-child { | ||
margin-left: 0; | ||
} | ||
&:hover { | ||
cursor: pointer; | ||
background-color: #f5f5f5; | ||
} | ||
} | ||
} | ||
@media (max-width: 850px) { | ||
margin-left: 0; | ||
} | ||
} | ||
|
||
svg { | ||
margin-left: 15px; | ||
width: 1.5em; | ||
height: 1.5em; | ||
.searchResult { | ||
background-color: gray-light; | ||
border: 1px solid #ccc; | ||
font-weight: 700; | ||
padding: 20px; | ||
} | ||
|
||
&:hover { | ||
cursor: pointer; | ||
} | ||
} | ||
.frontButton, .rearButton { | ||
display: inline-block; | ||
text-align: center; | ||
width: 80px; | ||
height: 35px; | ||
line-height: 35px; | ||
border: 1px solid main-yellow; | ||
&.toggle { | ||
background-color: main-yellow; | ||
} | ||
} | ||
|
||
} | ||
.frontButton { | ||
border-radius: 5px 0 0 5px; | ||
} | ||
|
||
.info { | ||
background-color: gray-light; | ||
border: 1px solid #ccc; | ||
font-weight: 700; | ||
padding: 20px; | ||
} | ||
} | ||
.rearButton { | ||
border-radius: 0 5px 5px 0; | ||
} | ||
|
||
.splitter { | ||
margin-bottom: 32px; | ||
margin-top: 32px; | ||
} |
Oops, something went wrong.