Commit 71da97ca authored by liaili's avatar liaili

1

parent fe1418d1
# http://editorconfig.org
root = true
[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false
[Makefile]
indent_style = tab
{
"extends": "eslint-config-airbnb",
"parser": "babel-eslint",
"rules": {
"spaced-comment": [0],
"no-unused-vars": [0],
"no-empty": [0],
"react/wrap-multilines": [0],
"react/no-multi-comp": [0],
"no-constant-condition": [0],
"react/jsx-no-bind": [0],
"react/prop-types": [0],
"arrow-body-style": [0],
"react/prefer-stateless-function": [0],
"semi": [0]
},
"ecmaFeatures": {
"experimentalObjectRestSpread": true
}
}
dist
node_modules
.DS_Store
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
<excludeFolder url="file://$MODULE_DIR$/temp" />
<excludeFolder url="file://$MODULE_DIR$/tmp" />
<excludeFolder url="file://$MODULE_DIR$/node_modules" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaScriptLibraryMappings">
<includedPredefinedLibrary name="ECMAScript 6" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaScriptSettings">
<option name="languageLevel" value="JSX" />
</component>
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
<OptionsSetting value="true" id="Add" />
<OptionsSetting value="true" id="Remove" />
<OptionsSetting value="true" id="Checkout" />
<OptionsSetting value="true" id="Update" />
<OptionsSetting value="true" id="Status" />
<OptionsSetting value="true" id="Edit" />
<ConfirmationsSetting value="0" id="Add" />
<ConfirmationsSetting value="0" id="Remove" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/antd-test.iml" filepath="$PROJECT_DIR$/.idea/antd-test.iml" />
</modules>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$USER_HOME$" vcs="Git" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectTasksOptions" suppressed-tasks="Less;Babel">
<TaskOptions isEnabled="false">
<option name="arguments" value="--no-color $FileName$" />
<option name="checkSyntaxErrors" value="true" />
<option name="description" value="Compiles .less files into .css files" />
<option name="exitCodeBehavior" value="ERROR" />
<option name="fileExtension" value="less" />
<option name="immediateSync" value="true" />
<option name="name" value="Less" />
<option name="output" value="$FileNameWithoutExtension$.css" />
<option name="outputFilters">
<array>
<FilterInfo>
<option name="description" value="lessc error format" />
<option name="name" value="lessc" />
<option name="regExp" value="$MESSAGE$\Q in \E$FILE_PATH$\Q on line \E$LINE$\Q, column \E$COLUMN$" />
</FilterInfo>
</array>
</option>
<option name="outputFromStdout" value="true" />
<option name="program" value="/usr/local/bin/lessc" />
<option name="scopeName" value="Project Files" />
<option name="trackOnlyRoot" value="false" />
<option name="workingDir" value="$FileDir$" />
<envs />
</TaskOptions>
</component>
</project>
\ No newline at end of file
This diff is collapsed.
......@@ -39,4 +39,5 @@
</body>
<script src="./common.js"></script>
<script src="./index.js"></script>
<script src="./flexible.debug.js"></script>
</html>
......@@ -10,115 +10,48 @@
.product-notice {
background: #313139;
& > div {
//padding:20px 0;
h2 {
width: 87.5%;
width: 8.75rem;
margin: 0 auto;
font-size: 20px;
padding: 20px 0 20px;
font-size: 0.5rem;
padding: 0.5rem 0 0.5rem;
&:before {
content: '';
display: inline-block;
width: 6px;
height: 20px;
width: 0.16rem;
height: 0.5rem;
background: #ff4a4b;
position: relative;
top: 2px;
left: -10px;
top: 0.06rem;
left: -0.3rem;
}
}
&:nth-child(2) {
border: 2px solid #222228;
padding: 20px 0;
padding: 0.5rem 0;
p {
width: 87.5%;
margin: 10px auto;
font-size: 14px;
width: 8.75rem;
margin: 0.3rem auto;
font-size: 0.4rem;
font-family: Adobe Heiti Std;
line-height: 20px;
line-height: 0.6rem;
&:first-child {
margin-bottom: 30px;
margin-bottom: 0.8rem;
}
&:last-child {
margin-top: 30px;
margin-top: 0.8rem;
}
}
}
}
.time {
padding: 10px 0;
width: 87.5%;
padding: 0.3rem 0;
width: 8.75rem;
text-align: right;
span {
font-size: 14px;
font-size: 0.4rem;
}
}
}
@media screen and (max-width: 415px) {
.product-notice {
height: 100vh;
& > div {
padding: 16px 0;
h2 {
font-size: 18px;
&:before {
width: 4px;
height: 18px;
background: #ff4a4b;
position: relative;
top: 3px;
left: -10px;
}
}
}
}
}
@media screen and (min-width: 767px) {
.product-notice {
height: 100vh;
& > div {
padding: 30px 0;
h2 {
font-size: 28px;
&:before {
width: 6px;
height: 28px;
background: #ff4a4b;
position: relative;
top: 4px;
left: -10px;
}
}
&:nth-child(2) {
border: 2px solid #222228;
padding: 20px 0;
p {
width: 87.5%;
margin: 10px auto;
font-size: 18px;
line-height: 28px;
&:first-child {
margin-bottom: 30px;
}
&:last-child {
margin-top: 30px;
}
}
}
}
.time {
padding: 20px 0;
width: 87.5%;
text-align: right;
span {
font-family: Microsoft YaHei, simhei, Tahoma, Arial;
font-size: 18px;
}
}
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment