Permalink
Browse files

Update for 4chan X 1.3.0

  • Loading branch information...
1 parent a25f0de commit 999436a64b2f29c8044f1361b425c6376e9b4134 @seaweedchan committed Jan 10, 2014
Showing with 29 additions and 72 deletions.
  1. +3 −4 builds/OneeChan.user.js
  2. +3 −4 builds/crx/script.js
  3. +2 −1 src/css/Cleanup.css
  4. +1 −1 src/css/Colors.css
  5. +2 −2 src/css/Fonts.css
  6. +16 −5 src/css/General.css
  7. +0 −52 src/css/Icons.css
  8. +2 −3 src/script.js
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -32,8 +32,9 @@ iframe[src='about:blank'],
.forwarded,
body>hr,
:root.catalog hr,
-.navLinks,
+:root.thread .navLinks,
.ad-plea,
+#mascot img[src=''],
.exif:not([style]) {
display: none;
}
View
@@ -131,7 +131,7 @@ body {
.options-button,
.qr-link,
.pages strong>a {
- background:linear-gradient(rgb\(" + $SS.theme.mainColor.shiftRGB(15) + "),rgb(" + $SS.theme.mainColor.rgb + "));
+ background:linear-gradient(rgb\(" + $SS.theme.mainColor.shiftRGB(15) + "),rgb(" + $SS.theme.mainColor.rgb + ")) !important;
}
.options-button:hover,
.import-input:hover + .options-button,
View
@@ -2,8 +2,8 @@
/* Anything we need 0px */
.deleteform,
-.pagelist,
-.pagelist input,
+.pages,
+.pagelist button,
#full-board-list {
font-size: 0px !important;
}
View
@@ -119,6 +119,9 @@ body {
.container {
margin-left: -2px !important;
}
+.reply>.postInfo>.menu-button + .container:not(:empty) {
+ margin-left: 2px !important;
+}
:root:not(.reply-fit-width) .container {
margin-left: 0px !important;
}
@@ -424,28 +427,29 @@ hr {
position: relative;
width: 10px;
}
-.prev span {
+.prev a {
position: relative;
right: 5px;
}
-.prev span::after, .prev form::after {
+.prev a::after, .prev a::after {
content: '<';
position: absolute;
top: 4px;
left: 1px;
pointer-events: none;
}
-.next span::after, .next form::after {
+.next a::after, .next a::after {
content: '>';
position: absolute;
top: 4px;
right: 2px;
pointer-events: none;
}
-.pagelist input,
-.pagelist input:hover {
+.pagelist button,
+.pagelist button:hover {
background: none !important;
border: none !important;
+ pointer-events: none;
box-shadow: none !important;
-moz-appearance: none !important;
-webkit-appearance: none !important;
@@ -551,3 +555,10 @@ table.flashListing .highlightPost::after {
transition: opacity .3s ease-in 0s;
}
+/* Navlinks */
+:root.index div.navLinks {
+ position: relative;
+ bottom: 12px;
+ margin-left: 15px;
+ margin-top: 10px;
+}
View
@@ -23,55 +23,3 @@
:root.backlink-icon .backlink:hover, :root.backlink-icon .backlink.inlined {
opacity: 1 !important;
}
-" + ($SS.conf["Show Shortcut Icons"] ? "
-#header-bar #thread-stats {
- margin-right: 6px !important;
-}
-.expand-all-shortcut, .contract-all-shortcut, .settings-link, .qr-shortcut, #watcher-link, #appchan-gal, #OneeChanLink {
- z-index: 10 !important;
- font-size: 0px !important;
- padding: 8px !important;
- overflow:hidden;
- opacity: 0.6;
- position: relative;
- bottom: 4px;
-}
-:root.bottom .expand-all-shortcut, :root.bottom .contract-all-shortcut, :root.bottom .settings-link, :root.bottom .qr-shortcut, :root.bottom #watcher-link, :root.bottom #appchan-gal, #OneeChanLink {
- bottom: 4px !important;
-}
-#watcher-link, #appchan-gal {
- padding: 10px !important;
-}
-.expand-all-shortcut:hover,
-.contract-all-shortcut,
-#appchan-gal:hover,
-.qr-shortcut:not(.disabled),
-.qr-shortcut.disabled:hover,
-#watcher-link:not(.disabled),
-#watcher-link.disabled:hover,
-#OneeChanLink:hover,
-.settings-link:hover {
- opacity: 1 !important;
-}
-.expand-all-shortcut {
- background-image: url(\"data:image/svg+xml,"+$SS.theme.icons.imgExpand+"\")!important;
-}
-.contract-all-shortcut {
- background-image: url(\"data:image/svg+xml,"+$SS.theme.icons.imgContract+"\")!important;
-}
-.settings-link {
- background-image: url(\"data:image/svg+xml,"+$SS.theme.icons._4chanX+"\")!important;
-}
-#OneeChanLink {
- background-image: url(\"data:image/svg+xml,"+$SS.theme.icons.OneeChan+"\")!important;
-}
-.qr-shortcut {
- background-image: url(\"data:image/svg+xml,"+$SS.theme.icons.quickReply+"\")!important;
-}
-#watcher-link {
- background-image: url(\"data:image/svg+xml,"+$SS.theme.icons.threadWatcher+"\")!important;
-}
-#appchan-gal {
- background-image: url(\"data:image/svg+xml,"+$SS.theme.icons.gallery+"\")!important;
-}
-" : "") + ";
View
@@ -48,7 +48,6 @@
"Show Board Name": [ true, "Toggle visibility of the board name", null, true ],
"Show Text Board": [ true, "Toggle visibility of the text board link", "Show Board Name", true, true ],
"Show Reply to Thread Button": [ false, "Toggle visibility of the Start a Thread / Reply to Thread button"],
- "Show Shortcut Icons": [ true, "Shows icons instead of text links for 4chan X shortcuts in the header bar"],
"Show Checkboxes": [ false, "Hides checkboxes and deleteform to be replaced by 4chan X menus" ],
"Show Header Background Gradient": [ true, "Gives the header bar a gradient background to be prettier" ],
"Show 4chan Ads": [ false, "Opts into 4chan\'s banner ads", null, true ],
@@ -142,7 +141,7 @@
"Hidden Themes" : [],
"Selected Theme" : 5,
"NSFW Theme" : 5,
- "Selected Mascots": 0,
+ "Selected Mascots": 1,
"Mascots" : [],
"Hidden Mascots" : []
},
@@ -910,7 +909,7 @@
saveAndClose : false,
init: function()
{
- var a = $("<span class='shortcut brackets-wrap'><a id='OneeChanLink' title='OneeChan Settings' href='javascript:;'>OneeChan").bind("click", $SS.options.show);
+ var a = $("<span class='shortcut brackets-wrap'><a id='OneeChanLink' title='OneeChan Settings' class='fa fa-gears' href='javascript:;'>OneeChan").bind("click", $SS.options.show);
return $("#shortcuts>.shortcut:last-of-type").before(a);
},
show: function()

0 comments on commit 999436a

Please sign in to comment.