You are here

content_sync.element.message.css in Content Synchronization 8

Messages element styles.

File

css/content_sync.element.message.css
View source
  1. /**
  2. * @file
  3. * Messages element styles.
  4. *
  5. */
  6. /**
  7. * Add styles to default (info) message,
  8. */
  9. .messages.messages--info {
  10. color: #31708f;
  11. background-color: #d9edf7;
  12. background-image: url(../images/icons/info.svg);
  13. border-color: #0074bd #0074bd #0074bd transparent; /* LTR */
  14. box-shadow: -8px 0 0 #0074bd; /* LTR */
  15. }
  16. [dir="rtl"] .messages.messages--info {
  17. border-color: #0074bd transparent #0074bd #0074bd;
  18. box-shadow: 8px 0 0 #0074bd;
  19. margin-left: 0;
  20. }
  21. /**
  22. * Content Sync message close container.
  23. */
  24. .content_sync-message--close .messages {
  25. position: relative;
  26. }
  27. /**
  28. * Content Sync message close link.
  29. */
  30. .content_sync-message--close .messages {
  31. padding-right: 35px;
  32. }
  33. .content_sync-message--close .content_sync-message__link {
  34. display: none;
  35. }
  36. html.js .content_sync-message--close .content_sync-message__link {
  37. display: block;
  38. position: absolute;
  39. top: 11px;
  40. right: 10px;
  41. line-height: 24px;
  42. font-size: 24px;
  43. }
  44. .content_sync-message__link {
  45. color: inherit;
  46. opacity: 0.33;
  47. }
  48. .content_sync-message__link:link {
  49. border-bottom: none;
  50. text-decoration: none;
  51. }
  52. .content_sync-message__link:hover,
  53. .content_sync-message__link:focus,
  54. .content_sync-message__link:active {
  55. border-bottom: none;
  56. text-decoration: none;
  57. color: inherit;
  58. opacity: 1;
  59. }
  60. html.js .js-content_sync-message--close-storage {
  61. display: none;
  62. }