• Stars
    star
    237
  • Rank 169,885 (Top 4 %)
  • Language
    CSS
  • Created about 13 years ago
  • Updated about 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

CSS to highlight potentially malformed, invalid or questionable markup.

debugCSS: (X)HTML debugging tool built with CSS

debugCSS is meant to be loaded on an existing page to highlight potentially broken, malformed or legacy (X)HTML.

Not all "errors" are created equally, so they are color coded to highlight severity. Green is "probably not a big problem", yellow is "worth looking at" and red is "you really should fix this."

Each condition is specified in three areas:

  • Setting up the :after area for display (trying to reset common styles like colors, font sizes, etc).
  • Specifying the color severity (green, yellow, red) and content (which is the error or warning message to be displayed).
  • Creating the outline around the offending element according to it's color severity.

Install

Visit http://imbrianj.github.com/debugCSS/ to install the bookmarklet.

License

Copyrights for code authored by Yahoo! Inc. is licensed under the following terms: MIT License Copyright (c) 2011 Yahoo! Inc. All Rights Reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Repositories

1

switchBoard

Control of Internet connected devices within a given network via web interface.
JavaScript
202
star
2

foscam

Foscam device type to support dynamic input of credentials and enable / disable motion alarm to easily integrate into homemade security systems. Polls to find alarm status. Largely taken from http://build.smartthings.com/blog/foscam/ and https://gist.github.com/ronnycarr/6218175
Groovy
19
star
3

change_nest_mode

Simply marks any thermostat "away" if able (primarily focused on the Nest thermostat). This is intended to be used with an "Away" or "Home" mode.
Groovy
12
star
4

nobody_home

If all presence are away, change mode to "Away", and set thermostats to "Away" - and turn off all thermostats and switches
Groovy
10
star
5

oauth_controller

Creates OAuth endpoints for devices and modes set up on your SmartThings account.
Groovy
8
star
6

thermostat_window_check

If your heating or cooling system come on, it gives you notice if there are any windows or doors left open, preventing the system from working optimally.
Groovy
5
star
7

door_knocker

Let me know when someone knocks on the door, but ignore when someone is opening the door.
Groovy
4
star
8

safe_watch

Watch a series of sensors for any anomalies for securing a safe or room.
Groovy
3
star
9

secure_my_foscam

Simply turns on the alarm for any Foscam custom device. This is intended to be used with the Foscam custom device type with a camera set up for FTP or email uploading based on motion detection.
Groovy
3
star
10

switchboard_device

Used in conjunction with the Universal Controller, this allows you to control properly configured devices from SmartThings.
Groovy
3
star
11

forgiving_security

Arm a simple security system based on mode. Has a grace period to allow an ever present lag in presence detection.
Groovy
2
star
12

ready_for_rain

Checks for upcoming inclement weather and alerts you if you have doors or windows open
Groovy
2
star
13

smart_sprinkler

Turn off a sprinkler switch if there's rain coming.
Groovy
1
star
14

did_my_hub_go_down

Did My Hub Go Down?
Groovy
1
star
15

emoji_search

Quickly search emoji based on tags from mobile or desktop. Self-contained, so run it locally if you want.
1
star
16

hall_light_welcome_home

Turn on the hall light if someone comes home (presence) and the door opens.
Groovy
1
star
17

switchboard-phpServer

Authenticated PHP server to pass commands to a SwitchBoard instance.
PHP
1
star
18

colorGrid

Stupid experiment with color
HTML
1
star
19

sixPack

Simple demonstration of displaying mobile sensor data into familiar "six pack" flight instruments
JavaScript
1
star
20

smartGrid

Simple CSS/HTML demo for stacking content of variable heights in any width browser
HTML
1
star