mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-15 17:56:17 +01:00
More UI changes
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 48 KiB |
@@ -33,15 +33,15 @@ class ProfileInfo extends React.Component<Props, State> {
|
|||||||
<table className="table">
|
<table className="table">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{t("profile.username")}</td>
|
<td className="has-text-weight-semibold">{t("profile.username")}</td>
|
||||||
<td>{me.name}</td>
|
<td>{me.name}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{t("profile.displayName")}</td>
|
<td className="has-text-weight-semibold">{t("profile.displayName")}</td>
|
||||||
<td>{me.displayName}</td>
|
<td>{me.displayName}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{t("profile.mail")}</td>
|
<td className="has-text-weight-semibold">{t("profile.mail")}</td>
|
||||||
<td>
|
<td>
|
||||||
<MailLink address={me.mail} />
|
<MailLink address={me.mail} />
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -17,25 +17,25 @@ class Details extends React.Component<Props> {
|
|||||||
<table className="table content">
|
<table className="table content">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{t("group.name")}</td>
|
<td className="has-text-weight-semibold">{t("group.name")}</td>
|
||||||
<td>{group.name}</td>
|
<td>{group.name}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{t("group.description")}</td>
|
<td className="has-text-weight-semibold">{t("group.description")}</td>
|
||||||
<td>{group.description}</td>
|
<td>{group.description}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{t("group.type")}</td>
|
<td className="has-text-weight-semibold">{t("group.type")}</td>
|
||||||
<td>{group.type}</td>
|
<td>{group.type}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{t("group.creationDate")}</td>
|
<td className="has-text-weight-semibold">{t("group.creationDate")}</td>
|
||||||
<td>
|
<td>
|
||||||
<DateFromNow date={group.creationDate} />
|
<DateFromNow date={group.creationDate} />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{t("group.lastModified")}</td>
|
<td className="has-text-weight-semibold">{t("group.lastModified")}</td>
|
||||||
<td>
|
<td>
|
||||||
<DateFromNow date={group.lastModified} />
|
<DateFromNow date={group.lastModified} />
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -17,31 +17,31 @@ class RepositoryDetailTable extends React.Component<Props> {
|
|||||||
<table className="table">
|
<table className="table">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{t("repository.name")}</td>
|
<td className="has-text-weight-semibold">{t("repository.name")}</td>
|
||||||
<td>{repository.name}</td>
|
<td>{repository.name}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{t("repository.type")}</td>
|
<td className="has-text-weight-semibold">{t("repository.type")}</td>
|
||||||
<td>{repository.type}</td>
|
<td>{repository.type}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{t("repository.contact")}</td>
|
<td className="has-text-weight-semibold">{t("repository.contact")}</td>
|
||||||
<td>
|
<td>
|
||||||
<MailLink address={repository.contact} />
|
<MailLink address={repository.contact} />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{t("repository.description")}</td>
|
<td className="has-text-weight-semibold">{t("repository.description")}</td>
|
||||||
<td>{repository.description}</td>
|
<td>{repository.description}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{t("repository.creationDate")}</td>
|
<td className="has-text-weight-semibold">{t("repository.creationDate")}</td>
|
||||||
<td>
|
<td>
|
||||||
<DateFromNow date={repository.creationDate} />
|
<DateFromNow date={repository.creationDate} />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{t("repository.lastModified")}</td>
|
<td className="has-text-weight-semibold">{t("repository.lastModified")}</td>
|
||||||
<td>
|
<td>
|
||||||
<DateFromNow date={repository.lastModified} />
|
<DateFromNow date={repository.lastModified} />
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ class RepositoryDetails extends React.Component<Props> {
|
|||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<RepositoryDetailTable repository={repository} />
|
<RepositoryDetailTable repository={repository} />
|
||||||
|
<hr />
|
||||||
<div className="content">
|
<div className="content">
|
||||||
<ExtensionPoint
|
<ExtensionPoint
|
||||||
name="repos.repository-details.information"
|
name="repos.repository-details.information"
|
||||||
|
|||||||
@@ -9,15 +9,10 @@ import classNames from "classnames";
|
|||||||
import RepositoryAvatar from "./RepositoryAvatar";
|
import RepositoryAvatar from "./RepositoryAvatar";
|
||||||
|
|
||||||
const styles = {
|
const styles = {
|
||||||
outer: {
|
|
||||||
position: "relative"
|
|
||||||
},
|
|
||||||
overlay: {
|
overlay: {
|
||||||
position: "absolute",
|
position: "absolute",
|
||||||
left: 0,
|
height: "calc(120px - 1.5rem)",
|
||||||
top: 0,
|
width: "calc(50% - 3rem)"
|
||||||
bottom: 0,
|
|
||||||
right: 0
|
|
||||||
},
|
},
|
||||||
inner: {
|
inner: {
|
||||||
position: "relative",
|
position: "relative",
|
||||||
@@ -44,7 +39,7 @@ class RepositoryEntry extends React.Component<Props> {
|
|||||||
if (repository._links["changesets"]) {
|
if (repository._links["changesets"]) {
|
||||||
return (
|
return (
|
||||||
<RepositoryEntryLink
|
<RepositoryEntryLink
|
||||||
iconClass="fa-code-branch"
|
iconClass="fa-code-branch fa-lg"
|
||||||
to={repositoryLink + "/changesets"}
|
to={repositoryLink + "/changesets"}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
@@ -56,7 +51,7 @@ class RepositoryEntry extends React.Component<Props> {
|
|||||||
if (repository._links["sources"]) {
|
if (repository._links["sources"]) {
|
||||||
return (
|
return (
|
||||||
<RepositoryEntryLink
|
<RepositoryEntryLink
|
||||||
iconClass="fa-code"
|
iconClass="fa-code fa-lg"
|
||||||
to={repositoryLink + "/sources"}
|
to={repositoryLink + "/sources"}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
@@ -67,7 +62,7 @@ class RepositoryEntry extends React.Component<Props> {
|
|||||||
renderModifyLink = (repository: Repository, repositoryLink: string) => {
|
renderModifyLink = (repository: Repository, repositoryLink: string) => {
|
||||||
if (repository._links["update"]) {
|
if (repository._links["update"]) {
|
||||||
return (
|
return (
|
||||||
<RepositoryEntryLink iconClass="fa-cog" to={repositoryLink + "/edit"} />
|
<RepositoryEntryLink iconClass="fa-cog fa-lg" to={repositoryLink + "/edit"} />
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
@@ -77,8 +72,8 @@ class RepositoryEntry extends React.Component<Props> {
|
|||||||
const { repository, classes } = this.props;
|
const { repository, classes } = this.props;
|
||||||
const repositoryLink = this.createLink(repository);
|
const repositoryLink = this.createLink(repository);
|
||||||
return (
|
return (
|
||||||
<div className={classNames("box", "box-link-shadow", classes.outer)}>
|
<div className={classNames("box", "box-link-shadow", "column", "is-half")}>
|
||||||
<Link className={classes.overlay} to={repositoryLink} />
|
<Link className={classNames(classes.overlay)} to={repositoryLink} />
|
||||||
<article className={classNames("media", classes.inner)}>
|
<article className={classNames("media", classes.inner)}>
|
||||||
<figure className="media-left">
|
<figure className="media-left">
|
||||||
<RepositoryAvatar repository={repository} />
|
<RepositoryAvatar repository={repository} />
|
||||||
|
|||||||
@@ -6,7 +6,8 @@ import classNames from "classnames";
|
|||||||
|
|
||||||
const styles = {
|
const styles = {
|
||||||
link: {
|
link: {
|
||||||
pointerEvents: "all"
|
pointerEvents: "all",
|
||||||
|
marginRight: "1.25rem !important"
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -12,6 +12,12 @@ const styles = {
|
|||||||
},
|
},
|
||||||
repoGroup: {
|
repoGroup: {
|
||||||
marginBottom: "1em"
|
marginBottom: "1em"
|
||||||
|
},
|
||||||
|
wrapper: {
|
||||||
|
padding: "0 0.75rem"
|
||||||
|
},
|
||||||
|
clearfix: {
|
||||||
|
clear: "both"
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -59,8 +65,11 @@ class RepositoryGroupEntry extends React.Component<Props, State> {
|
|||||||
</span>
|
</span>
|
||||||
</h2>
|
</h2>
|
||||||
<hr />
|
<hr />
|
||||||
|
<div className={classNames("columns","is-multiline", classes.wrapper)}>
|
||||||
{content}
|
{content}
|
||||||
</div>
|
</div>
|
||||||
|
<div className={classes.clearfix}></div>
|
||||||
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,6 +11,11 @@ import classNames from "classnames";
|
|||||||
const styles = {
|
const styles = {
|
||||||
zeroflex: {
|
zeroflex: {
|
||||||
flexGrow: 0
|
flexGrow: 0
|
||||||
|
},
|
||||||
|
wrapper: {
|
||||||
|
padding: "1rem 1.5rem 0.25rem 1.5rem",
|
||||||
|
border: "1px solid #eee",
|
||||||
|
borderRadius: "5px 5px 0 0"
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -43,10 +48,8 @@ class BranchSelector extends React.Component<Props, State> {
|
|||||||
|
|
||||||
if (branches) {
|
if (branches) {
|
||||||
return (
|
return (
|
||||||
<div className="box field is-horizontal">
|
<div className={classNames("has-background-light field", "is-horizontal", classes.wrapper)}>
|
||||||
<div
|
<div className={classNames("field-label", "is-normal", classes.zeroflex)}>
|
||||||
className={classNames("field-label", "is-normal", classes.zeroflex)}
|
|
||||||
>
|
|
||||||
<label className="label">{t("branch-selector.label")}</label>
|
<label className="label">{t("branch-selector.label")}</label>
|
||||||
</div>
|
</div>
|
||||||
<div className="field-body">
|
<div className="field-body">
|
||||||
|
|||||||
@@ -38,10 +38,13 @@ class CreatePermissionForm extends React.Component<Props, State> {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
|
<hr />
|
||||||
<h2 className="subtitle">
|
<h2 className="subtitle">
|
||||||
{t("permission.add-permission.add-permission-heading")}
|
{t("permission.add-permission.add-permission-heading")}
|
||||||
</h2>
|
</h2>
|
||||||
<form onSubmit={this.submit}>
|
<form onSubmit={this.submit}>
|
||||||
|
<div class="columns">
|
||||||
|
<div class="column is-three-quarters">
|
||||||
<InputField
|
<InputField
|
||||||
label={t("permission.name")}
|
label={t("permission.name")}
|
||||||
value={name ? name : ""}
|
value={name ? name : ""}
|
||||||
@@ -50,23 +53,32 @@ class CreatePermissionForm extends React.Component<Props, State> {
|
|||||||
errorMessage={t("permission.add-permission.name-input-invalid")}
|
errorMessage={t("permission.add-permission.name-input-invalid")}
|
||||||
helpText={t("permission.help.nameHelpText")}
|
helpText={t("permission.help.nameHelpText")}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Checkbox
|
<Checkbox
|
||||||
label={t("permission.group-permission")}
|
label={t("permission.group-permission")}
|
||||||
checked={groupPermission ? groupPermission : false}
|
checked={groupPermission ? groupPermission : false}
|
||||||
onChange={this.handleGroupPermissionChange}
|
onChange={this.handleGroupPermissionChange}
|
||||||
helpText={t("permission.help.groupPermissionHelpText")}
|
helpText={t("permission.help.groupPermissionHelpText")}
|
||||||
/>
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="column is-one-quarter">
|
||||||
<TypeSelector
|
<TypeSelector
|
||||||
label={t("permission.type")}
|
label={t("permission.type")}
|
||||||
helpText={t("permission.help.typeHelpText")}
|
helpText={t("permission.help.typeHelpText")}
|
||||||
handleTypeChange={this.handleTypeChange}
|
handleTypeChange={this.handleTypeChange}
|
||||||
type={type ? type : "READ"}
|
type={type ? type : "READ"}
|
||||||
/>
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="columns">
|
||||||
|
<div class="column">
|
||||||
<SubmitButton
|
<SubmitButton
|
||||||
label={t("permission.add-permission.submit-button")}
|
label={t("permission.add-permission.submit-button")}
|
||||||
loading={loading}
|
loading={loading}
|
||||||
disabled={!this.state.valid || this.state.name === ""}
|
disabled={!this.state.valid || this.state.name === ""}
|
||||||
/>
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -118,7 +118,7 @@ class Permissions extends React.Component<Props> {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<table className="table is-hoverable is-fullwidth">
|
<table className="has-background-light table is-hoverable is-fullwidth">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>{t("permission.name")}</th>
|
<th>{t("permission.name")}</th>
|
||||||
|
|||||||
@@ -104,6 +104,8 @@ class UserForm extends React.Component<Props, State> {
|
|||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<form onSubmit={this.submit}>
|
<form onSubmit={this.submit}>
|
||||||
|
<div class="columns">
|
||||||
|
<div class="column is-half">
|
||||||
{nameField}
|
{nameField}
|
||||||
<InputField
|
<InputField
|
||||||
label={t("user.displayName")}
|
label={t("user.displayName")}
|
||||||
@@ -113,6 +115,8 @@ class UserForm extends React.Component<Props, State> {
|
|||||||
errorMessage={t("validation.displayname-invalid")}
|
errorMessage={t("validation.displayname-invalid")}
|
||||||
helpText={t("help.displayNameHelpText")}
|
helpText={t("help.displayNameHelpText")}
|
||||||
/>
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="column is-half">
|
||||||
<InputField
|
<InputField
|
||||||
label={t("user.mail")}
|
label={t("user.mail")}
|
||||||
onChange={this.handleEmailChange}
|
onChange={this.handleEmailChange}
|
||||||
@@ -121,6 +125,10 @@ class UserForm extends React.Component<Props, State> {
|
|||||||
errorMessage={t("validation.mail-invalid")}
|
errorMessage={t("validation.mail-invalid")}
|
||||||
helpText={t("help.mailHelpText")}
|
helpText={t("help.mailHelpText")}
|
||||||
/>
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="columns">
|
||||||
|
<div class="column">
|
||||||
{passwordChangeField}
|
{passwordChangeField}
|
||||||
<Checkbox
|
<Checkbox
|
||||||
label={t("user.admin")}
|
label={t("user.admin")}
|
||||||
@@ -134,11 +142,17 @@ class UserForm extends React.Component<Props, State> {
|
|||||||
checked={user ? user.active : false}
|
checked={user ? user.active : false}
|
||||||
helpText={t("help.activeHelpText")}
|
helpText={t("help.activeHelpText")}
|
||||||
/>
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="columns">
|
||||||
|
<div class="column">
|
||||||
<SubmitButton
|
<SubmitButton
|
||||||
disabled={!this.isValid()}
|
disabled={!this.isValid()}
|
||||||
loading={loading}
|
loading={loading}
|
||||||
label={t("user-form.submit")}
|
label={t("user-form.submit")}
|
||||||
/>
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</form>
|
</form>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,43 +16,43 @@ class Details extends React.Component<Props> {
|
|||||||
<table className="table">
|
<table className="table">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{t("user.name")}</td>
|
<td className="has-text-weight-semibold">{t("user.name")}</td>
|
||||||
<td>{user.name}</td>
|
<td>{user.name}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{t("user.displayName")}</td>
|
<td className="has-text-weight-semibold">{t("user.displayName")}</td>
|
||||||
<td>{user.displayName}</td>
|
<td>{user.displayName}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{t("user.mail")}</td>
|
<td className="has-text-weight-semibold">{t("user.mail")}</td>
|
||||||
<td>
|
<td>
|
||||||
<MailLink address={user.mail} />
|
<MailLink address={user.mail} />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{t("user.admin")}</td>
|
<td className="has-text-weight-semibold">{t("user.admin")}</td>
|
||||||
<td>
|
<td>
|
||||||
<Checkbox checked={user.admin} />
|
<Checkbox checked={user.admin} />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{t("user.active")}</td>
|
<td className="has-text-weight-semibold">{t("user.active")}</td>
|
||||||
<td>
|
<td>
|
||||||
<Checkbox checked={user.active} />
|
<Checkbox checked={user.active} />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{t("user.type")}</td>
|
<td className="has-text-weight-semibold">{t("user.type")}</td>
|
||||||
<td>{user.type}</td>
|
<td>{user.type}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{t("user.creationDate")}</td>
|
<td className="has-text-weight-semibold">{t("user.creationDate")}</td>
|
||||||
<td>
|
<td>
|
||||||
<DateFromNow date={user.creationDate} />
|
<DateFromNow date={user.creationDate} />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{t("user.lastModified")}</td>
|
<td className="has-text-weight-semibold">{t("user.lastModified")}</td>
|
||||||
<td>
|
<td>
|
||||||
<DateFromNow date={user.lastModified} />
|
<DateFromNow date={user.lastModified} />
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -61,6 +61,123 @@ $fa-font-path: "webfonts";
|
|||||||
|
|
||||||
// NEW STYLES
|
// NEW STYLES
|
||||||
|
|
||||||
|
//typography
|
||||||
|
.subtitle {
|
||||||
|
color: #666;
|
||||||
|
}
|
||||||
|
.has-border-white {
|
||||||
|
border-color: #fff !important;
|
||||||
|
}
|
||||||
|
// buttons
|
||||||
|
.button{
|
||||||
|
padding-left: 1.5em;
|
||||||
|
padding-right: 1.5em;
|
||||||
|
height:2.5rem;
|
||||||
|
|
||||||
|
&.is-primary {
|
||||||
|
background-color: $mint;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// multiline Columns
|
||||||
|
.columns.is-multiline {
|
||||||
|
|
||||||
|
.column.is-half{
|
||||||
|
width: calc(50% - .75rem);
|
||||||
|
|
||||||
|
&:nth-child(odd){
|
||||||
|
margin-right: 1.5rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media screen and (max-width:768px) {
|
||||||
|
.column.is-half{
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
&:nth-child(odd){
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// tables
|
||||||
|
.table {
|
||||||
|
width: 100%;
|
||||||
|
td {
|
||||||
|
border-color: #eee;
|
||||||
|
padding: 1rem
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// card tables
|
||||||
|
.card-table {
|
||||||
|
border-collapse: separate;
|
||||||
|
border-spacing: 0px 5px;
|
||||||
|
|
||||||
|
tr{
|
||||||
|
a{
|
||||||
|
color: #363636;
|
||||||
|
}
|
||||||
|
&:hover {
|
||||||
|
td {
|
||||||
|
background-color: whitesmoke;
|
||||||
|
&:nth-child(4){
|
||||||
|
background-color: #E1E1E1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
a{
|
||||||
|
color: $blue;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
td {
|
||||||
|
border-bottom: 1px solid whitesmoke;
|
||||||
|
background-color: #fafafa;
|
||||||
|
padding: 1em 1.25em;
|
||||||
|
&:first-child{
|
||||||
|
border-left: 3px solid $mint;
|
||||||
|
}
|
||||||
|
&:nth-child(4){
|
||||||
|
background-color: whitesmoke;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
&.is-hoverable tbody tr:not(.is-selected):hover {
|
||||||
|
background-color: whitesmoke;
|
||||||
|
}
|
||||||
|
thead th {
|
||||||
|
background-color: transparent;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// forms
|
||||||
|
.field:not(.is-grouped){
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
.input, .textarea {
|
||||||
|
/*background-color: whitesmoke;*/
|
||||||
|
border-color: #98d8f3;
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
/*.input[disabled], .textarea[disabled] {
|
||||||
|
|
||||||
|
background-color: #ddd;
|
||||||
|
border-color: #ccc;
|
||||||
|
box-shadow: none;
|
||||||
|
color: #aaa;
|
||||||
|
}*/
|
||||||
|
|
||||||
|
// pagination
|
||||||
|
.pagination-next, .pagination-link, .pagination-ellipsis{
|
||||||
|
padding-left: 1.5em;
|
||||||
|
padding-right: 1.5em;
|
||||||
|
height:2.5rem;
|
||||||
|
}
|
||||||
|
.pagination-previous, .pagination-next {
|
||||||
|
min-width: 6.75em;
|
||||||
|
}
|
||||||
|
|
||||||
// dark hero colors
|
// dark hero colors
|
||||||
.hero.is-dark {
|
.hero.is-dark {
|
||||||
background-color: #002e4b;
|
background-color: #002e4b;
|
||||||
@@ -77,33 +194,13 @@ $fa-font-path: "webfonts";
|
|||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// footer colors
|
|
||||||
|
|
||||||
|
// footer
|
||||||
.footer {
|
.footer {
|
||||||
background-color: whitesmoke;
|
background-color: whitesmoke;
|
||||||
}
|
}
|
||||||
//typography
|
|
||||||
.subtitle {
|
|
||||||
color: #666;
|
|
||||||
}
|
|
||||||
// buttons
|
|
||||||
.button{
|
|
||||||
padding-left: 1.5em;
|
|
||||||
padding-right: 1.5em;
|
|
||||||
height:2.5rem;
|
|
||||||
|
|
||||||
&.is-primary {
|
|
||||||
background-color: $mint;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// pagination
|
|
||||||
.pagination-next, .pagination-link, .pagination-ellipsis{
|
|
||||||
padding-left: 1.5em;
|
|
||||||
padding-right: 1.5em;
|
|
||||||
height:2.5rem;
|
|
||||||
}
|
|
||||||
.pagination-previous, .pagination-next {
|
|
||||||
min-width: 6.75em;
|
|
||||||
}
|
|
||||||
// sidebar menu
|
// sidebar menu
|
||||||
.aside-background {
|
.aside-background {
|
||||||
|
|
||||||
@@ -150,13 +247,13 @@ $fa-font-path: "webfonts";
|
|||||||
border-right: 1px solid #eee;
|
border-right: 1px solid #eee;
|
||||||
|
|
||||||
&.is-active {
|
&.is-active {
|
||||||
color: #33B2E8;
|
color: $blue;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
|
||||||
&:before{
|
&:before{
|
||||||
position: relative;
|
position: relative;
|
||||||
content: " ";
|
content: " ";
|
||||||
background: #33B2E8;
|
background: $blue;
|
||||||
height: 53px;
|
height: 53px;
|
||||||
width: 2px;
|
width: 2px;
|
||||||
display: block;
|
display: block;
|
||||||
@@ -173,69 +270,4 @@ $fa-font-path: "webfonts";
|
|||||||
border-bottom: 1px solid #eee;
|
border-bottom: 1px solid #eee;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// tables
|
|
||||||
.table {
|
|
||||||
width: 100%;
|
|
||||||
td {
|
|
||||||
border-color: #eee;
|
|
||||||
padding: 1rem
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// card tables
|
|
||||||
.card-table {
|
|
||||||
border-collapse: separate;
|
|
||||||
border-spacing: 0px 5px;
|
|
||||||
|
|
||||||
tr{
|
|
||||||
a{
|
|
||||||
color: #363636;
|
|
||||||
}
|
|
||||||
&:hover {
|
|
||||||
td {
|
|
||||||
background-color: whitesmoke;
|
|
||||||
&:nth-child(4){
|
|
||||||
background-color: #E1E1E1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
a{
|
|
||||||
color: $blue;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
td {
|
|
||||||
border-bottom: 1px solid whitesmoke;
|
|
||||||
background-color: #fafafa;
|
|
||||||
padding: 1em 1.25em;
|
|
||||||
&:first-child{
|
|
||||||
border-left: 3px solid $mint;
|
|
||||||
}
|
|
||||||
&:nth-child(4){
|
|
||||||
background-color: whitesmoke;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
&.is-hoverable tbody tr:not(.is-selected):hover {
|
|
||||||
background-color: whitesmoke;
|
|
||||||
}
|
|
||||||
thead th {
|
|
||||||
background-color: transparent;
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// forms
|
|
||||||
.field:not(.is-grouped){
|
|
||||||
margin-bottom: 1rem;
|
|
||||||
}
|
|
||||||
.input, .textarea {
|
|
||||||
background-color: whitesmoke;
|
|
||||||
border-color: #efefef;
|
|
||||||
box-shadow: none;
|
|
||||||
}
|
|
||||||
.input[disabled], .textarea[disabled] {
|
|
||||||
|
|
||||||
background-color: #ddd;
|
|
||||||
border-color: #ccc;
|
|
||||||
box-shadow: none;
|
|
||||||
color: #aaa;
|
|
||||||
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user