diff --git a/README.md b/README.md index d0392e0..01fb894 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,31 @@ +This is a fork of the https://github.com/ysard/cookie-quick-manager +git repository, awaiting an accepted pull-request, and providing the +following changes from the upstream original: + +* An option for a dark theme + +* Renaming the 'hacker-style' theme to plain 'green' + +* Javascript for dynamic updating of the themes + +* Removing hard-coded css from html files, and combining themm into an + individual theme file. + +* Minor css label changes, and additions, to handle conflicts among + the css of the individual html files. + +To use this repository without registering it as a Mozilla add-on: + +* navigate to the `src` folder + +* perform `aa="$HOME/Downloads/foo.xpi" ; rm "$aa" ; zip -r "$aa" *` + +* open a firefox tab _about:debugging_ + +* enable debugging and load the temporary extension + +Following is the README.md of the upstream version of the repository: + # Overview Cookie Quick Manager: A complete manager for cookies accumulated during browsing. @@ -75,4 +103,4 @@ The extension is still in development with the launch of Firefox Quantum; questi # License -[GPLv3](https://github.com/ysard/cookie-quick-manager/blob/master/LICENSE"). \ No newline at end of file +[GPLv3](https://github.com/ysard/cookie-quick-manager/blob/master/LICENSE"). diff --git a/src/black-skin.css b/src/black-skin.css new file mode 100644 index 0000000..8f65209 --- /dev/null +++ b/src/black-skin.css @@ -0,0 +1,132 @@ +body { + color: white; + background:black; +} +button { + background: #303030; +} +#dynamic-tab { + background: #303030; +} +.form-control { + color: white; + background: #202020; +} +.info { + background-color: black; +} +#protected-cookie-tree .list-group-item { + background: #202020; +} +/* Following section is for menu.html */ +.panel { + background: black; + color: white; + font-size: 0.6em; + min-height: 16px; +} +a, a:visited{ + color: white; */ +} +a:hover { + background-color: #404040; +} +/* Preceding section is for menu.html */ + + + + +/* Reduce height of elements due to the augmentation of the padding + * for h2 tags + */ +#domain-list, #cookie-list { + height: calc(100% - 75px); +} +#value { + /* -41px */ + height: 125px; +} +/* Customization */ + +* { + /* BB181218: + !important was inserted to fix context menus, with the + unfortunate result that to over-ride it, I needed to + then include !important foreverwhere else's background */ + background: black !important; + color: white; +} + +.list-group-item { + /*padding: 7px 17px;*/ + background: black; + color: #727272; + border-color: #808080; +} +.list-group-item:first-child{ + border-radius: 0; +} +.list-group-item.active, +.list-group-item.active:focus, +.list-group-item.active:hover, +#search_domain_submit{ + background-color: #303030; + border-color: #505050; +} +.list-group-item > .badge{ + border-radius: 0; +} +.list-group-item > .badge{ + background-color: #404040; +} +.list-group-item.active > .badge, .nav-pills > .active > a > .badge { + color: white; + background-color: #606060; +} +.form-control { + border-radius: 0; + box-shadow: inherit; + background: black; + border-color: #e6e6e6; +} +.btn-default, +.input-group-addon, +.open > .dropdown-toggle.btn-default{ /*fix grey bg color during the click*/ + border-radius: 0px; + background-color: #505050; + color: white; + border-color: #d0d0d0; +} +.btn-default:hover, +.dropup > .dropdown-toggle.btn-default:hover{ /*fix grey bg color during the click*/ + background-color: #303030; + border-color: #808080; + color: white; +} +.btn-default:focus, +.open > .dropdown-toggle.btn-default:focus{ + /* Add a border when buttons are focused by tab key */ + border-color: #808080; + color: white; + background-color: #404040; +} +.btn-default:active:focus { + /*fix grey bg color during the click*/ + background-color: #808080; +} +.glyphicon{ + color: white; +} +.top-buttons .glyphicon{ + top: -2px; + color: #808080; +} + +@media only screen and (max-width: 768px) { + #domain-list, #cookie-list { + height: 200px; /* +50px */ + } + .row .col-sm-8 { + top: 465px; /* +90px */ + } +} diff --git a/src/cookies.html b/src/cookies.html index 8014b09..bc234cc 100644 --- a/src/cookies.html +++ b/src/cookies.html @@ -6,274 +6,9 @@ +