Merge pull request #2740 from Minasokoni/style-updates
Error styling updates / added missing operation colors
This commit is contained in:
@@ -59,12 +59,6 @@ export default class Operations extends React.Component {
|
|||||||
</small>
|
</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)}>
|
<button className="expand-operation" title="Expand operation" onClick={() => layoutActions.show(isShownKey, !showTag)}>
|
||||||
<svg className="arrow" width="20" height="20">
|
<svg className="arrow" width="20" height="20">
|
||||||
<use xlinkHref={showTag ? "#large-arrow-down" : "#large-arrow"} />
|
<use xlinkHref={showTag ? "#large-arrow-down" : "#large-arrow"} />
|
||||||
|
|||||||
@@ -9,13 +9,18 @@
|
|||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
background: rgba($_color-delete, .1);
|
background: rgba($_color-delete, .1);
|
||||||
|
|
||||||
|
.error-wrapper
|
||||||
|
{
|
||||||
|
margin: 0 0 10px 0;
|
||||||
|
}
|
||||||
|
|
||||||
.errors
|
.errors
|
||||||
{
|
{
|
||||||
h4
|
h4
|
||||||
{
|
{
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
|
||||||
margin: 0 0 10px 0;
|
margin: 0;
|
||||||
|
|
||||||
@include text_code();
|
@include text_code();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -286,6 +286,21 @@ body
|
|||||||
@include method($_color-get);
|
@include method($_color-get);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.opblock-patch
|
||||||
|
{
|
||||||
|
@include method($_color-patch);
|
||||||
|
}
|
||||||
|
|
||||||
|
&.opblock-head
|
||||||
|
{
|
||||||
|
@include method($_color-head);
|
||||||
|
}
|
||||||
|
|
||||||
|
&.opblock-options
|
||||||
|
{
|
||||||
|
@include method($_color-options);
|
||||||
|
}
|
||||||
|
|
||||||
&.opblock-deprecated
|
&.opblock-deprecated
|
||||||
{
|
{
|
||||||
opacity: .6;
|
opacity: .6;
|
||||||
|
|||||||
Reference in New Issue
Block a user