@claromentis/design-system
Version: 
Claromentis Design System Component Library
585 lines (498 loc) • 9.96 kB
CSS
@charset "UTF-8";
:root {
  --white: #FFF;
  --black: #000;
  --brand-blue: var(--blue-500);
  --brand-grey: var(--gray-500);
  /*-----------TEXT COLOURS-----------*/
  --headings-color: var(--gray-800);
  --subheadings-color: var(--gray-700);
  --body-color: var(--gray-900);
  /*-----------UI COLOURS-----------*/
  --ui-bg-color-enabled: var(--gray-100);
  --ui-border-color-enabled: var(--gray-400);
  --ui-bg-color-disabled: var(--gray-100);
  --ui-border-color-disabled: var(--gray-300);
  --ui-text-color-disabled: var(--gray-500);
  --ui-box-shadow-focus: var(--blue-200);
  --ui-border-color-focus: var(--blue-600);
  --ui-border-color-focus-hover: var(--gray-600);
  --ui-bg-color-focus-hover: var(--gray-200);
  --ui-color-active: var(--blue-600);
  --ui-bg-color-active: var(--blue-700);
  --ui-color-active-hover: var(--blue-700);
  --ui-bg-color-active-hover: var(--gray-200);
  --ui-bg-color-hover: var(--gray-100);
  --ui-border-color-hover: var(--gray-500);
  /*-----------INPUT UI COLOURS-----------*/
  --input-bg-color-enabled: var(--gray-100);
  --input-border-color-enabled: var(--gray-400);
  --input-bg-color-dark-enabled: var(--gray-400);
  --input-bg-color-disabled: var(--gray-100);
  --input-border-color-disabled: var(--gray-300);
  --input-text-color-disabled: var(--gray-500);
  --input-box-shadow-focus: var(--blue-200);
  --input-border-color-focus: var(--blue-600);
  --input-border-color-focus-hover: var(--gray-600);
  --input-bg-color-focus-hover: var(--gray-200);
  --input-color-active: var(--blue-600);
  --input-bg-color-active: var(--blue-200);
  --input-color-active-hover: var(--blue-700);
  --input-bg-color-active-hover: var(--gray-200);
  --input-bg-color-hover: var(--gray-100);
  --input-border-color-hover: var(--gray-500);
  --input-bg-dark-color-hover: var(--input-border-color-hover);
  /*---------INVERTED COLOURS---------*/
  --inverted-background: var(--gray-900);
  --inverted-border-color: var(--gray-700);
}
/**
 * This file contains global Sass functions, variables and mixins to use for
 * building components, including those from Bootstrap 4.
 *
 * No CSS should actually be defined here, otherwise any components that
 * include this file will output these classes.
 */
/*-----------BUTTONS-----------*/
/*-----------BADGE-----------*/
/*-----------CARD-----------*/
/*-----------DROPDOWN-----------*/
/*-----------POPOVER-----------*/
/*-----------PROGRESS BAR-----------*/
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
  background-color: #fff;
}
[tabindex="-1"]:focus:not(:focus-visible) {
  outline: 0 ;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}
p {
  margin-top: 0;
  margin-bottom: 1rem;
}
abbr[title],
abbr[data-original-title] {
  text-decoration: underline;
  text-decoration: underline dotted;
  cursor: help;
  border-bottom: 0;
  text-decoration-skip-ink: none;
}
address {
  margin-bottom: 1rem;
  font-style: normal;
  line-height: inherit;
}
ol,
ul,
dl {
  margin-top: 0;
  margin-bottom: 1rem;
}
ol ol,
ul ul,
ol ul,
ul ol {
  margin-bottom: 0;
}
dt {
  font-weight: 700;
}
dd {
  margin-bottom: 0.5rem;
  margin-left: 0;
}
blockquote {
  margin: 0 0 1rem;
}
b,
strong {
  font-weight: bolder;
}
small {
  font-size: 80%;
}
sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
a {
  color: #007bff;
  text-decoration: none;
  background-color: transparent;
}
a:hover {
  color: #0056b3;
  text-decoration: underline;
}
a:not([href]):not([class]) {
  color: inherit;
  text-decoration: none;
}
a:not([href]):not([class]):hover {
  color: inherit;
  text-decoration: none;
}
pre,
code,
kbd,
samp {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 1em;
}
pre {
  margin-top: 0;
  margin-bottom: 1rem;
  overflow: auto;
  -ms-overflow-style: scrollbar;
}
figure {
  margin: 0 0 1rem;
}
img {
  vertical-align: middle;
  border-style: none;
}
svg {
  overflow: hidden;
  vertical-align: middle;
}
table {
  border-collapse: collapse;
}
caption {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  color: #6c757d;
  text-align: left;
  caption-side: bottom;
}
th {
  text-align: inherit;
  text-align: -webkit-match-parent;
}
label {
  display: inline-block;
  margin-bottom: 0.5rem;
}
button {
  border-radius: 0;
}
button:focus:not(:focus-visible) {
  outline: 0;
}
input,
button,
select,
optgroup,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
[role=button] {
  cursor: pointer;
}
select {
  word-wrap: normal;
}
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}
button:not(:disabled),
[type=button]:not(:disabled),
[type=reset]:not(:disabled),
[type=submit]:not(:disabled) {
  cursor: pointer;
}
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  padding: 0;
  border-style: none;
}
input[type=radio],
input[type=checkbox] {
  box-sizing: border-box;
  padding: 0;
}
textarea {
  overflow: auto;
  resize: vertical;
}
fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}
legend {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  line-height: inherit;
  color: inherit;
  white-space: normal;
}
progress {
  vertical-align: baseline;
}
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}
[type=search] {
  outline-offset: -2px;
  -webkit-appearance: none;
}
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  font: inherit;
  -webkit-appearance: button;
}
output {
  display: inline-block;
}
summary {
  display: list-item;
  cursor: pointer;
}
template {
  display: none;
}
[hidden] {
  display: none ;
}
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}
h1, .h1 {
  font-size: 2.5rem;
}
h2, .h2 {
  font-size: 2rem;
}
h3, .h3 {
  font-size: 1.75rem;
}
h4, .h4 {
  font-size: 1.5rem;
}
h5, .h5 {
  font-size: 1.25rem;
}
h6, .h6 {
  font-size: 1rem;
}
.lead {
  font-size: 1.25rem;
  font-weight: 300;
}
.display-1 {
  font-size: 6rem;
  font-weight: 300;
  line-height: 1.2;
}
.display-2 {
  font-size: 5.5rem;
  font-weight: 300;
  line-height: 1.2;
}
.display-3 {
  font-size: 4.5rem;
  font-weight: 300;
  line-height: 1.2;
}
.display-4 {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.2;
}
hr {
  margin-top: 1rem;
  margin-bottom: 1rem;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
small,
.small {
  font-size: 0.875em;
  font-weight: 400;
}
mark,
.mark {
  padding: 0.2em;
  background-color: #fcf8e3;
}
.list-unstyled {
  padding-left: 0;
  list-style: none;
}
.list-inline {
  padding-left: 0;
  list-style: none;
}
.list-inline-item {
  display: inline-block;
}
.list-inline-item:not(:last-child) {
  margin-right: 0.5rem;
}
.initialism {
  font-size: 90%;
  text-transform: uppercase;
}
.blockquote {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}
.blockquote-footer {
  display: block;
  font-size: 0.875em;
  color: #6c757d;
}
.blockquote-footer::before {
  content: "— ";
}
.status-indicator-wrapper {
  display: inline-block;
  vertical-align: middle;
  line-height: 0;
  border-radius: 10rem;
  color: var(--black);
}
.status-indicator {
  margin-right: 3px;
  display: inline-block;
  border-radius: 10rem;
  vertical-align: middle;
}
slot, ::slotted(*) {
  vertical-align: middle;
  display: inline-block;
}
.cla-status-indicator-square {
  border-radius: 0;
}
.cla-status-indicator-square .status-indicator {
  border-radius: 0;
}
.has-status-letter {
  text-align: center;
  display: block;
}
.has-status-letter .dark {
  color: var(--white);
}
.has-status-letter .light {
  color: var(--black);
}
.status-indicator-wrapper.cla-status-indicator-lg {
  font-size: 25px;
}
.status-indicator-wrapper.cla-status-indicator-lg .status-indicator {
  width: 25px;
  height: 25px;
  line-height: 25px;
  font-size: 16px;
}
.status-indicator-wrapper .status-indicator {
  width: 20px;
  height: 20px;
  line-height: 20px;
  font-size: 14px;
}
.status-indicator-wrapper.cla-status-indicator-sm {
  font-size: 15px;
}
.status-indicator-wrapper.cla-status-indicator-sm .status-indicator {
  width: 15px;
  height: 15px;
  line-height: 15px;
  font-size: 10px;
}
.status-indicator-wrapper.cla-status-indicator-xs {
  font-size: 15px;
}
.status-indicator-wrapper.cla-status-indicator-xs .status-indicator {
  width: 10px;
  height: 10px;
  line-height: 10px;
  font-size: 6px;
}
.cla-status-indicator-badge-style {
  border: 1px solid var(--brand-grey);
  background: var(--white);
  padding: 5px 6px;
}
.cla-status-indicator-rtl-mode {
  direction: rtl;
}
.cla-status-indicator-rtl-mode .status-indicator {
  margin-left: 3px;
  margin-right: 0;
}
.cla-status-indicator-inverted {
  border-color: var(--inverted-border-color);
  background-color: var(--inverted-background);
  color: var(--white);
}