Skip to content
This repository has been archived by the owner on Jul 3, 2021. It is now read-only.

Commit

Permalink
Removed console.log & tweaked CSS for release
Browse files Browse the repository at this point in the history
  • Loading branch information
thedark1337 committed Feb 19, 2017
1 parent 2a7b37f commit bbdaa35
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 47 deletions.
1 change: 0 additions & 1 deletion src/alpha/plugCubed/handlers/ChatHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ define(['plugCubed/Class', 'plugCubed/Utils', 'plugCubed/Lang', 'plugCubed/Setti
if (imageURL !== null) {
var image = $('<img>')
.on('load', function() {
console.log('[plug³] Image loaded okay');
$(this).attr('src', imageURL);
$(this).html(image);
text = temp.html();
Expand Down
107 changes: 62 additions & 45 deletions src/release/plugCubed.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@charset "utf-8";

#plugcubed-gui {
position: absolute;
margin-left: -522px;
Expand Down Expand Up @@ -208,11 +207,11 @@

.cube-wrap {
-webkit-perspective: none;
-ms-perspective: none;
perspective: none;
-ms-perspective: none;
perspective: none;
-webkit-perspective-origin: 0 0;
-ms-perspective-origin: 0 0;
perspective-origin: 0 0;
-ms-perspective-origin: 0 0;
perspective-origin: 0 0;
}

#plugcubed {
Expand All @@ -228,10 +227,14 @@
border-right: 1px solid #0A0A0A;
}

#chat .badge-box .icon.icon-plugcubed {
background-image: url('https://plugcubed.net/scripts/release/images/menu_logo.png') !important;
}

.icon.icon-plugcubed {
left: 4px;
top: 11px;
background-image: url('https://plugcubed.net/scripts/release/images/menu_logo.png');
background-image: url('https://plugcubed.net/scripts/release/images/menu_logo.png') !important;
-webkit-transform: translateZ(19px);
-ms-transform: translateZ(19px);
transform: translateZ(19px);
Expand All @@ -250,11 +253,11 @@

#plugcubed .icon.icon-plugcubed.other {
-webkit-transform: rotateY(-270deg) translateX(19px);
-ms-transform: rotateY(-270deg) translateX(19px);
transform: rotateY(-270deg) translateX(19px);
-ms-transform: rotateY(-270deg) translateX(19px);
transform: rotateY(-270deg) translateX(19px);
-webkit-transform-origin: top right;
-ms-transform-origin: top right;
transform-origin: top right;
-ms-transform-origin: top right;
transform-origin: top right;
}

#user-lists .list.room .user .icon-meh {
Expand All @@ -278,6 +281,7 @@
height: auto;
width: 2px;
}

#p3-settings,
#p3-settings-custom-colors {
position: absolute;
Expand Down Expand Up @@ -548,23 +552,25 @@
height: 1px;
background: #1c1f25;
}

#p3-control-panel .p3-header:first-child {
margin: 0 0 8px;
margin: 0 0 8px;
}

#p3-control-panel .p3-header {
box-shadow: inset 0 1px 0 0 #555D70;
-moz-box-shadow: inset 0 1px 0 0 #555D70;
-webkit-box-shadow: inset 0 1px 0 0 #555D70;
margin: 35px 0 8px;
height: 21px;
width: 100%;
-webkit-box-shadow: inset 0 1px 0 0 #555D70;
margin: 35px 0 8px;
height: 21px;
width: 100%;
}

#p3-control-panel .p3-header span {
position: relative;
text-transform: uppercase;
top: 4px;
color: #555D70;
top: 4px;
color: #555D70;
font-weight: 400;
}

Expand All @@ -573,7 +579,7 @@
}

#p3-control-panel .p3-item span {
margin-left: 25px;
margin-left: 25px;
}

#p3-settings .container .item.selected i,
Expand All @@ -587,22 +593,29 @@
position: relative;
width: 50%;
}

#p3-control-panel-current .p3-control-left {
float: left;
}

#p3-control-panel-current .p3-control-right {
float: right;
}
#p3-control-panel-current .p3-text-box {
min-height:300px;
max-height:500px !important;
width:100% !important;
font-family: monospace !important;
margin-left: 0px !important;
text-align:left !important;

#p3-control-panel-current .p3-textarea {
min-height: 300px;
max-height: 500px;
color: #eee;
background: rgb(40, 44, 53);
width: 100%;
font-family: monospace;
margin-left: 0;
margin-bottom: 28px;
text-align: left;
resize: none;
font-size:12px !important;
font-size: 12px;
}

.chat-header-button {
margin-right: 18px;
}
Expand Down Expand Up @@ -652,15 +665,15 @@
.p3slider .hit {
top: 8px;
height: 23px;
width: 105px;
width: 100px;
z-index: 3;
cursor: pointer;
}

.p3slider .line {
left: 8px;
top: 12px;
width: 85px;
width: 105px;
height: 1px;
background: #808691;
z-index: 1;
Expand Down Expand Up @@ -732,53 +745,52 @@
width: 16px;
}


.icon.icon-chat-p3developer,
#user-rollover .meta.has-p3Role.is-p3developer .p3Role {
background-image: url('https://plugcubed.net/scripts/release/images/ranks/p3dev.png') !important;
background-position: 0,0;
background-position: 0, 0;
}

.icon.icon-chat-p3sponsor,
#user-rollover .meta.has-p3Role.is-p3sponsor .p3Role {
background-image: url('https://plugcubed.net/scripts/release/images/ranks/p3sponsor.png') !important;
background-position: 0,0;
background-position: 0, 0;
}

.icon.icon-chat-p3ambassador,
#user-rollover .meta.has-p3Role.is-p3ambassador .p3Role {
background-image: url('https://plugcubed.net/scripts/release/images/ranks/p3ambassador.png') !important;
background-position: 0,0;
background-position: 0, 0;
}

.icon.icon-chat-p3donatorDiamond,
#user-rollover .meta.has-p3Role.is-p3donatorDiamond .p3Role {
background-image: url('https://plugcubed.net/scripts/release/images/ranks/p3donator.diamond.png') !important;
background-position: 0,0;
background-position: 0, 0;
}

.icon.icon-chat-p3donatorPlatinum,
#user-rollover .meta.has-p3Role.is-p3donatorPlatinum .p3Role {
background-image: url('https://plugcubed.net/scripts/release/images/ranks/p3donator.platinum.png') !important;
background-position: 0,0;
background-position: 0, 0;
}

.icon.icon-chat-p3donatorGold,
#user-rollover .meta.has-p3Role.is-p3donatorGold .p3Role {
background-image: url('https://plugcubed.net/scripts/release/images/ranks/p3donator.gold.png') !important;
background-position: 0,0;
background-position: 0, 0;
}

.icon.icon-chat-p3donatorSilver,
#user-rollover .meta.has-p3Role.is-p3donatorSilver .p3Role {
background-image: url('https://plugcubed.net/scripts/release/images/ranks/p3donator.silver.png') !important;
background-position: 0,0;
background-position: 0, 0;
}

.icon.icon-chat-p3donatorBronze,
#user-rollover .meta.has-p3Role.is-p3donatorBronze .p3Role {
background-image: url('https://plugcubed.net/scripts/release/images/ranks/p3donator.bronze.png') !important;
background-position: 0,0;
background-position: 0, 0;
}

.is-p3developer .bdg,
Expand Down Expand Up @@ -837,7 +849,7 @@
#p3-control-panel {
position: absolute;
background: rgba(17, 19, 23, 0.9);
bottom: 45px;
top: 54px;
left: 0;
overflow: hidden;
}
Expand Down Expand Up @@ -923,15 +935,14 @@
text-align: center;
vertical-align: middle;
padding: 10px;
border-radius: 5px;
cursor: pointer;
}

#p3-control-panel .p3-item {
margin-top: 15px;
cursor: pointer;
width: auto;
height: 15px;
margin-top: 15px;
cursor: pointer;
width: auto;
height: 15px;
}

#p3-control-panel .button.submit {
Expand Down Expand Up @@ -974,13 +985,15 @@
#chat .cm:hover .delete-button {
display: block;
}

#chat .plugcubed-deleted .delete-button {
display: none !important;
}

#user-rollover .meta {
height: 126px;
}

#user-rollover .meta.has-p3Role .p3Role {
display: block;
position: absolute;
Expand All @@ -994,6 +1007,7 @@
background-repeat: no-repeat;
padding-left: 18px;
}

#user-rollover .meta .joined {
top: 61px;
}
Expand All @@ -1011,14 +1025,17 @@
margin-left: 5px;
font-size: 10px;
}

.p3-user-info {
color: #5c5c5c;
margin-left: 5px;
font-size: 10px;
}

.p3-user-info strong {
color:#a5a5a5;
color: #a5a5a5;
}

.p3VoteIcon {
right: 0;
}
Expand All @@ -1033,4 +1050,4 @@ blockquote.p3-blockquote {
quotes: none;
margin: .5em 10px;
padding: .5em 10px;
}
}
2 changes: 1 addition & 1 deletion src/release/plugCubed/handlers/ChatHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ define(['plugCubed/Class', 'plugCubed/Utils', 'plugCubed/Lang', 'plugCubed/Setti
if (imageURL !== null) {
var image = $('<img>')
.on('load', function() {
console.log('[plug³] Image loaded okay');
$(this).attr('src', imageURL);
$(this).html(image);
text = temp.html();
Expand All @@ -158,6 +157,7 @@ define(['plugCubed/Class', 'plugCubed/Utils', 'plugCubed/Lang', 'plugCubed/Setti
}).attr('src', imageURL).css('display', 'block').css('max-width', '100%').css('height', 'auto').css('margin', '0 auto');
}
});

}
}

Expand Down

0 comments on commit bbdaa35

Please sign in to comment.