├── src
├── html
│ ├── parts
│ │ ├── app-close.html
│ │ ├── app-open.html
│ │ ├── bottom-scripts.html
│ │ ├── bottom-scripts-home.html
│ │ ├── hero-bar.html
│ │ ├── title-bar.html
│ │ ├── bottom.html
│ │ ├── sample-modal.html
│ │ ├── head.html
│ │ ├── aside.html
│ │ └── navbar.html
│ ├── login.html
│ ├── profile.html
│ ├── forms.html
│ ├── index.html
│ └── tables.html
├── css
│ ├── tailwind
│ │ ├── _base.css
│ │ ├── _components.css
│ │ └── _utilities.css
│ ├── _footer.css
│ ├── _image.css
│ ├── _hero.css
│ ├── _icon.css
│ ├── _notifications.css
│ ├── _title-bar.css
│ ├── _progress.css
│ ├── _app.css
│ ├── main.css
│ ├── _modal.css
│ ├── _card.css
│ ├── _aside.css
│ ├── _button.css
│ ├── _table.css
│ ├── form
│ │ ├── _checkbox-radio-switch.css
│ │ └── _form.css
│ └── _navbar.css
├── tailwind-favicons
│ ├── favicon-16x16.png
│ ├── favicon-32x32.png
│ ├── apple-touch-icon.png
│ └── safari-pinned-tab.svg
├── js
│ ├── main.js
│ └── chart.sample.js
└── img
│ └── justboil-logo.svg
├── dist
├── favicon-16x16.png
├── favicon-32x32.png
├── apple-touch-icon.png
├── js
│ ├── main.min.js
│ ├── chart.sample.min.js
│ ├── main.js
│ └── chart.sample.js
├── safari-pinned-tab.svg
├── login.html
└── css
│ └── main.css
├── .gitignore
├── postcss.config.js
├── .editorconfig
├── tailwind.config.js
├── package.json
├── LICENSE
├── README.md
└── gulpfile.js
/src/html/parts/app-close.html:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/css/tailwind/_base.css:
--------------------------------------------------------------------------------
1 | @tailwind base;
2 |
--------------------------------------------------------------------------------
/src/html/parts/app-open.html:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/css/tailwind/_components.css:
--------------------------------------------------------------------------------
1 | @tailwind components;
2 |
--------------------------------------------------------------------------------
/src/css/tailwind/_utilities.css:
--------------------------------------------------------------------------------
1 | @tailwind utilities;
2 |
--------------------------------------------------------------------------------
/src/css/_footer.css:
--------------------------------------------------------------------------------
1 | footer {
2 | @apply bg-white py-2 px-6;
3 | }
4 |
--------------------------------------------------------------------------------
/dist/favicon-16x16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/justboil/admin-one-tailwind/HEAD/dist/favicon-16x16.png
--------------------------------------------------------------------------------
/dist/favicon-32x32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/justboil/admin-one-tailwind/HEAD/dist/favicon-32x32.png
--------------------------------------------------------------------------------
/dist/apple-touch-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/justboil/admin-one-tailwind/HEAD/dist/apple-touch-icon.png
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Files
2 | .DS_Store
3 | npm-debug.log
4 | package-lock.json
5 |
6 | # Folders
7 | .idea/
8 | node_modules
9 |
--------------------------------------------------------------------------------
/src/css/_image.css:
--------------------------------------------------------------------------------
1 | .image {
2 | @apply block relative;
3 | }
4 |
5 | .image img {
6 | @apply block h-auto w-full max-w-full;
7 | }
8 |
--------------------------------------------------------------------------------
/src/tailwind-favicons/favicon-16x16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/justboil/admin-one-tailwind/HEAD/src/tailwind-favicons/favicon-16x16.png
--------------------------------------------------------------------------------
/src/tailwind-favicons/favicon-32x32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/justboil/admin-one-tailwind/HEAD/src/tailwind-favicons/favicon-32x32.png
--------------------------------------------------------------------------------
/src/tailwind-favicons/apple-touch-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/justboil/admin-one-tailwind/HEAD/src/tailwind-favicons/apple-touch-icon.png
--------------------------------------------------------------------------------
/src/html/parts/bottom-scripts.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/postcss.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | plugins: [
3 | require('postcss-import'),
4 | require('tailwindcss'),
5 | require('autoprefixer'),
6 | ]
7 | }
8 |
--------------------------------------------------------------------------------
/src/css/_hero.css:
--------------------------------------------------------------------------------
1 | .is-hero-bar {
2 | @apply bg-white border-b border-gray-100 p-6;
3 | }
4 |
5 | .is-hero-bar h1 {
6 | @apply text-3xl font-semibold leading-tight;
7 | }
8 |
--------------------------------------------------------------------------------
/src/html/parts/bottom-scripts-home.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/src/css/_icon.css:
--------------------------------------------------------------------------------
1 | .icon {
2 | @apply inline-flex justify-center items-center w-6 h-6;
3 | }
4 |
5 | .icon.widget-icon {
6 | @apply w-20 h-20;
7 | }
8 |
9 | .icon.large {
10 | @apply w-12 h-12;
11 | }
12 |
13 | .icon i {
14 | @apply inline-flex;
15 | }
16 |
--------------------------------------------------------------------------------
/src/html/parts/hero-bar.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | {{ titleStringLong }}
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | charset = utf-8
5 | end_of_line = lf
6 | insert_final_newline = true
7 | indent_style = space
8 | indent_size = 4
9 | trim_trailing_whitespace = true
10 |
11 | [*.md]
12 | trim_trailing_whitespace = false
13 |
14 | [*.{js,css,scss,yml,yaml,html,json}]
15 | indent_size = 2
16 |
--------------------------------------------------------------------------------
/tailwind.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | content: [
3 | './src/**/*.html',
4 | './src/**/*.js',
5 | ],
6 | theme: {
7 | extend: {
8 | zIndex: {
9 | '-1': '-1',
10 | },
11 | flexGrow: {
12 | '5' : '5'
13 | }
14 | },
15 | },
16 | variants: {
17 | extend: {},
18 | },
19 | plugins: [],
20 | }
21 |
--------------------------------------------------------------------------------
/src/css/_notifications.css:
--------------------------------------------------------------------------------
1 | .notification {
2 | @apply px-3 py-6 rounded;
3 | }
4 |
5 | .notification:not(:last-child) {
6 | @apply mb-6;
7 | }
8 |
9 | .notification.blue {
10 | @apply bg-blue-500 text-white;
11 | }
12 |
13 | .notification.green {
14 | @apply bg-green-500 text-white;
15 | }
16 |
17 | .notification.red {
18 | @apply bg-red-500 text-white;
19 | }
20 |
--------------------------------------------------------------------------------
/src/css/_title-bar.css:
--------------------------------------------------------------------------------
1 | .is-title-bar {
2 | @apply p-6 border-b border-gray-100;
3 | }
4 |
5 | .is-title-bar li {
6 | @apply inline-block pr-3 text-2xl text-gray-500;
7 | }
8 |
9 | .is-title-bar li:not(:last-child):after {
10 | content: '/';
11 | @apply inline-block pl-3;
12 | }
13 |
14 | .is-title-bar li:last-child {
15 | @apply pr-0 font-black text-black;
16 | }
17 |
--------------------------------------------------------------------------------
/src/css/_progress.css:
--------------------------------------------------------------------------------
1 | progress {
2 | @apply h-3 rounded-full overflow-hidden;
3 | }
4 |
5 | progress::-webkit-progress-bar {
6 | @apply bg-gray-200;
7 | }
8 |
9 | progress::-webkit-progress-value {
10 | @apply bg-blue-500;
11 | }
12 |
13 | progress::-moz-progress-bar {
14 | @apply bg-blue-500;
15 | }
16 |
17 | progress::-ms-fill {
18 | @apply bg-blue-500 border-0;
19 | }
20 |
--------------------------------------------------------------------------------
/src/html/parts/title-bar.html:
--------------------------------------------------------------------------------
1 |
13 |
--------------------------------------------------------------------------------
/src/css/_app.css:
--------------------------------------------------------------------------------
1 | body {
2 | @apply bg-gray-50 text-base pt-14 lg:pl-60;
3 | }
4 |
5 | #app {
6 | @apply w-screen transition-all lg:w-auto;
7 | }
8 |
9 | .main-section {
10 | @apply p-6;
11 | }
12 |
13 | .dropdown {
14 | @apply cursor-pointer;
15 | }
16 |
17 | .clipped, .clipped body {
18 | @apply overflow-hidden;
19 | }
20 |
21 | .m-clipped, .m-clipped body {
22 | @apply overflow-hidden lg:overflow-visible;
23 | }
24 |
25 | .form-screen body {
26 | @apply p-0;
27 | }
28 |
29 | .form-screen .main-section {
30 | @apply flex h-screen items-center justify-center;
31 | }
32 |
--------------------------------------------------------------------------------
/src/css/main.css:
--------------------------------------------------------------------------------
1 | @import "tailwind/_base.css";
2 | @import "tailwind/_components.css";
3 | @import "tailwind/_utilities.css";
4 |
5 | @import "_app.css";
6 | @import "_navbar.css";
7 | @import "_aside.css";
8 | @import "_title-bar.css";
9 | @import "_button.css";
10 | @import "_hero.css";
11 | @import "_card.css";
12 | @import "_icon.css";
13 | @import "_table.css";
14 | @import "_progress.css";
15 | @import "_image.css";
16 | @import "_modal.css";
17 | @import "_notifications.css";
18 | @import "form/_checkbox-radio-switch.css";
19 | @import "form/_form.css";
20 | @import "_footer.css";
21 |
22 |
23 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "admin-one-tailwind",
3 | "version": "1.1.0",
4 | "scripts": {
5 | "build:dev": "NODE_ENV=development gulp",
6 | "build": "NODE_ENV=production gulp",
7 | "deploy": "gh-pages -d dist"
8 | },
9 | "devDependencies": {
10 | "@babel/core": "^7.13.15",
11 | "@babel/preset-env": "^7.13.15",
12 | "autoprefixer": "^10.2.6",
13 | "gh-pages": "^4.0.0",
14 | "gulp": "^4.0.2",
15 | "gulp-babel": "^8.0.0",
16 | "gulp-clean-css": "^4.3.0",
17 | "gulp-concat": "^2.6.1",
18 | "gulp-postcss": "^9.0.0",
19 | "gulp-rename": "^2.0.0",
20 | "gulp-replace": "^1.0.0",
21 | "gulp-uglify": "^3.0.2",
22 | "postcss": "^8.3.0",
23 | "postcss-cli": "^8.3.1",
24 | "postcss-import": "^14.0.2",
25 | "tailwindcss": "^3.0.24"
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/src/css/_modal.css:
--------------------------------------------------------------------------------
1 | .modal {
2 | @apply hidden items-center flex-col justify-center overflow-hidden fixed inset-0 z-40;
3 | }
4 |
5 | .modal.active {
6 | @apply flex;
7 | }
8 |
9 | .modal-background {
10 | @apply absolute inset-0 bg-gray-900 bg-opacity-80;
11 | }
12 |
13 | .modal-card {
14 | max-height: calc(100vh - 160px);
15 | @apply w-full flex flex-col overflow-hidden relative
16 | lg:mx-auto lg:w-2/5;
17 | }
18 |
19 | .modal-card-body {
20 | @apply bg-white flex-grow flex-shrink overflow-auto p-6 space-y-2;
21 | }
22 |
23 | .modal-card-head, .modal-card-foot {
24 | @apply flex items-center flex-shrink-0 justify-start px-6 py-4 relative bg-gray-100 border-gray-200;
25 | }
26 |
27 | .modal-card-head {
28 | @apply border-b rounded-t;
29 | }
30 |
31 | .modal-card-foot {
32 | @apply border-t rounded-b;
33 | }
34 |
35 | .modal-card-foot .button:not(:last-child) {
36 | @apply mr-2;
37 | }
38 |
--------------------------------------------------------------------------------
/src/css/_card.css:
--------------------------------------------------------------------------------
1 | .card {
2 | @apply bg-white border border-gray-100 rounded;
3 | }
4 |
5 | .card.has-table .card-content {
6 | @apply p-0;
7 | }
8 |
9 | .card-content {
10 | @apply p-6;
11 | }
12 |
13 | .card-content hr {
14 | @apply my-6 -mx-6;
15 | }
16 |
17 | .card.empty .card-content {
18 | @apply text-center py-12 text-gray-500;
19 | }
20 |
21 | .card-header {
22 | @apply flex items-stretch border-b border-gray-100;
23 | }
24 |
25 | .card-header-title, .card-header-icon {
26 | @apply flex items-center py-3 px-4;
27 | }
28 |
29 | .card-header-title {
30 | @apply flex-grow font-bold ;
31 | }
32 |
33 | .card-header-icon {
34 | @apply justify-center;
35 | }
36 |
37 | .widget-label h3 {
38 | @apply text-lg leading-tight text-gray-500;
39 | }
40 |
41 | .widget-label h1 {
42 | @apply text-3xl leading-tight font-semibold;
43 | }
44 |
45 | .form-screen .card {
46 | @apply w-11/12 lg:w-5/12 shadow-2xl rounded-lg;
47 | }
48 |
--------------------------------------------------------------------------------
/src/html/parts/bottom.html:
--------------------------------------------------------------------------------
1 |
2 |
14 |
15 |
16 |
17 |
18 |
19 |