diff --git a/dist/layout.html b/dist/layout.html
new file mode 100644
index 0000000..92a754b
--- /dev/null
+++ b/dist/layout.html
@@ -0,0 +1,103 @@
+
+
+
+
+
+
+
Plain UI | Lightweight CSS UI Framework for Building Apps and Websites
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Layout
+
+
+
+ Grid
+
+
+
+ The grid is a small modificated Version from the Reflex Grid
+
+
+
+ Masonry
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -7530,6 +7522,7 @@ svg.field-choice__checked {
display: flex;
flex-direction: column;
width: 100%;
+ border-bottom: 1px solid var(--primary);
}
@media only screen and (min-width: 768px) {
.tabs {
@@ -7542,28 +7535,26 @@ svg.field-choice__checked {
display: flex;
align-items: center;
padding: 0 1em;
- background-color: white;
- transition: background-color 0.1s;
- background-color: white;
color: var(--text);
- border: 1px solid var(--primary);
- border-bottom-width: 0;
+ transition: background-color 0.1s;
+ border-bottom: 3px solid transparent;
+ background-color: transparent;
width: 100%;
}
@media only screen and (min-width: 768px) {
.tabs__item {
width: auto;
display: inline-flex;
- border-right-width: 0;
- border-bottom-width: 1px;
}
}
-.tabs__item:hover, .tabs__item--selected {
+.tabs__item:hover {
cursor: pointer;
background-color: var(--primary-active);
- color: white;
- border-color: var(--primary-active);
+ color: var(--text-secondary);
+ border-top-left-radius: 2px;
+ border-top-right-radius: 2px;
}
-.tabs__item:last-child {
- border-bottom-width: 1px;
+.tabs__item--selected {
+ color: var(--text);
+ border-color: var(--primary);
}
diff --git a/dist/symbol-defs.svg b/dist/symbol-defs.svg
index aeca3fe..9437756 100644
--- a/dist/symbol-defs.svg
+++ b/dist/symbol-defs.svg
@@ -1 +1 @@
-
add archive arrow-down arrow-left-down arrow-left-up arrow-left arrow-right-down arrow-right-up arrow-right arrow-up attachment backspace ban bar-chart-alt bar-chart board book bookmark calendar call camera caret-down caret-left caret-right caret-up check chevron-double-down chevron-double-left chevron-double-right chevron-double-up chevron-down chevron-left chevron-right chevron-up circle-add circle-arrow-down circle-arrow-left circle-arrow-right circle-arrow-up circle-check circle-error circle-help circle-information circle-remove circle-warning circle clipboard-check clipboard-list clipboard clock close cloud-download cloud-upload cloud computer copy credit-card delete-alt delete document-add document-check document-download document-empty document-remove document download drag edit-alt edit email enter expand export external-link eye-off eye favorite filter-alt filter folder-add folder-check folder-download folder-remove folder grid heart home image inbox laptop link-alt link list location lock log-out map megaphone message-alt message mobile moon next notification-off notification options-horizontal options-vertical pause percentage pin play previous refresh remove repeat search select send settings share shopping-cart-add shopping-cart shuffle sort speakers stop sun sunrise switch table tablet tag undo unlock user-add user-check user-remove user users volume-off volume-up warning webcam zoom-in zoom-out
\ No newline at end of file
+
add archive arrow-down arrow-left-down arrow-left-up arrow-left arrow-right-down arrow-right-up arrow-right arrow-up attachment backspace ban bar-chart-alt bar-chart board book bookmark calendar call camera caret-down caret-left caret-right caret-up check chevron-double-down chevron-double-left chevron-double-right chevron-double-up chevron-down chevron-left chevron-right chevron-up circle-add circle-arrow-down circle-arrow-left circle-arrow-right circle-arrow-up circle-check circle-error circle-help circle-information circle-remove circle-warning circle clipboard-check clipboard-list clipboard clock close cloud-download cloud-upload cloud computer copy credit-card delete-alt delete document-add document-check document-download document-empty document-remove document download drag edit-alt edit email enter expand export external-link eye-off eye favorite filter-alt filter folder-add folder-check folder-download folder-remove folder gitea github grid heart home image inbox laptop link-alt link list location lock log-out map megaphone message-alt message mobile moon next notification-off notification options-horizontal options-vertical pause percentage pin play previous refresh remove repeat search select send settings share shopping-cart-add shopping-cart shuffle sort speakers stop sun sunrise switch table tablet tag undo unlock user-add user-check user-remove user users volume-off volume-up warning webcam zoom-in zoom-out
\ No newline at end of file
diff --git a/mix-manifest.json b/mix-manifest.json
index 1e623b6..6bff7ea 100644
--- a/mix-manifest.json
+++ b/mix-manifest.json
@@ -1,6 +1,5 @@
{
"/spritemap.js": "/spritemap.js",
- "/dist/plain-ui.css": "/dist/plain-ui.css",
"/dist/fonts/demo.html": "/dist/fonts/demo.html",
"/dist/fonts/IBMPlexMono-Bold.eot": "/dist/fonts/IBMPlexMono-Bold.eot",
"/dist/fonts/IBMPlexMono-Bold.ttf": "/dist/fonts/IBMPlexMono-Bold.ttf",
diff --git a/src/icons/gitea.svg b/src/icons/gitea.svg
new file mode 100644
index 0000000..ecbd2a8
--- /dev/null
+++ b/src/icons/gitea.svg
@@ -0,0 +1,5 @@
+
+
+gitea
+
+
diff --git a/src/icons/github.svg b/src/icons/github.svg
new file mode 100644
index 0000000..985f3e3
--- /dev/null
+++ b/src/icons/github.svg
@@ -0,0 +1,5 @@
+
+
+github
+
+
diff --git a/src/scss/_variables.scss b/src/scss/_variables.scss
index 66e1d3c..c29ed65 100644
--- a/src/scss/_variables.scss
+++ b/src/scss/_variables.scss
@@ -92,7 +92,9 @@ $plain-ui__colors: (
--black: #212121;
--text: #{$plain-ui__text};
--text-secondary: #{$plain-ui__text-secondary};
- --background: #{$plain-ui__background};
+ --background: #{$plain-ui__primary};
+ --background--contrast: #{$plain-ui__primary};
+ --body: #{$plain-ui__body};
--border: #{$plain-ui__border};
}
@@ -111,9 +113,9 @@ $plain-ui__margin-breakpoints: (
*
*/
-$plain-ui__padding: 0.5rem 1rem !default;
+$plain-ui__padding: 0.4rem 0.8rem !default;
$plain-ui__padding-breakpoints: (
- $plain-ui__md: 0.25rem 0.75rem
+ $plain-ui__md: 0.6rem 1rem
) !default;
/**
diff --git a/src/scss/components/_bar.scss b/src/scss/components/_bar.scss
index b3b504c..08835d8 100644
--- a/src/scss/components/_bar.scss
+++ b/src/scss/components/_bar.scss
@@ -21,9 +21,7 @@
background-color: var(--primary);
color: var(--text-secondary);
- .icon {
- font-size: 1.5rem;
- }
+ border-radius: $plain-ui__border-radius;
&__start {
justify-content: start;
@@ -46,10 +44,4 @@
margin-right: 0.75em;
}
}
-
- .button {
- &:active, &:focus {
- outline: none;
- }
- }
}
\ No newline at end of file
diff --git a/src/scss/components/_button.scss b/src/scss/components/_button.scss
index d5c2329..4d1ca07 100644
--- a/src/scss/components/_button.scss
+++ b/src/scss/components/_button.scss
@@ -43,6 +43,7 @@
padding: 0;
border: none;
background: transparent;
+ border-radius: 0;
&:focus, &:active {
outline: none;
diff --git a/src/scss/components/_tabs.scss b/src/scss/components/_tabs.scss
index f04edcd..74d18ce 100644
--- a/src/scss/components/_tabs.scss
+++ b/src/scss/components/_tabs.scss
@@ -11,6 +11,7 @@
flex-direction: column;
width: 100%;
+ border-bottom: $plain-ui__border;
@include plain-ui__media-sm() {
width: auto;
@@ -23,35 +24,32 @@
display: flex;
align-items: center;
padding: 0 1em;
+ color: var(--text);
- background-color: white;
transition: background-color 0.1s;
- background-color: white;
- color: var(--text);
-
- border: $plain-ui__border;
- border-bottom-width: 0;
+ border-bottom: 3px solid transparent;
+ background-color: transparent;
width: 100%;
@include plain-ui__media-sm() {
width: auto;
display: inline-flex;
- border-right-width: 0;
- border-bottom-width: 1px;
}
- &:hover, &--selected {
+ &:hover {
cursor: pointer;
background-color: var(--primary-active);
- color: white;
+ color: var(--text-secondary);
- border-color: var(--primary-active);
+ border-top-left-radius: $plain-ui__border-radius;
+ border-top-right-radius: $plain-ui__border-radius;
}
- &:last-child {
- border-bottom-width: 1px;
+ &--selected {
+ color: var(--text);
+ border-color: var(--primary);
}
}
}
diff --git a/src/scss/core/_heading.scss b/src/scss/core/_heading.scss
index bfebfd8..fb5013f 100644
--- a/src/scss/core/_heading.scss
+++ b/src/scss/core/_heading.scss
@@ -9,22 +9,27 @@
*/
$plain-ui__heading__font-sizes: (
- 'h1': $plain-ui__font-size * 2.5,
- 'h2': $plain-ui__font-size * 2,
- 'h3': $plain-ui__font-size * 1.75,
- 'h4': $plain-ui__font-size * 1.5,
- 'h5': $plain-ui__font-size * 1.25,
- 'h6': $plain-ui__font-size
+ 'h1': 2.25rem,
+ 'h2': 2rem,
+ 'h3': 1.8rem,
+ 'h4': 1.6rem,
+ 'h5': 1.4rem,
+ 'h6': 1.2rem
) !default;
$plain-ui__heading__font-sizes__breakpoints: (
$plain-ui__md: 1.2rem
) !default;
-$plain-ui__heading__font-weight: bold !default;
+$plain-ui__heading__font-weight: bold!default;
$plain-ui__heading__font-family: $plain-ui__font-family !default;
-$plain-ui__heading__margin: $plain-ui__margin !default;
-$plain-ui__heading__margin-breakpoints: $plain-ui__margin-breakpoints !default;
+
+$plain-ui__heading__line-height: 1.2 !default;
+
+$plain-ui__heading__margin: 0 0 1.2rem !default;
+$plain-ui__heading__margin-breakpoints: (
+ $plain-ui__md: 0 0 1.4rem
+) !default;
h1, .h1,
h2, .h2,
@@ -34,18 +39,20 @@ h5, .h5,
h6, .h6 {
font-family: $plain-ui__heading__font-family;
font-weight: $plain-ui__heading__font-weight;
- line-height: 1.2;
+ line-height: $plain-ui__heading__line-height;
margin: $plain-ui__heading__margin;
@include plain-ui__breakpoints('margin', $plain-ui__heading__margin-breakpoints);
-}
-h5 {
- line-height: 1.4;
+ &.highlight {
+ display: table;
+ }
}
-h6 {
- line-height: $plain-ui__line-height;
+.highlight {
+ padding: 0.25rem 0.5rem;
+ background: var(--primary);
+ color: var(--text-secondary);
}
@each $h, $font-size in $plain-ui__heading__font-sizes {