@tacc/core-styles 2.0.1 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/branding_logos.css +1 -1
- package/dist/components/README.css +1 -1
- package/dist/components/admonition/demo.css +1 -1
- package/dist/components/admonition.css +1 -1
- package/dist/components/align/demo.css +1 -1
- package/dist/components/align.css +1 -1
- package/dist/components/bootstrap/bootstrap--form.demo.css +1 -1
- package/dist/components/bootstrap/bootstrap--modal.demo.css +1 -1
- package/dist/components/bootstrap/demo.css +1 -1
- package/dist/components/bootstrap.container.css +1 -1
- package/dist/components/bootstrap.css +1 -1
- package/dist/components/bootstrap.figure.css +1 -1
- package/dist/components/bootstrap.form.css +1 -1
- package/dist/components/bootstrap.modal.css +1 -1
- package/dist/components/bootstrap.pagination.css +1 -1
- package/dist/components/c-button/demo.css +1 -1
- package/dist/components/c-button.css +1 -1
- package/dist/components/c-callout.css +1 -1
- package/dist/components/c-card/c-card--frontera.demo.css +1 -1
- package/dist/components/c-card/c-card.demo.css +1 -1
- package/dist/components/c-card--frontera-about-page.css +1 -1
- package/dist/components/c-card.css +1 -1
- package/dist/components/c-card.selectors.css +1 -1
- package/dist/components/c-data-list.css +1 -1
- package/dist/components/c-footer.css +1 -1
- package/dist/components/c-form--cms.css +1 -0
- package/dist/components/c-form--portal.css +1 -0
- package/dist/components/c-form.css +1 -1
- package/dist/components/c-image-map.css +1 -1
- package/dist/components/c-image-map.skin.css +1 -1
- package/dist/components/c-image-map.structure.css +1 -1
- package/dist/components/c-message/demo.css +1 -1
- package/dist/components/c-message--compact.css +1 -0
- package/dist/components/c-message--expanded.css +1 -0
- package/dist/components/c-message.css +1 -1
- package/dist/components/c-message.selectors.css +1 -0
- package/dist/components/c-nav.css +1 -1
- package/dist/components/c-page.css +1 -1
- package/dist/components/c-recognition.css +1 -1
- package/dist/components/c-see-all-link.css +1 -1
- package/dist/components/c-show-more.css +1 -1
- package/dist/components/cortal.icon.css +1 -1
- package/dist/components/cortal.icon.font.css +1 -1
- package/dist/components/demo.css +1 -1
- package/dist/components/django-cms-forms--errors-via-c-message.css +1 -0
- package/dist/components/django-cms-forms.css +1 -1
- package/dist/components/django-cms-forms.hacks.css +1 -1
- package/dist/components/mui.tabs.css +1 -1
- package/dist/components/tacc-docs.css +1 -1
- package/dist/core-styles.base.css +3 -3
- package/dist/core-styles.cms.css +2 -2
- package/dist/core-styles.demo.css +1 -1
- package/dist/core-styles.docs.css +2 -2
- package/dist/core-styles.header.css +1 -1
- package/dist/core-styles.header.theme-has-dark-logo.css +1 -1
- package/dist/core-styles.portal.css +2 -2
- package/dist/core-styles.settings.css +2 -2
- package/dist/elements/README.css +1 -1
- package/dist/elements/bootstrap.css +1 -1
- package/dist/elements/demo.css +1 -1
- package/dist/elements/form.cms.css +1 -1
- package/dist/elements/headings/demo.css +1 -1
- package/dist/elements/headings--cms.css +1 -1
- package/dist/elements/html-elements/demo.css +1 -1
- package/dist/elements/html-elements.cms.css +1 -1
- package/dist/elements/html-elements.css +1 -1
- package/dist/elements/html-elements.docs.css +1 -1
- package/dist/elements/links.css +1 -1
- package/dist/elements/monospace.css +1 -1
- package/dist/elements/root.css +1 -1
- package/dist/elements/sticky-footer.css +1 -1
- package/dist/elements/table--basic.css +1 -1
- package/dist/elements/table--nested.css +1 -1
- package/dist/elements/table.cms.css +1 -1
- package/dist/elements/table.css +1 -1
- package/dist/elements/table.selectors.css +1 -1
- package/dist/elements/tacc-search-bar.css +1 -1
- package/dist/fractal.server.refresh.css +1 -1
- package/dist/generics/README.css +1 -1
- package/dist/generics/fonts.css +1 -1
- package/dist/objects/README.css +1 -1
- package/dist/objects/o-fixed-header-table/demo.css +1 -1
- package/dist/objects/o-fixed-header-table.css +1 -1
- package/dist/objects/o-flex-item-table-wrap/demo.css +1 -1
- package/dist/objects/o-flex-item-table-wrap.css +1 -1
- package/dist/objects/o-float-content.css +1 -1
- package/dist/objects/o-grid.css +1 -1
- package/dist/objects/o-offset-content.css +1 -1
- package/dist/objects/o-section/demo.css +1 -1
- package/dist/objects/o-section.css +1 -1
- package/dist/objects/o-section.selectors.css +1 -1
- package/dist/objects/o-site.css +1 -1
- package/dist/objects/o-table-wrap/demo.basic.css +1 -1
- package/dist/objects/o-table-wrap/demo.extra.css +1 -1
- package/dist/objects/o-table-wrap/example.flexible-horz.css +1 -1
- package/dist/objects/o-table-wrap/example.overflow-hidden.css +1 -1
- package/dist/objects/o-table-wrap/example.overflow-scroll.css +1 -1
- package/dist/objects/o-table-wrap/o-table-wrap--flexible-horz.css +1 -1
- package/dist/objects/o-table-wrap/o-table-wrap--flexible-vert.css +1 -1
- package/dist/objects/o-table-wrap/o-table-wrap--overflow-hidden.css +1 -1
- package/dist/objects/o-table-wrap/o-table-wrap--overflow-scroll-extra.css +1 -1
- package/dist/objects/o-table-wrap/o-table-wrap--overflow-scroll.css +1 -1
- package/dist/objects/o-table-wrap.css +1 -1
- package/dist/settings/README.css +1 -1
- package/dist/settings/border.css +1 -1
- package/dist/settings/color--portal.css +1 -0
- package/dist/settings/color.css +1 -1
- package/dist/settings/demo.css +1 -1
- package/dist/settings/font/demo-family.css +1 -1
- package/dist/settings/font/demo-size.css +1 -1
- package/dist/settings/font/demo-style.css +1 -1
- package/dist/settings/font/demo-weight.css +1 -1
- package/dist/settings/font--cms.css +1 -1
- package/dist/settings/font--docs.css +1 -1
- package/dist/settings/font--portal.css +1 -1
- package/dist/settings/font.css +1 -1
- package/dist/settings/max-width.css +1 -1
- package/dist/settings/space.css +1 -1
- package/dist/tools/README.css +1 -1
- package/dist/tools/media-queries.css +1 -1
- package/dist/tools/selectors.common.css +1 -1
- package/dist/tools/selectors.css +1 -1
- package/dist/tools/selectors.monospace.css +1 -1
- package/dist/tools/x-article-link.css +1 -1
- package/dist/tools/x-center.css +1 -1
- package/dist/tools/x-fake-border.css +1 -1
- package/dist/tools/x-grid.css +1 -1
- package/dist/tools/x-layout.css +1 -1
- package/dist/tools/x-link.css +1 -1
- package/dist/tools/x-mailto-text-replace.css +1 -1
- package/dist/tools/x-overlay.css +1 -1
- package/dist/tools/x-truncate.css +1 -1
- package/dist/trumps/README.css +1 -1
- package/dist/trumps/demo.css +1 -1
- package/dist/trumps/s-affixed-input-wrapper.css +1 -1
- package/dist/trumps/s-article-list.css +1 -1
- package/dist/trumps/s-article-preview.css +1 -1
- package/dist/trumps/s-blockquote.css +1 -1
- package/dist/trumps/s-breadcrumbs.css +1 -1
- package/dist/trumps/s-cms-nav.css +1 -1
- package/dist/trumps/s-document.css +1 -1
- package/dist/trumps/s-footer.css +1 -1
- package/dist/trumps/s-guide-doc.css +1 -1
- package/dist/trumps/s-header.bootstrap.css +1 -1
- package/dist/trumps/s-header.css +1 -1
- package/dist/trumps/s-header.theme-has-dark-logo.css +1 -1
- package/dist/trumps/s-inline-dl.css +1 -1
- package/dist/trumps/s-irregular-links.css +1 -1
- package/dist/trumps/s-paragraph-table.css +1 -1
- package/dist/trumps/s-portal-nav.css +1 -1
- package/dist/trumps/s-style-guide.css +1 -1
- package/dist/trumps/s-system-specs.css +1 -1
- package/dist/trumps/tacc-search-bar.css +1 -1
- package/dist/trumps/tacc-search-bar.theme-has-dark-logo.css +1 -1
- package/dist/trumps/u-empty.css +1 -1
- package/dist/trumps/u-hide.css +1 -1
- package/dist/trumps/u-mailto-text-replace.css +1 -1
- package/dist/trumps/u-nested-text-content.css +1 -1
- package/package.json +1 -1
- package/src/lib/_imports/components/admonition/admonition.hbs +6 -38
- package/src/lib/_imports/components/admonition/config.yml +21 -0
- package/src/lib/_imports/components/admonition.css +71 -19
- package/src/lib/_imports/components/c-form/c-form.hbs +4 -1
- package/src/lib/_imports/components/c-form/config.yml +16 -3
- package/src/lib/_imports/components/c-form--cms.css +23 -0
- package/src/lib/_imports/components/c-form--portal.css +22 -0
- package/src/lib/_imports/components/c-form.css +0 -14
- package/src/lib/_imports/components/c-message/c-message.hbs +1 -1
- package/src/lib/_imports/components/c-message/config.yml +26 -10
- package/src/lib/_imports/components/c-message--compact.css +65 -0
- package/src/lib/_imports/components/c-message--expanded.css +81 -0
- package/src/lib/_imports/components/c-message.css +32 -76
- package/src/lib/_imports/components/c-message.selectors.css +32 -0
- package/src/lib/_imports/components/django-cms-forms--errors-via-c-message.css +23 -0
- package/src/lib/_imports/components/django-cms-forms.css +2 -13
- package/src/lib/_imports/core-styles.base.css +0 -1
- package/src/lib/_imports/core-styles.cms.css +3 -0
- package/src/lib/_imports/core-styles.portal.css +4 -1
- package/src/lib/_imports/elements/monospace.css +2 -6
- package/src/lib/_imports/settings/color--portal.css +31 -0
- package/src/lib/_imports/settings/color.css +45 -27
- package/src/lib/_imports/components/c-message.portal.css +0 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @tacc/core-styles 2.0.
|
|
1
|
+
/*! @tacc/core-styles 2.0.2+ | MIT | github.com/TACC/Core-Styles */.x-truncate--many-lines,[class*=s-article-list--] .s-article-preview p:not(:first-child):not(:last-child){--lines:2;-webkit-box-orient:vertical;-webkit-line-clamp:var(--lines);display:-webkit-box;overflow:hidden}.x-untruncate--many-lines{-webkit-line-clamp:inherit;overflow:visible}.x-truncate--one-line,[class*=s-article-list--] .s-article-preview h3{overflow:hidden;text-overflow:var(--text-overflow,ellipsis);white-space:nowrap}.x-untruncate--one-line{overflow:visible;white-space:normal}.s-article-preview p:last-child>a,.x-article-link-stretch{height:100%;left:0;overflow:hidden;position:absolute;top:0;width:100%}.s-article-list--layout-gapless .s-article-preview p:last-child>a,.x-article-link-stretch--gapless{left:-15px;width:calc(100% + 30px)}.s-article-preview p:last-child>a:hover,.x-article-link-hover{--outline-offset:1em;outline:1px solid var(--global-color-accent--normal);outline-offset:var(--outline-offset)}.s-article-list--layout-gapless .s-article-preview p:last-child>a:hover,.x-article-link-hover--gapless{--outline-offset:0}.s-article-preview{display:flex;flex-direction:column;position:relative}.s-article-preview p:first-child{margin-bottom:.8rem;order:1;overflow:hidden}.s-article-preview p:first-child>img{left:50%;position:relative;top:50%;transform:translate(-50%,-50%)}.s-article-preview p:first-child>img.img-fluid{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.s-article-list--news .s-article-preview p:first-child{height:180px}.s-article-list--allocations .s-article-preview p:first-child{height:10rem}.s-article-list--events .s-article-preview p:first-child{display:none}.s-article-preview h3{font-size:1.8rem;font-weight:var(--bold);line-height:2.4rem;margin-bottom:.8rem;margin-top:0;order:3}.s-article-list--allocations .s-article-preview h3{color:inherit;font-size:1.6rem;font-weight:var(--bold)}.s-article-list--events .s-article-preview h3{font-size:1.4rem}.s-article-preview p:not(:first-child):not(:last-child){font-size:1.6rem;line-height:2.4rem;margin-bottom:0;order:4}[class*=s-article-list--] .s-article-preview p:not(:first-child):not(:last-child){--lines:3}.s-article-list--allocations .s-article-preview p:not(:first-child):not(:last-child){display:none}.s-article-list--events .s-article-preview p:not(:first-child):not(:last-child){color:var(--global-color-primary--xx-dark);font-size:1.4rem}.s-article-preview ul{display:flex;flex-direction:column;list-style:none;margin-bottom:.8rem;order:2;padding-left:0}.s-article-list--allocations .s-article-preview ul{order:5}.s-article-preview ul>li:first-child{display:flex;flex-direction:row;flex-wrap:wrap;font-weight:var(--medium);order:2}.s-article-list--news .s-article-preview ul>li:first-child{font-size:1rem;margin-bottom:.8rem}.s-article-list--news .s-article-preview ul>li:first-child:before{content:"Published: ";white-space:pre}.s-article-list--events .s-article-preview ul>li:first-child{color:var(--global-color-accent--normal);font-size:1.4rem}.s-article-list--allocations .s-article-preview ul>li:first-child{font-size:1.6rem}.s-article-list--allocations .s-article-preview ul>li:first-child:before{content:"Submission Deadlines: ";white-space:pre}.s-article-preview ul>li:nth-child(2){font-size:1.2rem;font-weight:var(--bold);order:1;text-transform:uppercase}.s-article-list--allocations .s-article-preview ul>li:nth-child(2),.s-article-list--events .s-article-preview ul>li:nth-child(2){display:none}.s-article-preview ul>li:nth-child(3){order:3}.s-article-list--allocations .s-article-preview ul>li:nth-child(3),.s-article-list--events .s-article-preview ul>li:nth-child(3),.s-article-list--news .s-article-preview ul>li:nth-child(3){display:none}.s-article-preview p:last-child{margin-bottom:0}.s-article-preview p:last-child{z-index:1}.s-article-preview p:last-child>a{color:transparent}.s-article-list--layout-compact .s-article-preview>*{margin-bottom:0}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @tacc/core-styles 2.0.
|
|
1
|
+
/*! @tacc/core-styles 2.0.2+ | MIT | github.com/TACC/Core-Styles */.s-blockquote blockquote{font-style:italic;margin:unset}.s-blockquote blockquote p{margin:0;white-space:pre-wrap}.s-blockquote blockquote p:before{content:"“"}.s-blockquote blockquote p:after{content:"”"}.s-blockquote figcaption{margin-top:.3em}.s-blockquote figcaption:before{content:"— "}.s-blockquote cite{font-style:unset}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @tacc/core-styles 2.0.
|
|
1
|
+
/*! @tacc/core-styles 2.0.2+ | MIT | github.com/TACC/Core-Styles */.x-truncate--many-lines{--lines:2;-webkit-box-orient:vertical;-webkit-line-clamp:var(--lines);display:-webkit-box;overflow:hidden}.x-untruncate--many-lines{-webkit-line-clamp:inherit;overflow:visible}.x-truncate--one-line{overflow:hidden;text-overflow:var(--text-overflow,ellipsis);white-space:nowrap}.x-untruncate--one-line{overflow:visible;white-space:normal}.s-breadcrumbs-via-ul,.s-breadcrumbs:is(nav){font-size:var(--global-font-size--x-small);margin-bottom:var(--global-space--under-breadcrumbs);padding-top:var(--global-space--above-breadcrumbs)}.s-breadcrumbs-via-ul ul,.s-breadcrumbs:is(nav) ol{font-weight:var(--global-font-weight--medium);list-style:none;margin-bottom:unset;padding-left:unset}.s-breadcrumbs-via-ul ul li,.s-breadcrumbs:is(nav) ol li,.s-breadcrumbs:is(ol) li{display:inline-block}.s-breadcrumbs-via-ul ul li+li:before,.s-breadcrumbs:is(nav) ol li+li:before,.s-breadcrumbs:is(ol) li+li:before{content:" > "}.s-breadcrumbs-via-ul ul li:last-child,.s-breadcrumbs:is(nav) ol li:last-child{font-weight:var(--bold)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @tacc/core-styles 2.0.
|
|
1
|
+
/*! @tacc/core-styles 2.0.2+ | MIT | github.com/TACC/Core-Styles */ul.s-cms-nav{margin-bottom:0;padding-left:0}.s-cms-nav a:hover{text-decoration:none}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @tacc/core-styles 2.0.
|
|
1
|
+
/*! @tacc/core-styles 2.0.2+ | MIT | github.com/TACC/Core-Styles */.s-document{margin-bottom:var(--global-space--large)}.s-document blockquote{border:var(--global-border--normal);opacity:.75;padding:1em}.s-document blockquote>:last-child{margin-bottom:0}@media only screen and (min-width:768px){blockquote{width:600px}}p+dl.small{padding-left:var(--global-space--list-indent)}.s-document p+details,.s-document p+dl.small,.s-document p+img,.s-document p+ol.small,.s-document p+pre,.s-document p+ul.small{margin-bottom:1rem;margin-top:-.75rem}code,pre>samp{background-color:var(--global-color-primary--x-light);border-color:var(--global-color-primary--light);border-style:solid;border-width:var(--global-border-width--normal)}.s-document img{border:var(--global-border--normal);display:block;max-width:800px;width:100%}.s-document i.icon--as-image{border:var(--global-border--normal);display:inline-block;font-size:2.8em;padding:.25em}.s-document table{max-width:500px;text-align:center;width:100%}.s-document details{--buffer-horz:1em;padding-left:var(--buffer-horz)}.s-document summary{margin-left:calc(var(--buffer-horz)*-1)}.s-document details[open]>summary{margin-bottom:.5em}.s-document summary:after{display:inline-block;margin-left:.2rem;opacity:.75}.s-document details[open]>summary:after{content:"(hide)"}.s-document details:not([open])>summary:after{content:"(show)"}.s-document .row>.col>:last-child{margin-bottom:0}.s-document .row .row{padding:var(--global-space--normal) 0}.s-document .row .row:nth-child(2n){background-color:var(--global-color-primary--x-light)}
|
package/dist/trumps/s-footer.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @tacc/core-styles 2.0.
|
|
1
|
+
/*! @tacc/core-styles 2.0.2+ | MIT | github.com/TACC/Core-Styles */.s-footer>p:last-of-type{margin:0}.s-footer a{color:var(--global-color-primary--light)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @tacc/core-styles 2.0.
|
|
1
|
+
/*! @tacc/core-styles 2.0.2+ | MIT | github.com/TACC/Core-Styles */.s-guide-doc table{max-width:500px;text-align:center;width:100%}.s-guide-doc .row>.col>:last-child{margin-bottom:0}.s-guide-doc .row .row{padding:var(--global-space--normal) 0}.s-guide-doc .row .row:nth-child(2n){background-color:var(--global-color-primary--x-light)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @tacc/core-styles 2.0.
|
|
1
|
+
/*! @tacc/core-styles 2.0.2+ | MIT | github.com/TACC/Core-Styles */.s-header .dropdown-item{color:#212529}.s-header .dropdown-item:focus,.s-header .dropdown-item:hover{background-color:#f8f9fa;color:#16181b;text-decoration:none}.s-header .dropdown-item.active,.s-header .dropdown-item:active{background-color:#007bff;color:#fff;text-decoration:none}.s-header input{font-family:inherit}
|
package/dist/trumps/s-header.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @tacc/core-styles 2.0.
|
|
1
|
+
/*! @tacc/core-styles 2.0.2+ | MIT | github.com/TACC/Core-Styles */.s-header .dropdown-item{color:#212529}.s-header .dropdown-item:focus,.s-header .dropdown-item:hover{background-color:#f8f9fa;color:#16181b;text-decoration:none}.s-header .dropdown-item.active,.s-header .dropdown-item:active{background-color:#007bff;color:#fff;text-decoration:none}.s-header input{font-family:inherit}.s-header{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-bottom:1px solid var(--global-color-primary--xx-dark);font-family:var(--global-font-family);font-size:16px;line-height:1.4}.s-header .navbar-brand{color:var(--global-color-primary--xx-light);margin-right:16px;min-width:176px;padding:0}@media only screen and (min-width:1201px){.s-header.navbar{height:50px}}.s-header.navbar{--nav-padding-vert:5px;--nav-padding-horz:36px;background-color:var(--global-color-primary--xx-dark);padding:var(--nav-padding-vert) var(--nav-padding-horz)}.s-header .nav-link{--line-height:24px;--border-width:4px;--border-offset:calc(var(--nav-padding-vert) - var(--border-width));--border-color:var(--global-color-secondary--light);line-height:var(--line-height);position:relative;top:var(--border-offset);white-space:nowrap}.s-header .nav-item.active .nav-link,.s-header .nav-link:active,.s-header .nav-link:focus,.s-header .nav-link:hover{border-color:var(--border-color);border-style:solid;border-width:0 0 var(--border-width);margin-bottom:calc(var(--border-width)*-1)}#s-header .nav-link,#s-header .nav-link>a{color:var(--global-color-primary--xx-light)}.s-header[class*=navbar-expand-] .navbar-nav .nav-link{padding:8px 14px}.s-header .s-search-bar~.s-portal-nav{border-left:1px solid var(--global-color-primary--normal);margin-left:12px}.dropdown-menu{font-size:16px}.s-header [class*=fa-]{text-align:center;width:27px}.navbar-toggler-icon{filter:none}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @tacc/core-styles 2.0.
|
|
1
|
+
/*! @tacc/core-styles 2.0.2+ | MIT | github.com/TACC/Core-Styles */.s-header .dropdown-item{color:#212529}.s-header .dropdown-item:focus,.s-header .dropdown-item:hover{background-color:#f8f9fa;color:#16181b;text-decoration:none}.s-header .dropdown-item.active,.s-header .dropdown-item:active{background-color:#007bff;color:#fff;text-decoration:none}.s-header input{font-family:inherit}.s-header{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-bottom:1px solid var(--global-color-primary--normal);font-family:var(--global-font-family);font-size:16px;line-height:1.4}.s-header .navbar-brand{color:var(--global-color-primary--x-dark);margin-right:16px;min-width:176px;padding:0}@media only screen and (min-width:1201px){.s-header.navbar{height:50px}}.s-header.navbar{--nav-padding-vert:5px;--nav-padding-horz:36px;background-color:var(--global-color-primary--x-light);padding:var(--nav-padding-vert) var(--nav-padding-horz)}.s-header .nav-link{--line-height:24px;--border-width:4px;--border-offset:calc(var(--nav-padding-vert) - var(--border-width));--border-color:var(--global-color-secondary--light);line-height:var(--line-height);position:relative;top:var(--border-offset);white-space:nowrap}.s-header .nav-item.active .nav-link,.s-header .nav-link:active,.s-header .nav-link:focus,.s-header .nav-link:hover{border-color:var(--border-color);border-style:solid;border-width:0 0 var(--border-width);margin-bottom:calc(var(--border-width)*-1)}#s-header .nav-link,#s-header .nav-link>a{color:var(--global-color-primary--x-dark)}.s-header[class*=navbar-expand-] .navbar-nav .nav-link{padding:8px 14px}.s-header .s-search-bar~.s-portal-nav{border-left:1px solid var(--global-color-primary--normal);margin-left:12px}.dropdown-menu{font-size:16px}.s-header [class*=fa-]{text-align:center;width:27px}.navbar-toggler-icon{filter:invert(100%)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @tacc/core-styles 2.0.
|
|
1
|
+
/*! @tacc/core-styles 2.0.2+ | MIT | github.com/TACC/Core-Styles */dl.s-inline-dl dt{display:block;float:left;font-weight:var(--bold);margin-bottom:0}dl.s-inline-dl dd{clear:right;margin-bottom:0}dl.s-inline-dl dt:after{-webkit-margin-end:.25em;content:":";margin-inline-end:.25em}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @tacc/core-styles 2.0.
|
|
1
|
+
/*! @tacc/core-styles 2.0.2+ | MIT | github.com/TACC/Core-Styles */.s-irregular-links .c-button--as-link,.s-irregular-links a,.x-link,.x-link--irregular{color:var(--global-color-link-on-light--normal);text-decoration:none;text-decoration-thickness:var(--global-border-width--normal);text-underline-offset:.2em}.x-link--disabled,.x-link--irregular--disabled{opacity:.5;pointer-events:none}.s-irregular-links .c-button--as-link:hover,.s-irregular-links a:hover,.x-link--hover,.x-link--irregular--hover{color:var(--global-color-link-on-light--normal);text-decoration-line:underline;text-decoration-style:solid;text-decoration-thickness:var(--global-border-width--normal)}.s-irregular-links .c-button--as-link:active,.s-irregular-links a:active,.x-link--active,.x-link--irregular--active{text-decoration-line:underline;text-decoration-style:dotted}.s-irregular-links .c-button--as-link,.s-irregular-links a,.x-link--irregular{text-decoration-line:underline}.s-irregular-links .c-button--as-link:hover,.s-irregular-links a:hover,.x-link--irregular--hover{text-decoration-style:dashed}.s-irregular-links .c-button--as-link:active,.s-irregular-links a:active,.x-link--irregular--active{text-decoration-style:dotted}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @tacc/core-styles 2.0.
|
|
1
|
+
/*! @tacc/core-styles 2.0.2+ | MIT | github.com/TACC/Core-Styles */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @tacc/core-styles 2.0.
|
|
1
|
+
/*! @tacc/core-styles 2.0.2+ | MIT | github.com/TACC/Core-Styles */.s-portal-nav{text-transform:none}ul.s-portal-nav{margin-bottom:0;padding-left:0}.s-portal-nav a:hover{text-decoration:none}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @tacc/core-styles 2.0.
|
|
1
|
+
/*! @tacc/core-styles 2.0.2+ | MIT | github.com/TACC/Core-Styles */.s-style-guide section:not(.o-section)>h1:first-child,.s-style-guide section:not(.o-section)>h2:first-child,.s-style-guide section:not(.o-section)>h3:first-child,.s-style-guide section:not(.o-section)>h4:first-child,.s-style-guide section:not(.o-section)>h5:first-child,.s-style-guide section:not(.o-section)>h6:first-child,.s-style-guide section>:not(h1,h2,h3,h4,h5,h6)+h1,.s-style-guide section>:not(h1,h2,h3,h4,h5,h6)+h2,.s-style-guide section>:not(h1,h2,h3,h4,h5,h6)+h3,.s-style-guide section>:not(h1,h2,h3,h4,h5,h6)+h4,.s-style-guide section>:not(h1,h2,h3,h4,h5,h6)+h5,.s-style-guide section>:not(h1,h2,h3,h4,h5,h6)+h6{margin-top:var(--global-space--x-large)}.s-style-guide section>h1,.s-style-guide section>h2,.s-style-guide section>h3,.s-style-guide section>h4,.s-style-guide section>h5,.s-style-guide section>h6{margin-bottom:var(--global-space--normal)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @tacc/core-styles 2.0.
|
|
1
|
+
/*! @tacc/core-styles 2.0.2+ | MIT | github.com/TACC/Core-Styles */.s-system-specs{font-size:var(--global-font-size--small);font-weight:var(--global-font-weight--medium)}@media only screen and (min-width:768px){.s-system-specs{display:flow-root}.s-system-specs>*{display:inline-block}.s-system-specs>figure{float:left}}.s-system-specs{--row-height:32px}.s-system-specs>aside{margin-top:var(--row-height)}@media only screen and (max-width:991px){.s-system-specs>figure{margin-bottom:var(--row-height)}}@media only screen and (min-width:992px){.s-system-specs{--col-width--thin:42%;--col-width--wide:48%;--col-gutter:10%;--col-padding:40px;padding-inline:var(--col-padding)}.s-system-specs>aside,.s-system-specs>div{padding-inline:var(--col-padding)}.s-system-specs>div{width:var(--col-width--thin)}.s-system-specs>figure{margin-right:var(--col-gutter);width:var(--col-width--wide)}}@media only screen and (min-width:1200px){.s-system-specs>aside{width:var(--col-width--thin)}}.s-system-specs>figure>img{display:block;width:100%}.s-system-specs>figure>figcaption{margin-top:-40px;position:relative}@media only screen and (max-width:991px){.s-system-specs>figure>img{margin-left:auto;margin-right:auto;width:60%}}@media only screen and (min-width:992px){.s-system-specs>figure>figcaption{margin-left:auto;margin-right:auto;width:80%}}.s-system-specs .c-data-list__key a{font-weight:var(--medium)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @tacc/core-styles 2.0.
|
|
1
|
+
/*! @tacc/core-styles 2.0.2+ | MIT | github.com/TACC/Core-Styles */:host{--button-horz-pad:10px;--input-horz-pad:0.125em;--input-height:26px;--button-font-size:18px;--input-font-size:14px}:host{font-size:0}:host [part=form]{align-items:center;display:flex;font-family:Roboto;position:relative}:host [part=button]{align-items:center;background-color:transparent;border:none;box-sizing:content-box;color:var(--global-color-primary--xx-light);font-size:16px;font-size:var(--button-font-size);height:var(--input-height,38px);left:0;margin:0;padding:0 var(--button-horz-pad);position:absolute;top:50%;transform:translateY(-50%)}:host [part=input]{background-color:#313131;border:var(--global-border-width--normal) solid var(--global-color-primary--dark);border-radius:5px;color:var(--global-color-primary--xx-light);display:block;font-size:var(--input-font-size);height:var(--input-height);margin:0;padding-bottom:0;padding-left:calc(var(--button-horz-pad) + var(--button-font-size) + var(--button-horz-pad) + var(--input-horz-pad));padding-right:var(--input-horz-pad);padding-top:0;width:100%}:host [part=input]::-moz-placeholder{color:var(--global-color-primary--xx-light);opacity:.5}:host [part=input]::placeholder{color:var(--global-color-primary--xx-light);opacity:.5}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @tacc/core-styles 2.0.
|
|
1
|
+
/*! @tacc/core-styles 2.0.2+ | MIT | github.com/TACC/Core-Styles */:host{--button-horz-pad:10px;--input-horz-pad:0.125em;--input-height:26px;--button-font-size:18px;--input-font-size:14px}:host{font-size:0}:host [part=form]{align-items:center;display:flex;font-family:Roboto;position:relative}:host [part=button]{align-items:center;background-color:transparent;border:none;box-sizing:content-box;color:var(--global-color-primary--x-dark);font-size:16px;font-size:var(--button-font-size);height:var(--input-height,38px);left:0;margin:0;padding:0 var(--button-horz-pad);position:absolute;top:50%;transform:translateY(-50%)}:host [part=input]{background-color:var(--global-color-primary--xx-light);border:var(--global-border-width--normal) solid #d8d8d8;border-radius:5px;color:var(--global-color-primary--x-dark);display:block;font-size:var(--input-font-size);height:var(--input-height);margin:0;padding-bottom:0;padding-left:calc(var(--button-horz-pad) + var(--button-font-size) + var(--button-horz-pad) + var(--input-horz-pad));padding-right:var(--input-horz-pad);padding-top:0;width:100%}:host [part=input]::-moz-placeholder{color:var(--global-color-primary--x-dark);opacity:.5}:host [part=input]::placeholder{color:var(--global-color-primary--x-dark);opacity:.5}
|
package/dist/trumps/u-empty.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @tacc/core-styles 2.0.
|
|
1
|
+
/*! @tacc/core-styles 2.0.2+ | MIT | github.com/TACC/Core-Styles */
|
package/dist/trumps/u-hide.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @tacc/core-styles 2.0.
|
|
1
|
+
/*! @tacc/core-styles 2.0.2+ | MIT | github.com/TACC/Core-Styles */.u-hide--visually:not(:focus,:active){clip:rect(0 0 0 0);border:none;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @tacc/core-styles 2.0.
|
|
1
|
+
/*! @tacc/core-styles 2.0.2+ | MIT | github.com/TACC/Core-Styles */.u-mailto-text-replace[data-user][data-domain]{font-size:0;visibility:hidden}.u-mailto-text-replace[data-user][data-domain]:before{content:attr(data-user) "@" attr(data-domain);display:inline;font-size:medium;visibility:visible}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @tacc/core-styles 2.0.
|
|
1
|
+
/*! @tacc/core-styles 2.0.2+ | MIT | github.com/TACC/Core-Styles */.u-nested-text-content{padding-left:var(--global-space--list-indent)}
|
package/package.json
CHANGED
|
@@ -1,39 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
<p>{{
|
|
4
|
-
</
|
|
5
|
-
<
|
|
6
|
-
<p class="admonition-title">Hint</p>
|
|
7
|
-
<p>{{> @text-of-one-paragraph-short }}</p>
|
|
8
|
-
</div>
|
|
9
|
-
<div class="admonition important">
|
|
10
|
-
<p class="admonition-title">Important</p>
|
|
11
|
-
<p>{{> @text-of-one-paragraph-short }}</p>
|
|
12
|
-
</div>
|
|
13
|
-
|
|
14
|
-
<div class="admonition attention">
|
|
15
|
-
<p class="admonition-title">Attention</p>
|
|
16
|
-
<p>{{> @text-of-one-paragraph-short }}</p>
|
|
17
|
-
</div>
|
|
18
|
-
<div class="admonition note">
|
|
19
|
-
<p class="admonition-title">Note</p>
|
|
20
|
-
<p>{{> @text-of-one-paragraph-short }}</p>
|
|
21
|
-
</div>
|
|
22
|
-
|
|
23
|
-
<div class="admonition warning">
|
|
24
|
-
<p class="admonition-title">Warning</p>
|
|
25
|
-
<p>{{> @text-of-one-paragraph-short }}</p>
|
|
26
|
-
</div>
|
|
27
|
-
<div class="admonition caution">
|
|
28
|
-
<p class="admonition-title">Caution</p>
|
|
29
|
-
<p>{{> @text-of-one-paragraph-short }}</p>
|
|
30
|
-
</div>
|
|
31
|
-
|
|
32
|
-
<div class="admonition error">
|
|
33
|
-
<p class="admonition-title">Error</p>
|
|
34
|
-
<p>{{> @text-of-one-paragraph-short }}</p>
|
|
35
|
-
</div>
|
|
36
|
-
<div class="admonition danger">
|
|
37
|
-
<p class="admonition-title">Danger</p>
|
|
38
|
-
<p>{{> @text-of-one-paragraph-short }}</p>
|
|
1
|
+
{{#types}}
|
|
2
|
+
<div class="admonition {{name}}">
|
|
3
|
+
<p class="admonition-title">{{ title }}</p>
|
|
4
|
+
<p>{{{ content }}}</p>
|
|
5
|
+
{{#code}}<pre><code>{{ this }}</code></pre>{{/code}}
|
|
39
6
|
</div>
|
|
7
|
+
{{/types}}
|
|
@@ -1,2 +1,23 @@
|
|
|
1
1
|
context:
|
|
2
2
|
shouldLoadDocs: true
|
|
3
|
+
types:
|
|
4
|
+
- name: caution
|
|
5
|
+
title: Caution
|
|
6
|
+
content: Use a caution box when following the instructions could result in the loss of data that can be easily restored or replicated. This is good for items such as informing users about the <code>/scratch</code> purge policy. It can also be used to indicate behaviors which could result in account suspension.
|
|
7
|
+
- name: warning
|
|
8
|
+
title: Warning
|
|
9
|
+
content: Use a warning box when following the instructions could result in immediate data loss. Warnings can also be used for extremely important notifications such as the retirement of a machine or a notice of data loss on the machine. These boxes should be used the least.
|
|
10
|
+
- name: tip
|
|
11
|
+
title: Tip
|
|
12
|
+
content: Use a tip box when giving a hint or command that will make things easier for the user or make things more productive. This is good for tips such as how to display the <code>taccinfo</code> box at will in the terminal.
|
|
13
|
+
- name: note
|
|
14
|
+
title: Note
|
|
15
|
+
content: Use a note box when providing contextual information to a user that is peripheral to the task being described. This is good for indicating that node sharing is not enabled and thus all SUs are charged in full node hours.
|
|
16
|
+
- name: hint
|
|
17
|
+
title: Hint
|
|
18
|
+
content: Use a hint box when providing a "good" example to a user. This is good for indicating what code should be run to perform a task.
|
|
19
|
+
code: module load kittens
|
|
20
|
+
- name: danger
|
|
21
|
+
title: Danger
|
|
22
|
+
content: Use a hint box when providing a "bad" example to a user. This is good for indicating what code should <strong>not</strong> be run to perform a task.
|
|
23
|
+
code: module load puppies
|
|
@@ -1,35 +1,87 @@
|
|
|
1
1
|
@import url("../components/c-message.css");
|
|
2
|
+
@import url("../components/c-message--expanded.css");
|
|
3
|
+
@import url("../components/c-message.selectors.css");
|
|
4
|
+
@import url("../tools/selectors.monospace.css");
|
|
2
5
|
|
|
3
6
|
|
|
4
7
|
|
|
5
8
|
.admonition {
|
|
6
|
-
@extend
|
|
7
|
-
@extend
|
|
9
|
+
@extend :--c-message;
|
|
10
|
+
@extend :--c-message--scope-section;
|
|
8
11
|
}
|
|
9
12
|
.admonition-title {
|
|
10
13
|
font-weight: var(--bold);
|
|
11
14
|
margin-top: unset; /* undo Browser */
|
|
12
15
|
margin-bottom: unset; /* undo `html-elements.cms.css` */
|
|
16
|
+
|
|
17
|
+
color: var(--global-color-primary--xx-dark);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.admonition:is(.tip) {
|
|
21
|
+
@extend :--c-message--type-tip;
|
|
22
|
+
@extend :--c-message--type-tip:--c-message--scope-section;
|
|
23
|
+
}
|
|
24
|
+
.admonition:is(.hint) {
|
|
25
|
+
@extend :--c-message--type-success;
|
|
26
|
+
@extend :--c-message--type-success:--c-message--scope-section;
|
|
27
|
+
}
|
|
28
|
+
.admonition:is(.note, .important, .attention) {
|
|
29
|
+
@extend :--c-message--type-info;
|
|
30
|
+
@extend :--c-message--type-info:--c-message--scope-section;
|
|
31
|
+
}
|
|
32
|
+
.admonition:is(.caution) {
|
|
33
|
+
@extend :--c-message--type-warning;
|
|
34
|
+
@extend :--c-message--type-warning:--c-message--scope-section;
|
|
35
|
+
}
|
|
36
|
+
.admonition:is(.warning, .error, .danger) {
|
|
37
|
+
@extend :--c-message--type-error;
|
|
38
|
+
@extend :--c-message--type-error:--c-message--scope-section;
|
|
13
39
|
}
|
|
14
40
|
|
|
15
|
-
|
|
16
|
-
.admonition
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
@extend .c-message--type-success.c-message--scope-section;
|
|
41
|
+
/* To layout icon and content */
|
|
42
|
+
.admonition {
|
|
43
|
+
display: grid;
|
|
44
|
+
grid-template-columns: 65px auto;
|
|
20
45
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
46
|
+
|
|
47
|
+
/* To move padding so icon can take up left column */
|
|
48
|
+
.admonition {
|
|
49
|
+
padding-left: 0; /* overwrite c-message */
|
|
50
|
+
padding-block: 0; /* overwrite c-message */
|
|
25
51
|
}
|
|
26
|
-
.admonition
|
|
27
|
-
.admonition
|
|
28
|
-
|
|
29
|
-
|
|
52
|
+
.admonition > * { padding-left: var(--pad-horz); }
|
|
53
|
+
.admonition > *:first-child { padding-top: var(--pad-vert); }
|
|
54
|
+
.admonition > *:last-child { padding-bottom: var(--pad-vert); }
|
|
55
|
+
|
|
56
|
+
/* To adjust spacing for certain elements */
|
|
57
|
+
.admonition > .admonition-title + p { margin-top: 5px; }
|
|
58
|
+
.admonition > pre:last-child { padding-bottom: 15px; }
|
|
59
|
+
.admonition > p + pre { margin-top: -5px; }
|
|
60
|
+
|
|
61
|
+
/* To adjust styling for certain elements */
|
|
62
|
+
.admonition :--monospace--block {
|
|
63
|
+
border-color: var(--global-color-primary--dark);
|
|
30
64
|
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
65
|
+
|
|
66
|
+
/* To add icon */
|
|
67
|
+
.admonition::before {
|
|
68
|
+
color: white;
|
|
69
|
+
font-size: 36px;
|
|
70
|
+
|
|
71
|
+
/* To take up left column */
|
|
72
|
+
grid-row: 1 / span 99; /* 99 is for arbitrary implicit row count */
|
|
73
|
+
|
|
74
|
+
/* To center content */
|
|
75
|
+
display: flex;
|
|
76
|
+
align-items: center;
|
|
77
|
+
justify-content: center;
|
|
35
78
|
}
|
|
79
|
+
|
|
80
|
+
/* To use FontAwesome icons */
|
|
81
|
+
/* FAQ: Cortal icon syntax conflicts with docs */
|
|
82
|
+
.admonition:is(.caution)::before { content: "⚠"; }
|
|
83
|
+
.admonition:is(.warning)::before { content: "𝖷"; }
|
|
84
|
+
.admonition:is(.tip)::before { content: "☀"; }
|
|
85
|
+
.admonition:is(.note, .important, .attention)::before { content: "✎"; }
|
|
86
|
+
.admonition:is(.hint)::before { content: "✓"; }
|
|
87
|
+
.admonition:is(.danger)::before { content: "𝗫"; }
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
{{#warning}}
|
|
1
2
|
<p class="c-message c-message--scope-global">
|
|
2
|
-
|
|
3
|
+
{{{ this }}}
|
|
3
4
|
</p>
|
|
5
|
+
{{/warning}}
|
|
6
|
+
|
|
4
7
|
<form action="" method="POST" enctype="multipart/form-data" class="c-form">
|
|
5
8
|
|
|
6
9
|
<h3 class="c-form__title">Title of Form</h3>
|
|
@@ -1,3 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
variants:
|
|
2
|
+
- name: default
|
|
3
|
+
status: prototype
|
|
4
|
+
context:
|
|
5
|
+
warning: This component looks better with <code>elements/form.cms.css</code>, but that styles is not loaded by default. To understand the problem, see "Portal" variant.
|
|
6
|
+
supportStyles:
|
|
7
|
+
- ../../assets/components/c-message.css
|
|
8
|
+
- name: portal
|
|
9
|
+
context:
|
|
10
|
+
shouldLoadPortal: true
|
|
11
|
+
warning: This component looks better with <code>elements/form.cms.css</code>, but that styles is not loaded for this variant. When this component is used on the Portal, those necessary CMS styles are loaded via <code>LoginComponent.module.css</code> specifically for Login page, but incidentally loaded for entire Portal (and thus depended on). When this component is styled accurately independent of CMS, this message should be removed. <small>The solution is likely to change <code>elements/form.cms.css</code> to be <code>elements/form.css</code>.</small>
|
|
12
|
+
- name: cms
|
|
13
|
+
label: CMS
|
|
14
|
+
status: ready
|
|
15
|
+
context:
|
|
16
|
+
shouldLoadCMS: true
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
@import url("../components/c-message.css");
|
|
2
|
+
@import url("../components/c-message--expanded.css");
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
/* Errors */
|
|
7
|
+
|
|
8
|
+
.c-form > .c-form__errors {
|
|
9
|
+
@extend :--c-message;
|
|
10
|
+
@extend :--c-message--type;
|
|
11
|
+
@extend :--c-message--type-error;
|
|
12
|
+
@extend :--c-message--scope;
|
|
13
|
+
@extend :--c-message--scope-section;
|
|
14
|
+
@extend :--c-message--type-error:--c-message--scope-section;
|
|
15
|
+
}
|
|
16
|
+
.c-form__field .c-form__errors li {
|
|
17
|
+
@extend :--c-message;
|
|
18
|
+
@extend :--c-message--type;
|
|
19
|
+
@extend :--c-message--type-error;
|
|
20
|
+
@extend :--c-message--scope;
|
|
21
|
+
@extend :--c-message--scope-inline;
|
|
22
|
+
@extend :--c-message--type-error:--c-message--scope-inline;
|
|
23
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
@import url("../components/c-message.css");
|
|
2
|
+
@import url("../components/c-message--compact.css");
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
/* Errors */
|
|
7
|
+
|
|
8
|
+
.c-form > .c-form__errors {
|
|
9
|
+
@extend :--c-message;
|
|
10
|
+
@extend :--c-message--type;
|
|
11
|
+
@extend :--c-message--type-error;
|
|
12
|
+
@extend :--c-message--scope;
|
|
13
|
+
@extend :--c-message--scope-section;
|
|
14
|
+
@extend :--c-message--type-error:--c-message--scope-section;
|
|
15
|
+
}
|
|
16
|
+
.c-form__field .c-form__errors li {
|
|
17
|
+
@extend :--c-message;
|
|
18
|
+
@extend :--c-message--type;
|
|
19
|
+
@extend :--c-message--type-error;
|
|
20
|
+
@extend :--c-message--scope;
|
|
21
|
+
@extend :--c-message--scope-inline;
|
|
22
|
+
}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
@import url("../components/c-button.css");
|
|
2
|
-
@import url("../components/c-message.css");
|
|
3
|
-
@import url('../tools/x-link.css');
|
|
4
2
|
|
|
5
3
|
|
|
6
4
|
|
|
@@ -126,18 +124,6 @@ ul.c-form__errors {
|
|
|
126
124
|
padding-inline: 0;
|
|
127
125
|
}
|
|
128
126
|
|
|
129
|
-
.c-form > .c-form__errors {
|
|
130
|
-
@extend .c-message;
|
|
131
|
-
@extend .c-message--type-error;
|
|
132
|
-
@extend .c-message--scope-section;
|
|
133
|
-
@extend .c-message--type-error.c-message--scope-section;
|
|
134
|
-
}
|
|
135
|
-
.c-form__field .c-form__errors li {
|
|
136
|
-
@extend .c-message;
|
|
137
|
-
@extend .c-message--type-error;
|
|
138
|
-
@extend .c-message--scope-inline;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
127
|
|
|
142
128
|
|
|
143
129
|
/* Lists */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!-- SEE: c-message--type
|
|
1
|
+
<!-- SEE: c-message--type, c-message--scope -->
|
|
@@ -2,34 +2,50 @@ status: wip
|
|
|
2
2
|
context:
|
|
3
3
|
types:
|
|
4
4
|
- name: success
|
|
5
|
-
content: Notify user of a successful event.
|
|
5
|
+
content: Notify user of a successful event. <a href>Sample link.</a>
|
|
6
6
|
- name: info
|
|
7
|
-
content: Notify user of any details that are <strong>not</strong> a problem.
|
|
7
|
+
content: Notify user of any details that are <strong>not</strong> a problem. <a href>Sample link.</a>
|
|
8
8
|
- name: warning
|
|
9
|
-
content: Notify user of an <strong>un</strong>successful event that <em>could prevent</em> functionality.
|
|
9
|
+
content: Notify user of an <strong>un</strong>successful event that <em>could prevent</em> functionality. <a href>Sample link.</a>
|
|
10
10
|
- name: error
|
|
11
|
-
content: Notify user of an <strong>un</strong>successful event that <em>does prevent</em> functionality.
|
|
11
|
+
content: Notify user of an <strong>un</strong>successful event that <em>does prevent</em> functionality. <a href>Sample link.</a>
|
|
12
12
|
scopes:
|
|
13
13
|
- name: inline
|
|
14
|
-
content: An inline message.
|
|
14
|
+
content: An inline message. <a href>Sample link.</a>
|
|
15
15
|
- name: section
|
|
16
|
-
content: A wide block message.
|
|
16
|
+
content: A wide block message. <a href>Sample link.</a>
|
|
17
17
|
# - name: app
|
|
18
|
-
# content: A floating block message.
|
|
18
|
+
# content: A floating block message. <a href>Sample link.</a>
|
|
19
19
|
- name: global
|
|
20
|
-
content: A site-wide banner message.
|
|
20
|
+
content: A site-wide banner message. <a href>Sample link.</a>
|
|
21
21
|
variants:
|
|
22
22
|
- name: default
|
|
23
23
|
hidden: true
|
|
24
24
|
- name: type
|
|
25
|
+
label: by Type (Shared)
|
|
26
|
+
status: prototype
|
|
25
27
|
- name: type-portal
|
|
26
|
-
label: Type (Portal)
|
|
28
|
+
label: by Type (Portal)
|
|
29
|
+
status: ready
|
|
27
30
|
view: 'c-message--type.hbs'
|
|
28
31
|
context:
|
|
29
32
|
shouldLoadPortal: true
|
|
33
|
+
- name: type-cms
|
|
34
|
+
label: by Type (CMS)
|
|
35
|
+
view: 'c-message--type.hbs'
|
|
36
|
+
context:
|
|
37
|
+
shouldLoadCMS: true
|
|
30
38
|
- name: scope
|
|
39
|
+
label: by Scope (Shared)
|
|
40
|
+
status: prototype
|
|
31
41
|
- name: scope-portal
|
|
32
|
-
label: Scope (Portal)
|
|
42
|
+
label: by Scope (Portal)
|
|
43
|
+
status: ready
|
|
33
44
|
view: 'c-message--scope.hbs'
|
|
34
45
|
context:
|
|
35
46
|
shouldLoadPortal: true
|
|
47
|
+
- name: scope-cms
|
|
48
|
+
label: by Scope (CMS)
|
|
49
|
+
view: 'c-message--scope.hbs'
|
|
50
|
+
context:
|
|
51
|
+
shouldLoadCMS: true
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
@import url('../tools/x-link.css');
|
|
2
|
+
|
|
3
|
+
@import url("./c-message.selectors.css");
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
/* Elements */
|
|
8
|
+
|
|
9
|
+
/* To avoid clash of link color with message color */
|
|
10
|
+
:--c-message a,
|
|
11
|
+
:--c-message .c-button--as-link {
|
|
12
|
+
color: inherit !important; /* override :hover and :active */
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* To distinguish link from message text */
|
|
16
|
+
:--c-message a,
|
|
17
|
+
:--c-message .c-button--as-link {
|
|
18
|
+
@extend .x-link--irregular;
|
|
19
|
+
}
|
|
20
|
+
:--c-message a:hover,
|
|
21
|
+
:--c-message .c-button--as-link:hover {
|
|
22
|
+
@extend .x-link--irregular--hover;
|
|
23
|
+
}
|
|
24
|
+
:--c-message a:active,
|
|
25
|
+
:--c-message .c-button--as-link:active {
|
|
26
|
+
@extend .x-link--irregular--active;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
/* Modifiers */
|
|
32
|
+
|
|
33
|
+
/* Structure */
|
|
34
|
+
|
|
35
|
+
:--c-message--scope-inline,
|
|
36
|
+
:--c-message--scope-section,
|
|
37
|
+
:--c-message--scope-global {
|
|
38
|
+
font-size: var(--global-font-size--small);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
:--c-message--scope-section {
|
|
42
|
+
--pad-vert: 15px;
|
|
43
|
+
--pad-horz: 20px;
|
|
44
|
+
|
|
45
|
+
border-width: var(--global-border-width--thick);
|
|
46
|
+
border-style: solid;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/* Skin */
|
|
50
|
+
|
|
51
|
+
:--c-message--type-info:not(:--c-message--scope-global) {
|
|
52
|
+
color: var(--global-color-info--dark);
|
|
53
|
+
}
|
|
54
|
+
:--c-message--type-success:not(:--c-message--scope-global) {
|
|
55
|
+
color: var(--global-color-success--dark);
|
|
56
|
+
}
|
|
57
|
+
:--c-message--type-warning:not(:--c-message--scope-global) {
|
|
58
|
+
color: var(--global-color-warning--dark);
|
|
59
|
+
}
|
|
60
|
+
:--c-message--type-error:not(:--c-message--scope-global) {
|
|
61
|
+
color: var(--global-color-danger--dark);
|
|
62
|
+
}
|
|
63
|
+
:--c-message--type-tip:not(:--c-message--scope-global) {
|
|
64
|
+
color: var(--global-color-extra--dark);
|
|
65
|
+
}
|