Преглед изворни кода

Merge pull request #2740 from Minasokoni/style-updates

Error styling updates / added missing operation colors
bubble
shockey пре 7 година
committed by GitHub
родитељ
комит
81be6d08a6
3 измењених фајлова са 21 додато и 7 уклоњено
  1. +0
    -6
      src/core/components/operations.jsx
  2. +6
    -1
      src/style/_errors.scss
  3. +15
    -0
      src/style/_layout.scss

+ 0
- 6
src/core/components/operations.jsx Прегледај датотеку

@@ -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"} />


+ 6
- 1
src/style/_errors.scss Прегледај датотеку

@@ -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();
}


+ 15
- 0
src/style/_layout.scss Прегледај датотеку

@@ -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;


Loading…
Откажи
Сачувај