From 8a7d1999a7daec30b009b820fd8ff1019cf2adc5 Mon Sep 17 00:00:00 2001 From: James Campos Date: Mon, 18 Apr 2011 17:47:03 -0700 Subject: [PATCH] css --- 4chan_x.js | 113 ++++++++++++++++++++++++++------------------------ script.coffee | 113 ++++++++++++++++++++++++++------------------------ 2 files changed, 118 insertions(+), 108 deletions(-) diff --git a/4chan_x.js b/4chan_x.js index 686e9930a..5f0f8aec4 100644 --- a/4chan_x.js +++ b/4chan_x.js @@ -2029,14 +2029,72 @@ label, a {\ cursor: pointer;\ }\ +\ + .new {\ + background: lime;\ + }\ + .favicon {\ + cursor: pointer;\ + }\ + .error {\ + color: red;\ + }\ +\ + div.thread.stub > *:not(.block) {\ + display: none;\ + }\ +\ + form[name=delform] a img {\ + border: 0px;\ + float: left;\ + margin: 0px 20px;\ + }\ + iframe {\ + display: none;\ + }\ \ #iHover {\ position: fixed;\ }\ +\ + #navlinks {\ + position: fixed;\ + top: 25px;\ + right: 5px;\ + }\ + #navlinks > a {\ + font-size: 16px;\ + }\ +\ + #options {\ + position: fixed;\ + padding: 5px;\ + text-align: right;\ + }\ #options textarea {\ height: 100px;\ width: 500px;\ }\ +\ + #qr {\ + position: fixed;\ + }\ + #qr > div.move {\ + text-align: right;\ + }\ + #qr > form > div, /* ad */\ + #qr td.rules {\ + display: none;\ + }\ + #qr.auto:not(:hover) form {\ + display: none;\ + }\ + #qr span.error {\ + position: absolute;\ + bottom: 0;\ + left: 0;\ + }\ +\ #updater {\ position: fixed;\ text-align: right;\ @@ -2051,6 +2109,7 @@ #updater:not(:hover) > div:not(.move) {\ display: none;\ }\ +\ #watcher {\ position: absolute;\ }\ @@ -2061,60 +2120,6 @@ #watcher > div:last-child {\ padding: 0 5px 5px 5px;\ }\ - span.error {\ - color: red;\ - }\ - #qr.auto:not(:hover) form {\ - display: none;\ - }\ - #qr span.error {\ - position: absolute;\ - bottom: 0;\ - left: 0;\ - }\ - #qr {\ - position: fixed;\ - }\ - #qr > div {\ - text-align: right;\ - }\ - #qr > form > div, /* ad */\ - #qr td.rules {\ - display: none;\ - }\ - #options {\ - position: fixed;\ - padding: 5px;\ - text-align: right;\ - }\ - form[name=delform] a img {\ - border: 0px;\ - float: left;\ - margin: 0px 20px;\ - }\ - iframe {\ - display: none;\ - }\ - #navlinks {\ - position: fixed;\ - top: 25px;\ - right: 5px;\ - }\ - #navlinks > a {\ - font-size: 16px;\ - }\ - div.thread.stub > *:not(.block) {\ - display: none;\ - }\ - .hide {\ - display: none;\ - }\ - .new {\ - background: lime;\ - }\ - .favicon {\ - cursor: pointer;\ - }\ '); if (location.hostname === 'sys.4chan.org') { qr.sys(); diff --git a/script.coffee b/script.coffee index 207f07096..aec0d6019 100644 --- a/script.coffee +++ b/script.coffee @@ -1562,13 +1562,71 @@ $.addStyle ' cursor: pointer; } + .new { + background: lime; + } + .favicon { + cursor: pointer; + } + .error { + color: red; + } + + div.thread.stub > *:not(.block) { + display: none; + } + + form[name=delform] a img { + border: 0px; + float: left; + margin: 0px 20px; + } + iframe { + display: none; + } + #iHover { position: fixed; } + + #navlinks { + position: fixed; + top: 25px; + right: 5px; + } + #navlinks > a { + font-size: 16px; + } + + #options { + position: fixed; + padding: 5px; + text-align: right; + } #options textarea { height: 100px; width: 500px; } + + #qr { + position: fixed; + } + #qr > div.move { + text-align: right; + } + #qr > form > div, /* ad */ + #qr td.rules { + display: none; + } + #qr.auto:not(:hover) form { + display: none; + } + #qr span.error { + position: absolute; + bottom: 0; + left: 0; + } + #updater { position: fixed; text-align: right; @@ -1583,6 +1641,7 @@ $.addStyle ' #updater:not(:hover) > div:not(.move) { display: none; } + #watcher { position: absolute; } @@ -1593,60 +1652,6 @@ $.addStyle ' #watcher > div:last-child { padding: 0 5px 5px 5px; } - span.error { - color: red; - } - #qr.auto:not(:hover) form { - display: none; - } - #qr span.error { - position: absolute; - bottom: 0; - left: 0; - } - #qr { - position: fixed; - } - #qr > div { - text-align: right; - } - #qr > form > div, /* ad */ - #qr td.rules { - display: none; - } - #options { - position: fixed; - padding: 5px; - text-align: right; - } - form[name=delform] a img { - border: 0px; - float: left; - margin: 0px 20px; - } - iframe { - display: none; - } - #navlinks { - position: fixed; - top: 25px; - right: 5px; - } - #navlinks > a { - font-size: 16px; - } - div.thread.stub > *:not(.block) { - display: none; - } - .hide { - display: none; - } - .new { - background: lime; - } - .favicon { - cursor: pointer; - } ' if location.hostname is 'sys.4chan.org'