Merge pull request #2740 from Minasokoni/style-updates

Error styling updates / added missing operation colors
This commit is contained in:
shockey
2017-03-19 12:38:20 -07:00
committed by GitHub
3 changed files with 21 additions and 7 deletions

View File

@@ -59,12 +59,6 @@ export default class Operations extends React.Component {
</small>
}
<button className="expand-methods" title="Expand all methods">
<svg className="expand" width="20" height="20">
<use xlinkHref="#expand" />
</svg>
</button>
<button className="expand-operation" title="Expand operation" onClick={() => layoutActions.show(isShownKey, !showTag)}>
<svg className="arrow" width="20" height="20">
<use xlinkHref={showTag ? "#large-arrow-down" : "#large-arrow"} />

View File

@@ -9,13 +9,18 @@
border-radius: 4px;
background: rgba($_color-delete, .1);
.error-wrapper
{
margin: 0 0 10px 0;
}
.errors
{
h4
{
font-size: 14px;
margin: 0 0 10px 0;
margin: 0;
@include text_code();
}

View File

@@ -286,6 +286,21 @@ body
@include method($_color-get);
}
&.opblock-patch
{
@include method($_color-patch);
}
&.opblock-head
{
@include method($_color-head);
}
&.opblock-options
{
@include method($_color-options);
}
&.opblock-deprecated
{
opacity: .6;