You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

90 lines
1.4 KiB

  1. .ui.nag {
  2. display: none;
  3. opacity: .95;
  4. position: relative;
  5. top: 0;
  6. right: 0;
  7. z-index: 101;
  8. min-height: 0;
  9. width: 100%;
  10. -moz-box-sizing: border-box;
  11. -ms-box-sizing: border-box;
  12. box-sizing: border-box;
  13. margin: 0;
  14. line-height: 3em;
  15. padding: 0 1em;
  16. background-color: #555;
  17. box-shadow: 0 1px 2px 0 rgba(0,0,0,.2);
  18. font-size: 1em;
  19. text-align: center;
  20. color: rgba(255,255,255,.8);
  21. border-radius: 0 0 5px 5px;
  22. -webkit-transition: .2s background;
  23. transition: .2s background;
  24. }
  25. a.ui.nag {
  26. cursor: pointer;
  27. }
  28. .ui.nag>.title {
  29. display: inline-block;
  30. margin: 0 .5em;
  31. color: #FFF;
  32. }
  33. .ui.nag>.close.icon {
  34. cursor: pointer;
  35. opacity: .4;
  36. position: absolute;
  37. top: 50%;
  38. left: 1em;
  39. margin-top: -.5em;
  40. color: #FFF;
  41. -webkit-transition: .1s opacity;
  42. transition: .1s opacity;
  43. }
  44. .ui.nag:hover {
  45. opacity: 1;
  46. }
  47. .ui.nag .close:hover {
  48. opacity: 1;
  49. }
  50. .ui.overlay.nag {
  51. position: absolute;
  52. display: block;
  53. }
  54. .ui.fixed.nag {
  55. position: fixed;
  56. }
  57. .ui.botton.nag {
  58. border-radius: 5px 5px 0 0;
  59. }
  60. .ui.fixed.bottom.nags,
  61. .ui.fixed.bottom.nag {
  62. top: auto;
  63. bottom: 0;
  64. }
  65. .ui.white.nags .nag,
  66. .ui.white.nag {
  67. background-color: #F1F1F1;
  68. text-shadow: 0 1px 0 rgba(255,255,255,.8);
  69. color: #ACACAC;
  70. }
  71. .ui.white.nags .nag .close,
  72. .ui.white.nags .nag .title,
  73. .ui.white.nag .close,
  74. .ui.white.nag .title {
  75. color: #333;
  76. }
  77. .ui.nags .nag {
  78. border-radius: 0;
  79. }