Skip to content

Commit 81be6d0

Browse files
authored
Merge pull request #2740 from Minasokoni/style-updates
Error styling updates / added missing operation colors
2 parents eefe126 + 2b37eef commit 81be6d0

File tree

3 files changed

+21
-7
lines changed

3 files changed

+21
-7
lines changed

src/core/components/operations.jsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,6 @@ export default class Operations extends React.Component {
5959
</small>
6060
}
6161

62-
<button className="expand-methods" title="Expand all methods">
63-
<svg className="expand" width="20" height="20">
64-
<use xlinkHref="#expand" />
65-
</svg>
66-
</button>
67-
6862
<button className="expand-operation" title="Expand operation" onClick={() => layoutActions.show(isShownKey, !showTag)}>
6963
<svg className="arrow" width="20" height="20">
7064
<use xlinkHref={showTag ? "#large-arrow-down" : "#large-arrow"} />

src/style/_errors.scss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,18 @@
99
border-radius: 4px;
1010
background: rgba($_color-delete, .1);
1111

12+
.error-wrapper
13+
{
14+
margin: 0 0 10px 0;
15+
}
16+
1217
.errors
1318
{
1419
h4
1520
{
1621
font-size: 14px;
1722

18-
margin: 0 0 10px 0;
23+
margin: 0;
1924

2025
@include text_code();
2126
}

src/style/_layout.scss

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,21 @@ body
286286
@include method($_color-get);
287287
}
288288

289+
&.opblock-patch
290+
{
291+
@include method($_color-patch);
292+
}
293+
294+
&.opblock-head
295+
{
296+
@include method($_color-head);
297+
}
298+
299+
&.opblock-options
300+
{
301+
@include method($_color-options);
302+
}
303+
289304
&.opblock-deprecated
290305
{
291306
opacity: .6;

0 commit comments

Comments
 (0)