mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-27 22:46:04 +00:00
Button style change
This commit is contained in:
@@ -57,6 +57,7 @@ class MeetingDetailView extends DetailView {
|
||||
this.addMenuItem('buttons', {
|
||||
name: 'setAcceptanceStatus',
|
||||
text: '',
|
||||
style: 'text',
|
||||
hidden: true,
|
||||
onClick: () => this.actionSetAcceptanceStatus(),
|
||||
});
|
||||
|
||||
@@ -470,7 +470,9 @@ class DetailView<S extends DetailViewSchema = DetailViewSchema> extends MainView
|
||||
this.addMenuItem('buttons', {
|
||||
name: 'unfollow',
|
||||
label: 'Followed',
|
||||
style: 'success',
|
||||
style: 'text',
|
||||
iconHtml: '<span class="fas fa-rss fa-sm text-success"></span>',
|
||||
className: 'text-success',
|
||||
action: 'unfollow',
|
||||
hidden: !isFollowed,
|
||||
onClick: () => this.actionUnfollow(),
|
||||
@@ -479,7 +481,7 @@ class DetailView<S extends DetailViewSchema = DetailViewSchema> extends MainView
|
||||
this.addMenuItem('buttons', {
|
||||
name: 'follow',
|
||||
label: 'Follow',
|
||||
style: 'default',
|
||||
style: 'text',
|
||||
iconHtml: '<span class="fas fa-rss fa-sm"></span>',
|
||||
text: this.translate('Follow'),
|
||||
action: 'follow',
|
||||
|
||||
@@ -288,7 +288,8 @@ a.btn {
|
||||
border-color: transparent;
|
||||
}
|
||||
}
|
||||
&.btn-success {
|
||||
&.btn-success,
|
||||
&.text-success {
|
||||
color: var(--state-success-text);
|
||||
background-color: transparent;
|
||||
border-color: transparent;
|
||||
@@ -302,7 +303,8 @@ a.btn {
|
||||
border-color: transparent;
|
||||
}
|
||||
}
|
||||
&.btn-danger {
|
||||
&.btn-danger,
|
||||
&.text-danger {
|
||||
color: var(--state-danger-text);
|
||||
background-color: transparent;
|
||||
border-color: transparent;
|
||||
@@ -316,7 +318,8 @@ a.btn {
|
||||
border-color: transparent;
|
||||
}
|
||||
}
|
||||
&.btn-warning {
|
||||
&.btn-warning,
|
||||
&.text-warning {
|
||||
color: var(--state-warning-text);
|
||||
background-color: transparent;
|
||||
border-color: transparent;
|
||||
@@ -330,7 +333,8 @@ a.btn {
|
||||
border-color: transparent;
|
||||
}
|
||||
}
|
||||
&.btn-info {
|
||||
&.btn-info,
|
||||
&.text-ingo {
|
||||
color: var(--state-info-text);
|
||||
background-color: transparent;
|
||||
border-color: transparent;
|
||||
|
||||
Reference in New Issue
Block a user