Skip to content

Commit

Permalink
Removed inconsistency in wiki/new toolbar icon. Icon and Text colour …
Browse files Browse the repository at this point in the history
…changed to #222 and hover color to white . (#6956)

* wiki/new toolbar icon colour changed to black and hover color to white

* error fixed

* changes suggested
  • Loading branch information
smarty1palak authored and jywarren committed Dec 16, 2019
1 parent 8cb0f37 commit 8aa3eb0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
12 changes: 12 additions & 0 deletions app/assets/stylesheets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -566,3 +566,15 @@ textarea, input {
border-radius: 4px;
padding: 10px;
}

.btn-toolbar .btn-outline-secondary
{
color:#222;
}

.btn-toolbar .btn-outline-secondary:hover
{
color: #f1f1f1 !important;
}


10 changes: 5 additions & 5 deletions app/views/editor/_toolbar.html.erb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<div class="btn-toolbar" style="margin-bottom:8px;">

<div class="btn-group mr-2 ">
<a data-toggle="tooltip" title="Bold" data-placement="bottom" class="btn btn-outline-secondary btn-sm" onClick="$E.bold()"><i class="fa fa-bold"></i></a>
<a data-toggle="tooltip" title="Italic" data-placement="bottom" class="btn btn-outline-secondary btn-sm" onClick="$E.italic()"><i class="fa fa-italic"></i></a>
<a data-toggle="tooltip" title="Header" data-placement="bottom" class="btn btn-outline-secondary btn-sm" onClick="$E.h2()"><b><span class="d-md-none d-lg-inline">Header</span><span class="d-none d-md-inline d-lg-none">H</span></b></a>
<a data-toggle="tooltip" title="Bold" data-placement="bottom" class="btn btn-outline-secondary btn-sm " onClick="$E.bold()"><i class="fa fa-bold" ></i></a>
<a data-toggle="tooltip" title="Italic" data-placement="bottom" class="btn btn-outline-secondary btn-sm " onClick="$E.italic()"><i class="fa fa-italic" ></i></a>
<a data-toggle="tooltip" title="Header" data-placement="bottom" class="btn btn-outline-secondary btn-sm " onClick="$E.h2()"><b><span class="d-md-none d-lg-inline ">Header</span><span class="d-none d-md-inline d-lg-none">H</span></b></a>
</div>

<div class="btn-group mr-2">
Expand All @@ -12,7 +12,7 @@

<div class="dropdown mr-2">
<div class="d-md-none d-lg-inline">
<a class="btn btn-outline-secondary btn-sm dropdown-toggle" data-toggle="dropdown" href="#">
<a class="btn btn-outline-secondary btn-sm dropdown-toggle" data-toggle="dropdown" href="#" >
Templates
<span class="caret"></span>
</a>
Expand All @@ -30,7 +30,7 @@
</div>

<div class="btn-group">
<a data-toggle="tooltip" title="Help" data-placement="bottom" class="btn btn-outline-secondary btn-sm" target="_blank" href="/wiki/authoring-help"><i class="fa fa-question-circle"></i></a>
<a data-toggle="tooltip" title="Help" data-placement="bottom" class="btn btn-outline-secondary btn-sm" target="_blank" href="/wiki/authoring-help"><i class="fa fa-question-circle" ></i></a>
</div>

</div>

0 comments on commit 8aa3eb0

Please sign in to comment.