diff --git a/src/extras/box-form.css b/src/extras/box-form.css new file mode 100644 index 0000000..befb574 --- /dev/null +++ b/src/extras/box-form.css @@ -0,0 +1,39 @@ +.box { + background-color: inherit; + color: inherit; + border-top: 1px solid #767676; + border-left: 1px solid #767676; + padding: .5rem; + flex: 1; +} + +.box-close { + border-right: 1px solid #767676; + border-bottom: 1px solid #767676; +} + +.box.box-block { + padding: 0; + height: 100%; + width: 100%; +} + +.box label { + display: block; + color: #ACACAC; + text-transform: uppercase; + height: 10px; + padding-bottom: 1rem; + margin-bottom: .5rem; + font-size: 1rem; +} + +.box:active, +.box:focus { + outline: none; + background: aliceblue; +} + +.box input:focus { + outline: none; +} \ No newline at end of file diff --git a/src/extras/grid.css b/src/extras/grid.css new file mode 100644 index 0000000..c4ad94a --- /dev/null +++ b/src/extras/grid.css @@ -0,0 +1,25 @@ +/* Grid System */ + +.row { + display: flex; + flex: 0 1 auto; + flex-direction: row; + flex-wrap: wrap; + margin:0; +} + +.col, .col-1, .col-2, .col-3, .col-4,.col-5 { + display: flex; + flex-direction: column; + justify-content: space-between; + align-items: stretch; + box-sizing: border-box; + flex: 1; + max-width: 100%; +} + +.col-1 {flex: 1;} +.col-2 {flex: 2;} +.col-3 {flex: 3;} +.col-4 {flex: 4;} +.col-5 {flex: 5;} \ No newline at end of file diff --git a/src/extras/modal.css b/src/extras/modal.css new file mode 100644 index 0000000..2911213 --- /dev/null +++ b/src/extras/modal.css @@ -0,0 +1,25 @@ +.modal { + position: fixed; + background: rgba(0, 0, 0, .6); + top: 0; + left: 0; + right: 0; + bottom: 0; + padding: var(--space); + display: none; + align-items: center; + justify-content: center; + flex-direction: column; +} + +.modal.active { + display: flex; +} + +.modal-content { + display: flex; + width: 28rem; + max-width: 80vw; + height: 20rem; + background: var(--bg); +} \ No newline at end of file diff --git a/src/extras/responsive.css b/src/extras/responsive.css new file mode 100644 index 0000000..dea0d07 --- /dev/null +++ b/src/extras/responsive.css @@ -0,0 +1,6 @@ +/* Media Queries */ + +/* mobile */ +@media(max-width: 576px) { + html {font-size: calc(var(--size) * .75px)} +} \ No newline at end of file diff --git a/src/extras/utility.css b/src/extras/utility.css new file mode 100644 index 0000000..9cef186 --- /dev/null +++ b/src/extras/utility.css @@ -0,0 +1,18 @@ +.right {float: right !important} +.left {float: left !important} +.center {margin: auto;text-align: center !important;align-items: center;justify-content: center;} + +.border {border: 1px solid var(--theme)} +.borderless {border: none} +.space {padding: var(--space)} +.spaceless {padding: 0px; margin:0px;} + +.wide {width: 100%; margin: inherit 0; max-width:none} +.fill {height: 100%; width: 100%; margin:0; padding:0; max-height: none; max-width:none;} + +.uppercase {text-transform: uppercase;} +.lowercase {text-transform: lowercase;} + +.shadow { + box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); +} \ No newline at end of file