diff options
| author | liwencTaiwan <Liwen@Liwens-MBP.wv.cc.cmu.edu> | 2016-10-14 13:33:01 -0400 |
|---|---|---|
| committer | liwencTaiwan <Liwen@Liwens-MBP.wv.cc.cmu.edu> | 2016-10-14 13:33:01 -0400 |
| commit | ad2fbe28d4e345c9b100f47eef2da0b8f76ff9a5 (patch) | |
| tree | 98996910444e89e9342acada93ae431dba1c3ff5 /webapp/app/static | |
| parent | 86761b1f1075953a08944d178b05c0b3c259d243 (diff) | |
| download | bridge-ad2fbe28d4e345c9b100f47eef2da0b8f76ff9a5.tar.zst | |
Add img-disable css and usage
The “socket.on(enable/disable image)” haven’t been tested.
Diffstat (limited to 'webapp/app/static')
| -rw-r--r-- | webapp/app/static/carousel.css | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/webapp/app/static/carousel.css b/webapp/app/static/carousel.css index 9ef5474..4e49305 100644 --- a/webapp/app/static/carousel.css +++ b/webapp/app/static/carousel.css @@ -93,6 +93,14 @@ body { letter-spacing: -1px; } +img.img-disable { + -webkit-filter: grayscale(100%); + -moz-filter: grayscale(100%); + -o-filter: grayscale(100%); + -ms-filter: grayscale(100%); + filter: grayscale(100%); + opacity: 0.5; +} /* RESPONSIVE CSS -------------------------------------------------- */ @@ -133,6 +141,4 @@ body { margin-top: 120px; } - - } |
