You are here

flag.css in Flag 7.3

Same filename and directory in other branches
  1. 5 theme/flag.css
  2. 6.2 theme/flag.css
  3. 6 theme/flag.css
  4. 7.2 theme/flag.css
.flag-message {
  position: absolute;
  top: 1.7em;
  line-height: normal;
  left: 0;
  text-align: left;
  width: 300px;
  font-size: .8em;
}

.flag-message.flag-failure-message {
  border: 1px solid ;
  border-color: #ed5;
  color: #840;
  background-color: #fffce5;
  padding: 2px;
}

.flag-wrapper {
  position: relative;
}

/* Better contextual link support, prevent line wrapping. */
ul.contextual-links li .flag-wrapper a {
  display: inline-block;
}

ul.contextual-links li .flag-wrapper {
  display: block;
}

/* The rest deals with indicating the waiting state. */

.flag-waiting a {
  /* Give an impression of a disabled link. */
  opacity: 0.5;
  filter: alpha(opacity=50); /* IE */
}

.flag-waiting .flag-throbber {
  background: url(flag-throbber.gif) no-repeat right center;
  padding-right: 13px;
}

File

theme/flag.css
View source
  1. .flag-message {
  2. position: absolute;
  3. top: 1.7em;
  4. line-height: normal;
  5. left: 0;
  6. text-align: left;
  7. width: 300px;
  8. font-size: .8em;
  9. }
  10. .flag-message.flag-failure-message {
  11. border: 1px solid ;
  12. border-color: #ed5;
  13. color: #840;
  14. background-color: #fffce5;
  15. padding: 2px;
  16. }
  17. .flag-wrapper {
  18. position: relative;
  19. }
  20. /* Better contextual link support, prevent line wrapping. */
  21. ul.contextual-links li .flag-wrapper a {
  22. display: inline-block;
  23. }
  24. ul.contextual-links li .flag-wrapper {
  25. display: block;
  26. }
  27. /* The rest deals with indicating the waiting state. */
  28. .flag-waiting a {
  29. /* Give an impression of a disabled link. */
  30. opacity: 0.5;
  31. filter: alpha(opacity=50); /* IE */
  32. }
  33. .flag-waiting .flag-throbber {
  34. background: url(flag-throbber.gif) no-repeat right center;
  35. padding-right: 13px;
  36. }