-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from maitrakhatri/temp-dev
New Components
- Loading branch information
Showing
31 changed files
with
648 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
.list-inline li { | ||
display: inline; | ||
margin-right: 1rem; | ||
} | ||
|
||
.list-stacked { | ||
list-style: none; | ||
padding: 1rem; | ||
background-color: var(--text-gray) | ||
} | ||
|
||
.list-stacked li { | ||
margin-bottom: 1.5rem; | ||
} | ||
|
||
.stacked-component { | ||
display: grid; | ||
grid-template-areas: | ||
"a t" | ||
"a s"; | ||
width: fit-content; | ||
background-color: var(--gray); | ||
padding: 1rem; | ||
border-radius: .25rem; | ||
} | ||
|
||
.stacked-component .avatar { | ||
grid-area: a; | ||
margin-right: 1rem; | ||
} | ||
|
||
.stacked-component .title { | ||
grid-area: t; | ||
} | ||
|
||
.stacked-component .sub-title { | ||
grid-area: s; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>List</title> | ||
<link rel="stylesheet" href="list.css"> | ||
</head> | ||
<body> | ||
|
||
<ul class="list-inline"> | ||
<li>Spaced</li> | ||
<li>Inline</li> | ||
<li>List</li> | ||
</ul> | ||
|
||
<ul class="list-stacked"> | ||
<li> | ||
<div class="stacked-component"> | ||
<img class="avatar avatar-round" src="../../../assets/avatar.svg" alt="avatar"> | ||
<div class="title">Maitra Khatri</div> | ||
<div class="sub-title">maitrakhatri@gmail.com</div> | ||
</div> | ||
</li> | ||
|
||
<li> | ||
<div class="stacked-component"> | ||
<img class="avatar avatar-round" src="../../../assets/avatar.svg" alt="avatar"> | ||
<div class="title">Maitra Khatri</div> | ||
<div class="sub-title">maitrakhatri@gmail.com</div> | ||
</div> | ||
</li> | ||
|
||
<li> | ||
<div class="stacked-component"> | ||
<img class="avatar avatar-round" src="../../../assets/avatar.svg" alt="avatar"> | ||
<div class="title">Maitra Khatri</div> | ||
<div class="sub-title">maitrakhatri@gmail.com</div> | ||
</div> | ||
</li> | ||
|
||
</ul> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
.modal .card-body { | ||
border-bottom: 0.063rem solid #000000; | ||
} | ||
|
||
.modal .card-action { | ||
padding: .75rem; | ||
display: flex; | ||
justify-content: end; | ||
} | ||
|
||
.modal button { | ||
margin: 0.25rem; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>modal</title> | ||
<link rel="stylesheet" href="modal.css"> | ||
</head> | ||
<body> | ||
|
||
<div class="modal card"> | ||
<div class="card-title dismiss"> | ||
Modal Title | ||
<img src="../../../assets/close_black_24dp.svg" alt="close button"> | ||
</div> | ||
<div class="card-body"> | ||
<p> | ||
Lorem ipsum dolor sit amet consectetur adipisicing elit. Cupiditate voluptates dignissimos possimus distinctio sapiente animi a, nobis officia est neque. Id quam doloribus iusto enim? | ||
</p> | ||
</div> | ||
<div class="card-action"> | ||
<button class="btn btn-lightblue">Accept</button> | ||
<button class="btn btn-red">Deny</button> | ||
</div> | ||
</div> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
.snackbar { | ||
background-color: #333333; | ||
border-radius: .5rem; | ||
display: inline-flex; | ||
align-items: center; | ||
gap: 1rem; | ||
padding: .15rem .75rem; | ||
color: #ffffff; | ||
} | ||
|
||
.snackbar a { | ||
text-decoration: none; | ||
color: #8a2be2; | ||
} | ||
|
||
.snackbar a, .snackbar i { | ||
padding: 0.25rem; | ||
} | ||
|
||
.snackbar a:hover,.snackbar i img:hover { | ||
cursor: pointer; | ||
background-color:#80808042; | ||
} | ||
|
||
.snackbar button { | ||
padding: 1rem 2rem; | ||
margin: 2rem; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>toast</title> | ||
<link rel="stylesheet" href="toast.css"> | ||
</head> | ||
<body> | ||
|
||
<div class="snackbar"> | ||
<p>Can't send photo. Retry in 5 seconds.</p> | ||
<a href="#">RETRY</a> | ||
<i><img src="../../../assets/close_black_24dp.svg" alt=""></i> | ||
</div> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,36 @@ | ||
# gozo-UI | ||
Simple Reasy to use CSS Component Library | ||
## getting-started | ||
## Getting-started | ||
copy paste this code in your `<head>` section to use the CSS library | ||
- `<link rel="stylesheet" type="text/css" href="https://gozo-ui.netlify.app/CSS/style.css">` | ||
|
||
head over to the documentation website for details on how to use components | ||
- [Documentation Website](https://gozo-ui.netlify.app/docs/components.html) | ||
## components | ||
- alert | ||
- avatar | ||
- badge | ||
- button | ||
- card | ||
- image | ||
- input | ||
- navigation | ||
- simplified grid | ||
- slider | ||
- text utilities | ||
- utilities | ||
## website | ||
### homepage | ||
## Components | ||
- Alert | ||
- Avatar | ||
- Badge | ||
- Button | ||
- Card | ||
- Image | ||
- Input | ||
- Navigation | ||
- Simplified grid | ||
- Slider | ||
- List | ||
- Rating | ||
- Modal | ||
- Snackbar | ||
- Text utilities | ||
- Utilities | ||
## Documentation Website | ||
### Homepage | ||
![gozo UI Homepage - Maitra Khatri](https://user-images.githubusercontent.com/54719132/153269251-45bb95c0-743a-4a13-94d4-227246bf0df5.png) | ||
### getting started | ||
![gozo UI Getting Started - Maitra Khatri](https://user-images.githubusercontent.com/54719132/153269307-3853ec1e-d074-45d9-8bf9-c24e3a3225e5.png) | ||
### sample1 - colors | ||
![gozo UI Design System - Maitra](https://user-images.githubusercontent.com/54719132/153269389-9eeb80fe-5490-49f7-a5c4-c4aa5cec7ab8.png) | ||
### sample2 - avatar | ||
![gozo UI Avatar - Maitra Khatri](https://user-images.githubusercontent.com/54719132/153269464-ff2562ed-85a2-4da3-8f1c-1ce86c5b94bf.png) | ||
|
||
### Getting Started | ||
![Screenshot 2022-03-30 at 20-24-43 gozo UI Getting Started](https://user-images.githubusercontent.com/54719132/160865201-c6cbce46-0c97-4974-869c-2087101bd95d.png) | ||
### Sample1 - Colors | ||
![Screenshot 2022-03-30 at 20-25-15 gozo UI Design System](https://user-images.githubusercontent.com/54719132/160865303-7349cc49-381d-46a0-aacf-f2677e757d32.png) | ||
### Sample2 - Avatar | ||
![Screenshot 2022-03-30 at 20-25-53 gozo UI Avatar](https://user-images.githubusercontent.com/54719132/160865369-237800c6-57fc-4fc7-9093-1521c050bbcd.png) | ||
## time spend on Coding | ||
[![wakatime](https://wakatime.com/badge/user/05f14298-6a22-4625-9558-d6e0c3d352b9/project/506cfb98-cafc-47bd-929a-7d3d495a49a9.svg)](https://wakatime.com/badge/user/05f14298-6a22-4625-9558-d6e0c3d352b9/project/506cfb98-cafc-47bd-929a-7d3d495a49a9) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Newly added components | ||
- List | ||
- Rating | ||
- Modal | ||
- Toast |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.