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.

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