bootstrap: Rename btn-default -> bootstrap-btn-default.

This commit is a part of the efforts to rename btn-related classes
and variables to align with Zulip's no-abbreviations policy and
streamline the search results.
This commit is contained in:
Sayam Samal 2024-11-13 19:33:35 +05:30 committed by Tim Abbott
parent 39dd55e854
commit 5fc226c8ef
2 changed files with 20 additions and 20 deletions

View File

@ -1,5 +1,5 @@
{{> ./dropdown_widget widget_name="recent-view-filter"}}
<button data-filter="include_private" type="button" class="btn btn-default button-recent-filters {{#if is_spectator}}fake_disabled_button{{/if}}" role="checkbox" aria-checked="true">
<button data-filter="include_private" type="button" class="btn bootstrap-btn-default button-recent-filters {{#if is_spectator}}fake_disabled_button{{/if}}" role="checkbox" aria-checked="true">
{{#if filter_pm}}
<i class="fa fa-check-square-o"></i>
{{else}}
@ -7,7 +7,7 @@
{{/if}}
{{t 'Include DMs' }}
</button>
<button data-filter="unread" type="button" class="btn btn-default button-recent-filters {{#if is_spectator}}fake_disabled_button{{/if}}" role="checkbox" aria-checked="false">
<button data-filter="unread" type="button" class="btn bootstrap-btn-default button-recent-filters {{#if is_spectator}}fake_disabled_button{{/if}}" role="checkbox" aria-checked="false">
{{#if filter_unread}}
<i class="fa fa-check-square-o"></i>
{{else}}
@ -15,7 +15,7 @@
{{/if}}
{{t 'Unread' }}
</button>
<button data-filter="participated" type="button" class="btn btn-default button-recent-filters {{#if is_spectator}}fake_disabled_button{{/if}}" role="checkbox" aria-checked="false">
<button data-filter="participated" type="button" class="btn bootstrap-btn-default button-recent-filters {{#if is_spectator}}fake_disabled_button{{/if}}" role="checkbox" aria-checked="false">
{{#if filter_participated}}
<i class="fa fa-check-square-o"></i>
{{else}}

View File

@ -77,33 +77,33 @@ THE SOFTWARE.
box-shadow: none;
opacity: .65;
}
.btn-default {
.bootstrap-btn-default {
color: #333;
background-color: #fff;
border-color: #ccc;
}
.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active {
.bootstrap-btn-default:hover,
.bootstrap-btn-default:focus,
.bootstrap-btn-default:active,
.bootstrap-btn-default.active {
color: #333;
background-color: #ebebeb;
border-color: #adadad;
}
.btn-default:active,
.btn-default.active {
.bootstrap-btn-default:active,
.bootstrap-btn-default.active {
background-image: none;
}
.btn-default.disabled,
.btn-default[disabled],
.btn-default.disabled:hover,
.btn-default[disabled]:hover,
.btn-default.disabled:focus,
.btn-default[disabled]:focus,
.btn-default.disabled:active,
.btn-default[disabled]:active,
.btn-default.disabled.active,
.btn-default[disabled].active {
.bootstrap-btn-default.disabled,
.bootstrap-btn-default[disabled],
.bootstrap-btn-default.disabled:hover,
.bootstrap-btn-default[disabled]:hover,
.bootstrap-btn-default.disabled:focus,
.bootstrap-btn-default[disabled]:focus,
.bootstrap-btn-default.disabled:active,
.bootstrap-btn-default[disabled]:active,
.bootstrap-btn-default.disabled.active,
.bootstrap-btn-default[disabled].active {
background-color: #fff;
border-color: #ccc;
}