Skip to content

Commit

Permalink
[C] chenged to override minimized height of COMM view, in order to ap…
Browse files Browse the repository at this point in the history
…pend height for COMM filter plug-in.
  • Loading branch information
udnp committed Mar 11, 2016
1 parent abc4d1b commit 3cef301
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 4 additions & 4 deletions built/comm-filter.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
// @name IITC plugin: COMM Filter
// @author udnp
// @category COMM
// @version 0.3.1.20160310.214300
// @version 0.3.1.20160311.20455
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
// @source https://github.com/udnp/iitc-plugins
// @updateURL none
// @downloadURL none
// @description [local-2016-03-10-214300] COMM Filter
// @description [local-2016-03-11-020455] COMM Filter
// @include https://www.ingress.com/intel*
// @include http://www.ingress.com/intel*
// @match https://www.ingress.com/intel*
Expand All @@ -28,7 +28,7 @@ if(typeof window.plugin !== 'function') window.plugin = function() {};
//PLUGIN AUTHORS: writing a plugin outside of the IITC build environment? if so, delete these lines!!
//(leaving them in place might break the 'About IITC' page or break update checks)
plugin_info.buildName = 'local';
plugin_info.dateTimeVersion = '20160310.214300';
plugin_info.dateTimeVersion = '20160311.20455';
plugin_info.pluginId = 'comm-filter';
//END PLUGIN AUTHORS NOTE

Expand Down Expand Up @@ -354,7 +354,7 @@ var setup = function(){

$("<style>")
.prop("type", "text/css")
.html("#PLUGIN_COMM_FILTER>input {\n width: 30%;\n height: 24px;\n}\n\n#PLUGIN_COMM_FILTER>button {\n padding: 2px;\n min-width: 40px;\n color: #FFCE00;\n border: 1px solid #FFCE00;\n background-color: rgba(8, 48, 78, 0.9);\n text-align: center;\n}\n\n#chat {\n padding-bottom: 24px;\n}\n\n#chatall>.status, #chatfaction>.status, #chatalerts>.status {\n height: 20px;\n text-align: center;\n font-style: italic;\n}\n\n#chatall>table, #chatfaction>table, #chatalerts>table {\n table-layout: auto;\n}\n\n#chatall>table td:nth-child(2),\n#chatfaction>table td:nth-child(2),\n#chatalerts>table td:nth-child(2) {\n width: 15ex;\n}\n\n/* hack chat.js divider */\n#chatall>table tr.divider,\n#chatfaction>table tr.divider,\n#chatalerts>table tr.divider {\n border-top: solid 1px #bbb;\n}\n\n#chatall>table tr.divider>td,\n#chatfaction>table tr.divider>td,\n#chatalerts>table tr.divider>td {\n padding-top: 3px;\n}\n\n#chatall>table tr.divider summary,\n#chatfaction>table tr.divider summary,\n#chatalerts>table tr.divider summary {\n box-sizing: border-box;\n padding-left: 2ex;\n}\n")
.html("#PLUGIN_COMM_FILTER>input {\n width: 30%;\n height: 24px;\n}\n\n#PLUGIN_COMM_FILTER>button {\n padding: 2px;\n min-width: 40px;\n color: #FFCE00;\n border: 1px solid #FFCE00;\n background-color: rgba(8, 48, 78, 0.9);\n text-align: center;\n}\n\n#chat {\n padding-bottom: 24px;\n}\n\n#chatall>.status, #chatfaction>.status, #chatalerts>.status {\n height: 20px;\n text-align: center;\n font-style: italic;\n}\n\n#chatall>table, #chatfaction>table, #chatalerts>table {\n table-layout: auto;\n}\n\n#chatall>table td:nth-child(2),\n#chatfaction>table td:nth-child(2),\n#chatalerts>table td:nth-child(2) {\n width: 15ex;\n}\n\n#chat {\n height: 84px; /* 60px + 24px */\n}\n\n#chatcontrols {\n bottom: 106px; /* 82px + 24px */\n}\n\n/* hack chat.js divider */\n#chatall>table tr.divider,\n#chatfaction>table tr.divider,\n#chatalerts>table tr.divider {\n border-top: solid 1px #bbb;\n}\n\n#chatall>table tr.divider>td,\n#chatfaction>table tr.divider>td,\n#chatalerts>table tr.divider>td {\n padding-top: 3px;\n}\n\n#chatall>table tr.divider summary,\n#chatfaction>table tr.divider summary,\n#chatalerts>table tr.divider summary {\n box-sizing: border-box;\n padding-left: 2ex;\n}\n")
.appendTo("head");
};

Expand Down
8 changes: 8 additions & 0 deletions src/comm-filter.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@
width: 15ex;
}

#chat {
height: 84px; /* 60px + 24px */
}

#chatcontrols {
bottom: 106px; /* 82px + 24px */
}

/* hack chat.js divider */
#chatall>table tr.divider,
#chatfaction>table tr.divider,
Expand Down

0 comments on commit 3cef301

Please sign in to comment.