[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/media/templates/site/cassiopeia/css/vendor/joomla-custom-elements/ -> joomla-alert.css (source)

   1  @import "../../../../../../vendor/joomla-custom-elements/css/joomla-alert.css";
   2  #system-message-container:empty {
   3    display: none;
   4    margin-top: 0;
   5  }
   6  
   7  #system-message-container joomla-alert {
   8    position: relative;
   9    display: flex;
  10    width: 100%;
  11    min-width: 16rem;
  12    padding: 0;
  13    margin-bottom: 0;
  14    color: var(--gray-dark);
  15    background-color: white;
  16    border: 1px solid var(--alert-accent-color, transparent);
  17    border-radius: 0.25rem;
  18    transition: opacity 0.15s linear;
  19  }
  20  #system-message-container joomla-alert + * {
  21    margin-top: 1rem;
  22  }
  23  #system-message-container joomla-alert .alert-heading {
  24    display: flex;
  25    flex-direction: column;
  26    justify-content: center;
  27    align-content: center;
  28    padding: 0.8rem;
  29    color: var(--alert-heading-text);
  30    background: var(--alert-accent-color, transparent);
  31  }
  32  #system-message-container joomla-alert .alert-heading .message::before,
  33  #system-message-container joomla-alert .alert-heading .success::before {
  34    display: inline-block;
  35    width: 1em;
  36    height: 1em;
  37    content: "";
  38    background-image: url('data:image/svg+xml;utf8,<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path fill="rgba(255, 255, 255, .95)" d="M1299 813l-422 422q-19 19-45 19t-45-19l-294-294q-19-19-19-45t19-45l102-102q19-19 45-19t45 19l147 147 275-275q19-19 45-19t45 19l102 102q19 19 19 45t-19 45zm141 83q0-148-73-273t-198-198-273-73-273 73-198 198-73 273 73 273 198 198 273 73 273-73 198-198 73-273zm224 0q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"/></svg>');
  39    background-size: 100%;
  40  }
  41  #system-message-container joomla-alert .alert-heading .notice::before,
  42  #system-message-container joomla-alert .alert-heading .info::before {
  43    display: inline-block;
  44    width: 1em;
  45    height: 1em;
  46    content: "";
  47    background-image: url('data:image/svg+xml;utf8,<svg width="1792" height="1792" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path fill="rgba(255, 255, 255, .95)" d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"/></svg>');
  48    background-size: 100%;
  49  }
  50  #system-message-container joomla-alert .alert-heading .warning::before {
  51    display: inline-block;
  52    width: 1em;
  53    height: 1em;
  54    content: "";
  55    background-image: url('data:image/svg+xml;utf8,<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path fill="rgba(255, 255, 255, .95)" d="M1024 1375v-190q0-14-9.5-23.5t-22.5-9.5h-192q-13 0-22.5 9.5t-9.5 23.5v190q0 14 9.5 23.5t22.5 9.5h192q13 0 22.5-9.5t9.5-23.5zm-2-374l18-459q0-12-10-19-13-11-24-11h-220q-11 0-24 11-10 7-10 21l17 457q0 10 10 16.5t24 6.5h185q14 0 23.5-6.5t10.5-16.5zm-14-934l768 1408q35 63-2 126-17 29-46.5 46t-63.5 17h-1536q-34 0-63.5-17t-46.5-46q-37-63-2-126l768-1408q17-31 47-49t65-18 65 18 47 49z"/></svg>');
  56    background-size: 100%;
  57  }
  58  #system-message-container joomla-alert .alert-heading .error::before,
  59  #system-message-container joomla-alert .alert-heading .danger::before {
  60    display: inline-block;
  61    width: 1em;
  62    height: 1em;
  63    content: "";
  64    background-image: url('data:image/svg+xml;utf8,<svg width="1792" height="1792" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path fill="rgba(255, 255, 255, .95)" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm101.8-262.2L295.6 256l62.2 62.2c4.7 4.7 4.7 12.3 0 17l-22.6 22.6c-4.7 4.7-12.3 4.7-17 0L256 295.6l-62.2 62.2c-4.7 4.7-12.3 4.7-17 0l-22.6-22.6c-4.7-4.7-4.7-12.3 0-17l62.2-62.2-62.2-62.2c-4.7-4.7-4.7-12.3 0-17l22.6-22.6c4.7-4.7 12.3-4.7 17 0l62.2 62.2 62.2-62.2c4.7-4.7 12.3-4.7 17 0l22.6 22.6c4.7 4.7 4.7 12.3 0 17z"/></svg>');
  65    background-size: 100%;
  66  }
  67  #system-message-container joomla-alert .alert-wrapper {
  68    width: 100%;
  69  }
  70  #system-message-container joomla-alert .alert-link {
  71    color: var(--success, inherit);
  72  }
  73  #system-message-container joomla-alert[type=success], #system-message-container joomla-alert[type=message] {
  74    --alert-accent-color: var(--success);
  75    --alert-heading-text: hsla(0, 0%, 100%, .95);
  76    --alert-close-button: var(--success);
  77    background-color: white;
  78  }
  79  #system-message-container joomla-alert[type=info], #system-message-container joomla-alert[type=notice] {
  80    --alert-accent-color: var(--info);
  81    --alert-heading-text: hsla(0, 0%, 100%, .95);
  82    --alert-close-button: var(--info);
  83    background-color: white;
  84  }
  85  #system-message-container joomla-alert[type=warning] {
  86    --alert-accent-color: var(--warning);
  87    --alert-heading-text: hsla(0, 0%, 100%, .95);
  88    --alert-close-button: var(--warning);
  89    background-color: white;
  90  }
  91  #system-message-container joomla-alert[type=error], #system-message-container joomla-alert[type=danger] {
  92    --alert-accent-color: var(--danger);
  93    --alert-heading-text: hsla(0, 0%, 100%, .95);
  94    --alert-close-button: var(--danger);
  95    background-color: white;
  96  }
  97  #system-message-container joomla-alert .joomla-alert--close,
  98  #system-message-container joomla-alert .joomla-alert-button--close {
  99    position: absolute;
 100    top: 0;
 101    right: 0;
 102    padding: 0.2rem 0.8rem;
 103    font-size: 2rem;
 104    color: var(--alert-close-button);
 105    background: none;
 106    border: 0;
 107    opacity: 1;
 108  }
 109  #system-message-container joomla-alert .joomla-alert--close:hover, #system-message-container joomla-alert .joomla-alert--close:focus,
 110  #system-message-container joomla-alert .joomla-alert-button--close:hover,
 111  #system-message-container joomla-alert .joomla-alert-button--close:focus {
 112    text-decoration: none;
 113    cursor: pointer;
 114    opacity: 0.75;
 115  }
 116  [dir=rtl] #system-message-container joomla-alert .joomla-alert--close,
 117  [dir=rtl] #system-message-container joomla-alert .joomla-alert-button--close {
 118    right: auto;
 119    left: 0;
 120    padding: 0.2rem 0.6rem;
 121  }
 122  #system-message-container joomla-alert div {
 123    font-size: 1rem;
 124  }
 125  #system-message-container joomla-alert div .alert-message {
 126    padding: 0.3rem 2rem 0.3rem 0.3rem;
 127    margin: 0.5rem;
 128  }
 129  [dir=rtl] #system-message-container joomla-alert div .alert-message {
 130    padding: 0.3rem 0.3rem 0.3rem 2rem;
 131  }
 132  #system-message-container joomla-alert div .alert-message:not(:first-of-type) {
 133    border-top: 1px solid var(--alert-accent-color);
 134  }


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer