Browse Source

update style

dev
xmcp 6 years ago
parent
commit
5269c5cfcc
  1. 7
      src/Flows.css
  2. 2
      src/Flows.js
  3. 2
      src/Sidebar.css

7
src/Flows.css

@ -13,8 +13,9 @@
}
.box-danger {
background-color: #fcc;
border: 2px solid #f77;
background-color: #f33;
color: white;
text-shadow: 0 0 3px black;
}
.left-container .flow-item {
@ -156,7 +157,7 @@
}
.box-content {
margin: .5em 0;
padding: .5em 0;
}
.left-container .box-content {

2
src/Flows.js

@ -356,7 +356,7 @@ class FlowSidebar extends PureComponent {
/>
</ClickHandler>
{!!this.state.error_msg &&
<div className="box box-tip flow-item box-danger">
<div className="box box-tip flow-item">
<p>回复加载失败</p>
<p>{this.state.error_msg}</p>
</div>

2
src/Sidebar.css

@ -21,7 +21,7 @@
position: fixed;
top: 0;
height: 100%;
background-color: rgba(255,255,255,.7);
background-color: rgba(255,255,255,.8);
overflow-y: auto;
padding-top: 3em;
padding-bottom: 1em;

Loading…
Cancel
Save