<template>
  <div class="page-css">
    <div class="bg-FF0000">heheh</div>
    <div>
      <typo-text variant="title-bold">DISPLAY</typo-text>
      <hr class="my-3" />
      <pre class="wrap-content">
  {{
  `
.block {
  display: block;
}
.inline-block {
  display: inline-block;
}
.inline {
  display: inline;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.table {
  display: table;
}
.inlie-table {
  display: inline-table;
}
.table-caption {
  display: table-caption;
}
.table-cell {
  display: table-cell;
}
.table-column {
  display: table-column;
}
.table-column-group {
  display: table-column-group;
}
.table-footer-group {
  display: table-footer-group;
}
.table-header-group {
  display: table-header-group;
}
.table-row-group {
  display: table-row-group;
}
.table-row {
  display: table-row;
}
.flow-root {
  display: flow-root;
}
.grid {
  display: grid;
}
.inline-grid {
  display: inline-grid;
}
.contents {
  display: contents;
}
.list-item {
  display: list-item;
}
.hidden {
  display: none;
}
  `
  }}
      </pre>
    </div>

    <div>
      <typo-text variant="title-bold">FLOATS</typo-text>
      <hr class="my-3" />
      <pre class="wrap-content">
  {{
  `
.float-right {
  float: right;
}
.float-left {
  float: left;
}
.float-none {
  float: none;
}
  `
  }}
      </pre>
    </div>

    <div>
      <typo-text variant="title-bold">CLEAR</typo-text>
      <hr class="my-3" />
      <pre class="wrap-content">
  {{
  `
.clear-left {
  clear: left;
}
.clear-right {
  clear: right;
}
.clear-both {
  clear: both;
}
.clear-none {
  clear: none;
}
  `
  }}
      </pre>
    </div>

    <div>
      <typo-text variant="title-bold">OBJECT FIT</typo-text>
      <hr class="my-3" />
      <pre class="wrap-content">
  {{
  `
.object-contain {
  object-fit: contain;
}
.object-cover {
  object-fit: cover;
}
  `
  }}
      </pre>
    </div>

    <div>
      <typo-text variant="title-bold">OBJECT POSITION</typo-text>
      <hr class="my-3" />
      <pre class="wrap-content">
  {{
  `
.object-bottom {
  object-position: bottom;
}
.object-center {
  object-position: center;
}
.object-left {
  object-position: left;
}
.object-left-bottom {
  object-position: left bottom;
}
.object-left-top {
  object-position: left top;
}
.object-right {
  object-position: right;
}
.object-right-bottom {
  object-position: right bottom;
}
.object-right-top {
  object-position: right top;
}
.object-top {
  object-position: top;
}
  `
  }}
      </pre>
    </div>

    <div>
      <typo-text variant="title-bold">OVERFLOW</typo-text>
      <hr class="my-3" />
      <pre class="wrap-content">
  {{
  `
.overflow-auto {
  overflow: auto;
}
.overflow-hidden {
  overflow: hidden;
}
.overflow-clip {
  overflow: clip;
}
.overflow-visible {
  overflow: visible;
}
.overflow-scroll {
  overflow: scroll;
}
.overflow-x-auto {
  overflow-x: auto;
}
.overflow-y-auto {
  overflow-y: auto;
}
.overflow-x-hidden {
  overflow-x: hidden;
}
.overflow-y-hidden {
  overflow-y: hidden;
}
.overflow-x-clip {
  overflow-x: clip;
}
.overflow-y-clip {
  overflow-y: clip;
}
.overflow-x-visible {
  overflow-x: visible;
}
.overflow-y-visible {
  overflow-y: visible;
}
.overflow-x-scroll {
  overflow-x: scroll;
}
.overflow-y-scroll {
  overflow-y: scroll;
}
  `
  }}
      </pre>
    </div>

    <div>
      <typo-text variant="title-bold">POSITION</typo-text>
      <hr class="my-3" />
      <pre class="wrap-content">
  {{
  `
.static {
  position: static;
}
.relative {
  position: relative
}
.absolute {
  position: absolute
}
.fixed {
  position: fixed
}
.sticky {
  position: sticky;
}
  `
  }}
      </pre>
    </div>

    <div>
      <typo-text variant="title-bold">// TOP / RIGHT / BOTTOM / LEFT</typo-text>
      <hr class="my-3" />
      <pre class="wrap-content">
  {{
  `
.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.inset-x-0 {
  left: 0px;
  right: 0px;
}
.inset-y-0 {
  top: 0px;
  bottom: 0px;
}
$sizes: 50;
@for $i from 0 through $sizes {
  .top-#{$i} {
    top: #{$i}px;
  }
}
@for $i from 0 through $sizes {
  .left-#{$i} {
    left: #{$i}px;
  }
}
@for $i from 0 through $sizes {
  .right-#{$i} {
    right: #{$i}px;
  }
}
@for $i from 0 through $sizes {
  .bottom-#{$i} {
    bottom: #{$i}px;
  }
}
  `
  }}
      </pre>
    </div>

    <div>
      <typo-text variant="title-bold">VISIBILITY</typo-text>
      <hr class="my-3" />
      <pre class="wrap-content">
  {{
  `
.visible {
  visibility: visible;
}
.invisible {
  visibility: hidden;
}
  `
  }}
      </pre>
    </div>

    <div>
      <typo-text variant="title-bold">// Z-INDEX</typo-text>
      <hr class="my-3" />
      <pre class="wrap-content">
  {{
  `
$indexs: 10;
@for $i from 0 through $indexs {
  .z-#{$i} {
    z-index: #{$i};
  }
}
.z-auto {
  z-index: auto;
}
  `
  }}
      </pre>
    </div>

    <div>
      <typo-text variant="title-bold">FLEX BASIS</typo-text>
      <hr class="my-3" />
      <pre class="wrap-content">
  {{
  `
$basis: 10;
@for $i from 0 through $basis {
  .basis-#{$i} {
    flex-basis: #{$i * 0.25}rem;
  }
}

  `
  }}
      </pre>
    </div>

    <div>
      <typo-text variant="title-bold">FLEX DIRECTION</typo-text>
      <hr class="my-3" />
      <pre class="wrap-content">
  {{
  `
.flex-row {
  flex-direction: row;
}
.flex-row-reverse {
  flex-direction: row-reverse;
}
.flex-col {
  flex-direction: column;
}
.flex-col-reverse {
  flex-direction: column-reverse;
}
  `
  }}
      </pre>
    </div>

    <div>
      <typo-text variant="title-bold">FLEX WRAP</typo-text>
      <hr class="my-3" />
      <pre class="wrap-content">
  {{
  `
.flex-wrap {
  flex-wrap: wrap;
}
.flex-wrap-reverse {
  flex-wrap: wrap-reverse;
}
.flex-nowrap {
  flex-wrap: nowrap;
}
  `
  }}
      </pre>
    </div>

    <div>
      <typo-text variant="title-bold">FLEX</typo-text>
      <hr class="my-3" />
      <pre class="wrap-content">
  {{
  `
.flex-1 {
  flex: 1 1 0%;
}
.flex-auto {
  flex: 1 1 auto;
}
.flex-initial {
  flex: 0 1 auto;
}
.flex-none {
  flex: none;
}
  `
  }}
      </pre>
    </div>

    <div>
      <typo-text variant="title-bold">FLEX GROW </typo-text>
      <hr class="my-3" />
      <pre class="wrap-content">
  {{
  `
.grow {
  flex-grow: 1;
}
.grow-0 {
  flex-grow: 0;
}
  `
  }}
      </pre>
    </div>

    <div>
      <typo-text variant="title-bold">FLEX SHRINK</typo-text>
      <hr class="my-3" />
      <pre class="wrap-content">
  {{
  `
.shrink {
  flex-shrink: 1;
}
.shrink-0 {
  flex-shrink: 0;
}
  `
  }}
      </pre>
    </div>

    <div>
      <typo-text variant="title-bold">ORDER</typo-text>
      <hr class="my-3" />
      <pre class="wrap-content">
  {{
  `
$order: 10;
@for $i from 0 through $order {
  .order-#{$i} {
    order: #{$i};
  }
}
.order-first {
  order: -9999;
}
.order-last {
  order: 9999;
}
.order-none {
  order: 0;
}
  `
  }}
      </pre>
    </div>

    <div>
      <typo-text variant="title-bold">JUSTIFY CONNTENT</typo-text>
      <hr class="my-3" />
      <pre class="wrap-content">
  {{
  `
.justify-start {
  justify-content: flex-start;
}
.justify-end {
  justify-content: flex-end;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.justify-around {
  justify-content: space-around;
}
.justify-evenly {
  justify-content: space-evenly;
}
  `
  }}
      </pre>
    </div>

    <div>
      <typo-text variant="title-bold">JUSTIFY ITEMS</typo-text>
      <hr class="my-3" />
      <pre class="wrap-content">
  {{
  `
.justify-items-start {
  justify-items: start;
}
.justify-items-end {
  justify-items: end;
}
.justify-items-center {
  justify-items: center;
}
.justify-items-stretch {
  justify-items: stretch;
}
  `
  }}
      </pre>
    </div>

    <div>
      <typo-text variant="title-bold">JUSTIFY SELF</typo-text>
      <hr class="my-3" />
      <pre class="wrap-content">
  {{
  `
.justify-self-auto {
  justify-self: auto;
}
.justify-self-start {
  justify-self: start;
}
.justify-self-end {
  justify-self: end;
}
.justify-self-center {
  justify-self: center;
}
.justify-self-stretch {
  justify-self: stretch;
}
  `
  }}
      </pre>
    </div>

    <div>
      <typo-text variant="title-bold">ALIGN CONTENT</typo-text>
      <hr class="my-3" />
      <pre class="wrap-content">
  {{
  `
.content-center {
  align-content: center;
}
.content-start {
  align-content: start;
}
.content-end {
  align-content: end;
}
.content-between {
  align-content: space-between;
}
.content-around {
  align-content: space-around;
}
.content-evenly {
  align-content: space-evenly;
}
  `
  }}
      </pre>
    </div>

    <div>
      <typo-text variant="title-bold">ALIGN ITEMS</typo-text>
      <hr class="my-3" />
      <pre class="wrap-content">
  {{
  `
.items-start {
  align-items: flex-start;
}
.items-end {
  align-items: flex-end;
}
.items-center {
  align-items: center;
}
.items-baseline {
  align-items: baseline;
}
.items-stretch {
  align-items: stretch;
}
  `
  }}
      </pre>
    </div>

    <div>
      <typo-text variant="title-bold">ALIGN SELF</typo-text>
      <hr class="my-3" />
      <pre class="wrap-content">
  {{
  `
.self-auto {
  align-self: auto;
}
.self-start {
  align-self: flex-start;
}
.self-end {
  align-self: flex-end;
}
.self-center {
  align-self: center;
}
.self-stretch {
  align-self: stretch;
}
.self-baseline {
  align-self: baseline;
}
  `
  }}
      </pre>
    </div>

    <div>
      <typo-text variant="title-bold">PLACE CONTENT</typo-text>
      <hr class="my-3" />
      <pre class="wrap-content">
  {{
  `
.content-center	 {
  align-content: center;
}
.content-start {
  align-content: flex-start;
}
.content-end {
  align-content: flex-end;
}
.content-between {
  align-content: space-between;
}
.content-around {
  align-content: space-around;
}
.content-evenly {
  align-content: space-evenly;
}
  `
  }}
      </pre>
    </div>

    <div>
      <typo-text variant="title-bold">PADDING & MARGIN</typo-text>
      <hr class="my-3" />
      <pre class="wrap-content">
  {{
  `
$maxSize: 50;
@for $i from 0 through $maxSize {
  .p-#{$i} {
    padding: #{$i * 4}px;
  }
  .px-#{$i} {
    padding-left: #{$i * 4}px;
    padding-right: #{$i * 4}px;
  }
  .py-#{$i} {
    padding-top: #{$i * 4}px;
    padding-bottom: #{$i * 4}px;
  }
  .pt-#{$i} {
    padding-top: #{$i * 4}px;
  }
  .pr-#{$i} {
    padding-right: #{$i * 4}px;
  }
  .pl-#{$i} {
    padding-left: #{$i * 4}px;
  }
  .pb-#{$i} {
    padding-bottom: #{$i * 4}px;
  }
  
  .m-#{$i} {
    margin: #{$i * 4}px;
  }
  .mx-#{$i} {
    margin-left: #{$i * 4}px;
    margin-right: #{$i * 4}px;
  }
  .my-#{$i} {
    margin-top: #{$i * 4}px;
    margin-bottom: #{$i * 4}px;
  }
  .mt-#{$i} {
    margin-top: #{$i * 4}px;
  }
  .mr-#{$i} {
    margin-right: #{$i * 4}px;
  }
  .ml-#{$i} {
    margin-left: #{$i * 4}px;
  }
  .mb-#{$i} {
    margin-bottom: #{$i * 4}px;
  }
}
  `
  }}
      </pre>
    </div>

    <div>
      <typo-text variant="title-bold">WIDTH & HEIGHT</typo-text>
      <hr class="my-3" />
      <pre class="wrap-content">
  {{
  `
$maxSize: 50;
@for $i from 0 through $maxSize {
  .w-#{$i} {
    width: #{$i * 4}px; // multiple 0.25 rem or 4px
  }
  .h-#{$i} {
    height: #{$i * 4}px; // multiple 0.25 rem or 4px
  }
}
.w-250 {
  width: 250px;
}
.w-300 {
  width: 300px;
}
.w-350 {
  width: 350px;
}
.w-400 {
  width: 400px;
}
.w-500 {
  width: 500px;
}
.w-600 {
  width: 600px;
}
.w-700 {
  width: 700px;
}
.w-800 {
  width: 800px;
}
.w-auto {
  width: auto;
}
.w-1\/2 {
  width: 50%;
}
.w-1\/3 {
  width: 33.333333%;
}
.w-2\/3 {
  width: 66.666667%;
}
.w-1\/4 {
  width: 25%;
}
.w-2\/4 {
  width: 50%;
}
.w-3\/4 {
  width: 75%;
}
.w-1\/5 {
  width: 20%;
}
.w-2\/5 {
  width: 40%;
}
.w-3\/5 {
  width: 60%;
}
.w-4\/5 {
  width: 80%;
}
.w-1\/6 {
  width: 16.666667%;
}
.w-2\/6 {
  width: 33.333333%;
}
.w-3\/6 {
  width: 50%;
}
.w-4\/6 {
  width: 66.666667%;
}
.w-5\/6 {
  width: 83.333333%;
}
.w-1\/12 {
  width: 8.333333%;
}
.w-2\/12 {
  width: 16.666667%;
}
.w-3\/12 {
  width: 25%;
}
.w-4\/12 {
  width: 33.333333%;
}
.w-5\/12 {
  width: 41.666667%;
}
.w-6\/12 {
  width: 50%;
}
.w-7\/12 {
  width: 58.333333%;
}
.w-8\/12 {
  width: 66.666667%;
}
.w-9\/12 {
  width: 75%;
}
.w-10\/12 {
  width: 83.333333%;
}
.w-11\/12 {
  width: 91.666667%;
}
.w-full {
  width: 100%;
}
.w-screen {
  width: 100vw;
}
.w-min {
  width: min-content;
}
.w-max {
  width: max-content;
}
.w-fit {
  width: fit-content;
}
.h-screen {
  height: 100vh;
}
  `
  }}
      </pre>
    </div>

    <div>
      <typo-text variant="title-bold">MIN-WIDTH</typo-text>
      <hr class="my-3" />
      <pre class="wrap-content">
  {{
  `
$maxSize: 50;
@for $i from 0 through $maxSize {
  .min-w-#{$i} {
    min-width: #{$i * 4}px;
  }
}
.min-w-0 {
  min-width: 0px;
}
.min-w-full {
  min-width: 100%;
}
.min-w-min {
  min-width: min-content;
}
.min-w-max {
  min-width: max-content;
}
.min-w-fit {
  min-width: fit-content;
}
  `
  }}
      </pre>
    </div>

    <div>
      <typo-text variant="title-bold">MAX-WIDTH</typo-text>
      <hr class="my-3" />
      <pre class="wrap-content">
  {{
  `
$maxSize: 50;
@for $i from 0 through $maxSize {
  .max-w-#{$i} {
    padding: #{$i * 4}px;
  }
}
.max-w-0 {
  max-width: 0px;
}
.max-w-full {
  max-width: 100%;
}
.max-w-min {
  max-width: min-content;
}
.max-w-max {
  max-width: max-content;
}
.max-w-fit {
  max-width: fit-content;
}
  `
  }}
      </pre>
    </div>

    <div>
      <typo-text variant="title-bold">MIN-WIDTH</typo-text>
      <hr class="my-3" />
      <pre class="wrap-content">
  {{
  `
$maxSize: 50;
@for $i from 0 through $maxSize {
  .min-h-#{$i} {
    min-height: #{$i * 4}px;
  }
}
.min-h-0 {
  min-height: 0px;
}
.min-h-full {
  min-height: 100%;
}
.min-h-min {
  min-height: min-content;
}
.min-h-max {
  min-height: max-content;
}
.min-h-fit {
  min-height: fit-content;
}
  `
  }}
      </pre>
    </div>

    <div>
      <typo-text variant="title-bold">MIN-HEIGHT</typo-text>
      <hr class="my-3" />
      <pre class="wrap-content">
  {{
  `
$maxSize: 50;
@for $i from 0 through $maxSize {
  .max-h-#{$i} {
    max-height: #{$i * 4}px;
  }
}
.max-h-0 {
  max-height: 0px;
}
.max-h-full {
  max-height: 100%;
}
.max-h-min {
  max-height: min-content;
}
.max-h-max {
  max-height: max-content;
}
.max-h-fit {
  max-height: fit-content;
}
  `
  }}
      </pre>
    </div>

    <div>
      <typo-text variant="title-bold">TYPOGRAPHY</typo-text>
      <hr class="my-3" />
      <pre class="wrap-content">
  {{
  `
$maxSize: 50;
@for $i from 0 through $maxSize {
  .font-#{$i} {
    font-size: #{$i}px;
  }
}
.italic {
  font-style: italic;
}
.not-italic {
  font-style: normal;
}
.font-thin {
  font-weight: 100;
}
.font-light {
  font-weight: 300;
}
.font-medium {
  font-weight: 500;
}
.font-bold {
  font-weight: 700;
}
.tracking-tight {
  letter-spacing: -0.025em;
}
.tracking-normal {
  letter-spacing: 0em;
}
.tracking-wide {
  letter-spacing: 0.025em;
}

$lineH: 10;
@for $i from 0 through $lineH {
  .leading-#{$i} {
    line-height: #{$i * 4}px;
  }
}

.list-none {
  list-style-type: none;
}
.list-disc {
  list-style-type: disc;
}
.list-decimal {
  list-style-type: decimal;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.text-justify {
  text-align: justify;
}
.text-start {
  text-align: start;
}
.text-end {
  text-align: end;
}
.underline {
  text-decoration-line: underline;
}
.overline {
  text-decoration-line: overline;
}
.line-through {
  text-decoration-line: line-through;
}
.no-underline {
  text-decoration-line: none;
}
.uppercase {
  text-transform: uppercase;
}
.lowercase {
  text-transform: lowercase;
}
.capitalize {
  text-transform: capitalize;
}
.normal-case {
  text-transform: none;
}
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.text-ellipsis {
  text-overflow: ellipsis;
}
.text-clip {
  text-overflow: clip;
}
.break-normal {
  overflow-wrap: normal;
  word-break: normal;
}
.break-words {
  overflow-wrap: break-word;
}
.break-all {
  word-break: break-all;
}
.list-none {
  list-style-type: none;
}
.list-disc {
  list-style-type: disc;
}
.list-decimal {
  list-style-type: decimal;
}
  `
  }}
      </pre>
    </div>

    <div>
      <typo-text variant="title-bold">CURSOR</typo-text>
      <hr class="my-3" />
      <pre class="wrap-content">
  {{
  `
.cursor-auto {
  cursor: auto;
}
.cursor-default {
  cursor: default;
}
.cursor-pointer {
  cursor: pointer;
}
.cursor-wait {
  cursor: wait;
}
.cursor-text {
  cursor: text;
}
.cursor-move {
  cursor: move;
}
.cursor-help {
  cursor: help;
}
.cursor-not-allowed {
  cursor: not-allowed;
}

// TOOLTIP
.library-tooltip {
  position: relative;
}
.library-tooltip:before,
.library-tooltip:after {
  display: block;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: translate3d(0,-10px,0);
  transition: all .15s ease-in-out;
}
.library-tooltip:after {
  border-right: 6px solid transparent;
  border-bottom: 6px solid rgba(0,0,0,.75); 
  border-left: 6px solid transparent;
  content: "";
  height: 0;
  top: 20px;
  left: 20px;
  width: 0;
}
.library-tooltip:before {
  background: rgba(0,0,0,.75);
  border-radius: 2px;
  color: #fff;
  content: attr(data-title);
  font-size: 14px;
  padding: 6px 10px;
  top: 26px;
  max-width: 300px;
  width: max-content;
  font-weight: 300;
}
.library-tooltip:hover::after,
.library-tooltip:hover:before {
  opacity: 1;
  transform: translate3d(0,0,0);
}

// BOS-SHADOW
.box-shadow {
  box-shadow: 0px 0px 5px -2px rgba(0,0,0,1);
  -webkit-box-shadow: 0px 0px 5px -2px rgba(0,0,0,1);
  -moz-box-shadow: 0px 0px 5px -2px rgba(0,0,0,1);
}

// BADGE
.tstatus {
  padding: 2px 4px;
  border-radius: 4px;
  width: fit-content;

  &-grey {
    background: $neutral-2;
  }

  &-yellow {
    background: $warning-2;
    color: $warning-6;
  }

  &-blue {
    background: $clear-blue-2;
    color: $clear-blue-6;
  }

  &-red {
    background: $critical-2;
    color: $critical-6;
  }

  &-green {
    background: $success-2;
    color: $success-6;
  }
}
  `
  }}
      </pre>
    </div>
  </div>
</template>

<script>
  import TypoText from "@/components/Typography/TypoText";
  
  export default {
    components: {
      TypoText,
    },
  }
</script>

<style lang="scss" scoped>
  @use "@/assets/style/_color.scss" as *;
  
  .page-css {
    .wrap-content {
      background: $neutral-1;
      padding: 25px;
    }
  }
  </style>