mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-07-24 19:48:30 +00:00
3.5.190. Minor CSS tweaks. Case insensitive emote tab completion. Fix the new sidebar in portrait mode.
This commit is contained in:
parent
2cb07d6c78
commit
57a95986d3
5 changed files with 43 additions and 8 deletions
18
dark.css
18
dark.css
|
@ -89,11 +89,24 @@
|
|||
}
|
||||
|
||||
|
||||
/* Team Pages */
|
||||
|
||||
.ffz-dark #stats_and_description { border-color: rgba(255,255,255,0.1) }
|
||||
.ffz-dark #stats_and_description .stat { color: #808080 }
|
||||
.ffz-dark #stats_and_description .stat:not(#channel_viewer_count) { -webkit-filter: invert(100%) }
|
||||
|
||||
.ffz-dark .member.js-playing a { color: #fff !important }
|
||||
.ffz-dark .member { box-shadow: none !important }
|
||||
.ffz-dark .member.live { background-color: #222; }
|
||||
.ffz-dark .member:hover { background-color: #333 }
|
||||
.ffz-dark .member .channel_count { color: #ccc }
|
||||
|
||||
|
||||
/* main column */
|
||||
body.ffz-dark,
|
||||
body.ffz-dark:not([data-page="teams#show"]),
|
||||
.ffz-dark .app-main,
|
||||
.ffz-dark div#mantle_skin,
|
||||
.ffz-dark[data-page="teams#show"] .main,
|
||||
.ffz-dark:not([data-page="teams#show"]) div#mantle_skin,
|
||||
.ffz-dark div#main_col {
|
||||
background:rgb(16,16,16);
|
||||
color:rgb(195,195,195)!important;
|
||||
|
@ -775,6 +788,7 @@ body.ffz-dark,
|
|||
background-color: rgb(25,25,25);
|
||||
}
|
||||
|
||||
.ffz-dark .brick,
|
||||
.ffz-dark .brick--faint,
|
||||
.ffz-dark .brick--block,
|
||||
.ffz-dark #action_feed .action,
|
||||
|
|
|
@ -133,6 +133,18 @@ FFZ.settings_info.input_complete_name_at = {
|
|||
}
|
||||
|
||||
|
||||
FFZ.settings_info.input_emoticons_case_sensitive = {
|
||||
type: "boolean",
|
||||
value: true,
|
||||
|
||||
category: "Chat Input",
|
||||
no_bttv: true,
|
||||
|
||||
name: "Tab-Complete Emoticons Case Sensitive",
|
||||
help: "When enabled, tab-completion for emoticons is case sensitive."
|
||||
}
|
||||
|
||||
|
||||
FFZ.settings_info.input_complete_without_prefix = {
|
||||
type: "boolean",
|
||||
value: true,
|
||||
|
@ -169,7 +181,7 @@ FFZ.settings_info.input_emoji = {
|
|||
|
||||
FFZ.prototype.setup_chat_input = function() {
|
||||
this.log("Hooking the Ember Chat Input component.");
|
||||
var Input = utils.ember_resolve('component:twitch-chat-input'),
|
||||
var Input = utils.ember_resolve('component:chat/twitch-chat-input'),
|
||||
f = this;
|
||||
|
||||
if ( ! Input )
|
||||
|
@ -698,7 +710,7 @@ FFZ.prototype._modify_chat_input = function(component) {
|
|||
name = name.toLowerCase();
|
||||
return char === '@' ? name.indexOf(part2.toLowerCase()) === 0 : name.indexOf(partial.toLowerCase()) === 0;
|
||||
|
||||
} else if ( type === 'emoji' ) {
|
||||
} else if ( type === 'emoji' || ! f.settings.input_emoticons_case_sensitive ) {
|
||||
name = name.toLowerCase();
|
||||
return name.indexOf(partial.toLowerCase()) === 0;
|
||||
}
|
||||
|
|
|
@ -262,8 +262,10 @@ FFZ.prototype.setup_layout = function() {
|
|||
theatre_video_top = video_below ? theatre_chat_height : 0,
|
||||
theatre_chat_top = video_below ? 0 : theatre_video_height;
|
||||
|
||||
|
||||
out = 'body[data-current-path^="user."] #left_col,' +
|
||||
out = 'body[data-current-path^="user."] #left_col .warp { min-height: inherit }' +
|
||||
'body[data-current-path^="user."] #left_col { overflow: hidden }' +
|
||||
'body[data-current-path^="user."] #left_col .warp,' +
|
||||
'body[data-current-path^="user."] #left_col,' +
|
||||
'body[data-current-path^="user."]:not(.ffz-sidebar-swap) #main_col{' +
|
||||
'margin-right:0 !important;' +
|
||||
'top:' + video_top + 'px;' +
|
||||
|
@ -276,6 +278,7 @@ FFZ.prototype.setup_layout = function() {
|
|||
'width:100%;' +
|
||||
'top:' + chat_top + 'px;' +
|
||||
'height:' + chat_height + 'px}' +
|
||||
'body[data-current-path^="user."] .app-main.theatre #left_col .warp,' +
|
||||
'body[data-current-path^="user."] .app-main.theatre #left_col,' +
|
||||
'body[data-current-path^="user."] .app-main.theatre #main_col{' +
|
||||
'top:' + theatre_video_top + 'px;' +
|
||||
|
|
|
@ -37,7 +37,7 @@ FFZ.msg_commands = {};
|
|||
|
||||
// Version
|
||||
var VER = FFZ.version_info = {
|
||||
major: 3, minor: 5, revision: 188,
|
||||
major: 3, minor: 5, revision: 190,
|
||||
toString: function() {
|
||||
return [VER.major, VER.minor, VER.revision].join(".") + (VER.extra || "");
|
||||
}
|
||||
|
@ -237,7 +237,7 @@ FFZ.prototype.initialize = function(increment, delay) {
|
|||
}
|
||||
|
||||
// Check for special non-ember pages.
|
||||
if ( /^\/(?:$|search$|user\/|p\/|settings|m\/|messages?\/)/.test(location.pathname) ) {
|
||||
if ( /^\/(?:$|search$|team\/|user\/|p\/|settings|m\/|messages?\/)/.test(location.pathname) ) {
|
||||
this.init_normal(delay);
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -26,6 +26,7 @@ body > div.tipsy .tipsy-arrow { opacity: 0.8; }
|
|||
.ffz-hide-recent-past-broadcast .recent-past-broadcast,
|
||||
.ffz-hide-view-count .stat.twitch-channel-views,
|
||||
.ffz-minimal-chat-input .chat-interface .emoticon-selector-toggle,
|
||||
.ffz-menu-replace .chat-interface .ember-emoticon-selector,
|
||||
.ffz-menu-replace .chat-interface .emoticon-selector-toggle {
|
||||
display: none !important;
|
||||
}
|
||||
|
@ -2172,6 +2173,11 @@ body:not([data-current-path^="user."]) .ffz-sidebar-swap .ember-chat .chat-inter
|
|||
.ffz-no-blue .warp__item--anchor,
|
||||
.ffz-no-blue .warp__drawer,
|
||||
.ffz-no-blue .leaf,
|
||||
|
||||
.ffz-no-blue .dark .emoticon-selector .tabs,
|
||||
.ffz-no-blue .theatre .emoticon-selector .tabs,
|
||||
.ffz-no-blue .force-dark .emoticon-selector .tabs,
|
||||
|
||||
.ffz-no-blue .app-main.theatre .archives-contain .list-video:hover,
|
||||
.ffz-no-blue.ffz-dark .archives-contain .list-video:hover,
|
||||
.ffz-no-blue .theatre .moderation-card .back-button,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue