mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 15:05:44 +01:00
set is-info to is-link color and changed wrong class uses
This commit is contained in:
@@ -1,7 +1,5 @@
|
|||||||
//@flow
|
//@flow
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import Button, { type ButtonProps } from "./Button";
|
|
||||||
import type {File} from "@scm-manager/ui-types";
|
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
displayName: string,
|
displayName: string,
|
||||||
@@ -10,9 +8,9 @@ type Props = {
|
|||||||
|
|
||||||
class DownloadButton extends React.Component<Props> {
|
class DownloadButton extends React.Component<Props> {
|
||||||
render() {
|
render() {
|
||||||
const {displayName, url} = this.props;
|
const { displayName, url } = this.props;
|
||||||
return (
|
return (
|
||||||
<a className="button is-large is-info" href={url}>
|
<a className="button is-large is-link" href={url}>
|
||||||
<span className="icon is-medium">
|
<span className="icon is-medium">
|
||||||
<i className="fas fa-arrow-circle-down" />
|
<i className="fas fa-arrow-circle-down" />
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
@@ -25,9 +25,9 @@ class ButtonGroup extends React.Component<Props> {
|
|||||||
let historyColor = "";
|
let historyColor = "";
|
||||||
|
|
||||||
if (historyIsSelected) {
|
if (historyIsSelected) {
|
||||||
historyColor = "info is-selected";
|
historyColor = "link is-selected";
|
||||||
} else {
|
} else {
|
||||||
sourcesColor = "info is-selected";
|
sourcesColor = "link is-selected";
|
||||||
}
|
}
|
||||||
|
|
||||||
const sourcesLabel = (
|
const sourcesLabel = (
|
||||||
|
|||||||
@@ -4,6 +4,8 @@
|
|||||||
$blue: #33b2e8;
|
$blue: #33b2e8;
|
||||||
$mint: #11dfd0;
|
$mint: #11dfd0;
|
||||||
|
|
||||||
|
$info: $blue;
|
||||||
|
|
||||||
// $footer-background-color
|
// $footer-background-color
|
||||||
|
|
||||||
.is-ellipsis-overflow {
|
.is-ellipsis-overflow {
|
||||||
|
|||||||
Reference in New Issue
Block a user