Skip to content

Commit 466f269

Browse files
authored
Merge pull request #135 from cloudscribe/feature/summernote-override
Adding css to restore Summernote to it's default colours regardless o…
2 parents b6d917f + 00ce987 commit 466f269

File tree

20 files changed

+198
-0
lines changed

20 files changed

+198
-0
lines changed

Content/WebApp/SharedThemes/cerulean/wwwroot/css/site.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,3 +233,13 @@ td img, video, iframe {
233233
header .navbar {
234234
top: 100px;
235235
}
236+
237+
/* The below resets Summernote to default colours regardless of the theme selected. If you don't want this, simply remove them */
238+
.note-editor.note-frame.card {
239+
background-color: #fff;
240+
}
241+
242+
.note-btn.btn.btn-outline-secondary.btn-sm {
243+
color: #6c757d;
244+
}
245+
/* end Summernote default colours */

Content/WebApp/SharedThemes/cosmo/wwwroot/css/site.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,3 +234,12 @@ header .navbar {
234234
top: 100px;
235235
}
236236

237+
/* The below resets Summernote to default colours regardless of the theme selected. If you don't want this, simply remove them */
238+
.note-editor.note-frame.card {
239+
background-color: #fff;
240+
}
241+
242+
.note-btn.btn.btn-outline-secondary.btn-sm {
243+
color: #6c757d;
244+
}
245+
/* end Summernote default colours */

Content/WebApp/SharedThemes/cyborg/wwwroot/css/site.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,3 +233,13 @@ td img, video, iframe {
233233
header .navbar {
234234
top: 100px;
235235
}
236+
237+
/* The below resets Summernote to default colours regardless of the theme selected. If you don't want this, simply remove them */
238+
.note-editor.note-frame.card {
239+
background-color: #fff;
240+
}
241+
242+
.note-btn.btn.btn-outline-secondary.btn-sm {
243+
color: #6c757d;
244+
}
245+
/* end Summernote default colours */

Content/WebApp/SharedThemes/darkly/wwwroot/css/site.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,3 +237,13 @@ td img, video, iframe {
237237
header .navbar {
238238
top: 100px;
239239
}
240+
241+
/* The below resets Summernote to default colours regardless of the theme selected. If you don't want this, simply remove them */
242+
.note-editor.note-frame.card {
243+
background-color: #fff;
244+
}
245+
246+
.note-btn.btn.btn-outline-secondary.btn-sm {
247+
color: #6c757d;
248+
}
249+
/* end Summernote default colours */

Content/WebApp/SharedThemes/flatly/wwwroot/css/site.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,3 +235,13 @@ td img, video, iframe {
235235
header .navbar {
236236
top: 100px;
237237
}
238+
239+
/* The below resets Summernote to default colours regardless of the theme selected. If you don't want this, simply remove them */
240+
.note-editor.note-frame.card {
241+
background-color: #fff;
242+
}
243+
244+
.note-btn.btn.btn-outline-secondary.btn-sm {
245+
color: #6c757d;
246+
}
247+
/* end Summernote default colours */

Content/WebApp/SharedThemes/journal/wwwroot/css/site.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,3 +233,13 @@ td img, video, iframe {
233233
header .navbar {
234234
top: 100px;
235235
}
236+
237+
/* The below resets Summernote to default colours regardless of the theme selected. If you don't want this, simply remove them */
238+
.note-editor.note-frame.card {
239+
background-color: #fff;
240+
}
241+
242+
.note-btn.btn.btn-outline-secondary.btn-sm {
243+
color: #6c757d;
244+
}
245+
/* end Summernote default colours */

Content/WebApp/SharedThemes/litera/wwwroot/css/site.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,3 +234,13 @@ td img, video, iframe {
234234
header .navbar {
235235
top: 100px;
236236
}
237+
238+
/* The below resets Summernote to default colours regardless of the theme selected. If you don't want this, simply remove them */
239+
.note-editor.note-frame.card {
240+
background-color: #fff;
241+
}
242+
243+
.note-btn.btn.btn-outline-secondary.btn-sm {
244+
color: #6c757d;
245+
}
246+
/* end Summernote default colours */

Content/WebApp/SharedThemes/lumen/wwwroot/css/site.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,3 +233,13 @@ td img, video, iframe {
233233
header .navbar {
234234
top: 100px;
235235
}
236+
237+
/* The below resets Summernote to default colours regardless of the theme selected. If you don't want this, simply remove them */
238+
.note-editor.note-frame.card {
239+
background-color: #fff;
240+
}
241+
242+
.note-btn.btn.btn-outline-secondary.btn-sm {
243+
color: #6c757d;
244+
}
245+
/* end Summernote default colours */

Content/WebApp/SharedThemes/lux/wwwroot/css/site.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,3 +233,13 @@ td img, video, iframe {
233233
header .navbar {
234234
top: 100px;
235235
}
236+
237+
/* The below resets Summernote to default colours regardless of the theme selected. If you don't want this, simply remove them */
238+
.note-editor.note-frame.card {
239+
background-color: #fff;
240+
}
241+
242+
.note-btn.btn.btn-outline-secondary.btn-sm {
243+
color: #6c757d;
244+
}
245+
/* end Summernote default colours */

Content/WebApp/SharedThemes/materia/wwwroot/css/site.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,3 +234,13 @@ td img, video, iframe {
234234
header .navbar {
235235
top: 100px;
236236
}
237+
238+
/* The below resets Summernote to default colours regardless of the theme selected. If you don't want this, simply remove them */
239+
.note-editor.note-frame.card {
240+
background-color: #fff;
241+
}
242+
243+
.note-btn.btn.btn-outline-secondary.btn-sm {
244+
color: #6c757d;
245+
}
246+
/* end Summernote default colours */

0 commit comments

Comments
 (0)