docker images - add state class to add visual clue to docker state


zoggy

Recommended Posts

Right now I find it hard to visually tell if a docker is running or not (as the docker images take focus away from the state icons)

firefox_2020-01-29_17-17-26.png

 

 

One example would to add some css to lesen the opacity of the docker image if the state is stopped, here is an example:

img.stopped {
  opacity: .35;
  filter: alpha(opacity=35);
  -webkit-transition: opacity .5s ease-in-out;
     -moz-transition: opacity .5s ease-in-out;
      -ms-transition: opacity .5s ease-in-out;
       -o-transition: opacity .5s ease-in-out;
          transition: opacity .5s ease-in-out;
}

preview:

firefox_2020-01-29_17-21-03.png

Edited by zoggy
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.