Merge pull request #2373 from mlorb/ml-sci-4293

Fix buttons style [SCI-4293]
This commit is contained in:
mlorb 2020-01-30 13:40:37 +01:00 committed by GitHub
commit bfd928b8fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 2 deletions

View file

@ -36,6 +36,17 @@
}
}
.mce-primary {
background-color: $brand-primary !important;
border-color: $brand-primary !important;
border-radius: $border-radius-default !important;
color: $color-white !important;
}
.mce-primary .mce-txt:hover {
color: $color-white !important;
}
.ql-editor {
font-size: 16px;
}

View file

@ -1,10 +1,10 @@
<% if wopi_enabled? %>
<%= link_to create_wopi_file_path,
class: 'btn btn-default create-wopi-file-btn',
class: 'btn btn-light create-wopi-file-btn',
target: '_blank',
title: 'Create_new_file',
data: { 'id': element_id, 'type': element_type, } do %>
<span class="btn btn-default new-asset-upload-button">
<span class="btn btn-light new-asset-upload-button">
<%= image_tag 'office/office.svg' %>
<%=t 'assets.create_wopi_file.button_text' %>
</span>