Skip to content

Commit

Permalink
add Hooli-style-Popup (#58)
Browse files Browse the repository at this point in the history
* add popup task

* fix readability, nesting, hover, alt, align text

* fix nesting alt readability link, center hidden tx

* fix def-font indentation focus alt nesting margins

* fix fallback font, font inside head

* nesting focus
  • Loading branch information
ksalpern authored Aug 5, 2022
1 parent ea688f1 commit 003e927
Show file tree
Hide file tree
Showing 2 changed files with 606 additions and 0 deletions.
270 changes: 270 additions & 0 deletions submissions/ksalpern/Hooli-style-Popup/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,270 @@
<!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" />
<link href="https://fonts.googleapis.com/css2?family=Montserrat&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./css/style.css" />
<title>Hooli-style-Popup</title>
</head>
<body>
<header class="header">
<nav class="header__nav">
<ul class="nav__items">
<li class="nav__item">
<a class="nav__item-link" href="#">Mail</a>
</li>

<li class="nav__item">
<a class="nav__item-link" href="#">Images</a>
</li>

<li class="nav__item">
<input id="checkbox" class="checkbox" type="checkbox" />
<label for="checkbox">
<img
class="popup__button"
src="./popup-icons/popup-button.png"
alt=""
/>
</label>

<div class="popup__wrapper">
<div class="popup__content">
<ul class="popup__items">
<li class="popup__item">
<a href="#" class="popup__item-icon">
<img
src="./popup-icons/apps.png"
alt=""
class="icon"
/>
<span class="popup__item-name">Apps</span>
</a>
</li>

<li class="popup__item">
<a href="#" class="popup__item-icon">
<img
src="./popup-icons/blogs.png"
alt=""
class="icon"
/>
<span class="popup__item-name">Blogs</span>
</a>
</li>

<li class="popup__item">
<a href="#" class="popup__item-icon">
<img
src="./popup-icons/calendar.png"
alt=""
class="icon"
/>
<span class="popup__item-name">Calendar</span>
</a>
</li>

<li class="popup__item">
<a href="#" class="popup__item-icon">
<img
src="./popup-icons/chat.png"
alt=""
class="icon"
/>
<span class="popup__item-name">Chat</span>
</a>
</li>

<li class="popup__item">
<a href="#" class="popup__item-icon">
<img
src="./popup-icons/collection.png"
alt=""
class="icon"
/>
<span class="popup__item-name">Collection</span>
</a>
</li>

<li class="popup__item">
<a href="#" class="popup__item-icon">
<img
src="./popup-icons/classroom.png"
alt=""
class="icon"
/>
<span class="popup__item-name">Classroom</span>
</a>
</li>

<li class="popup__item">
<a href="#" class="popup__item-icon">
<img
src="./popup-icons/contacts.png"
alt=""
class="icon"
/>
<span class="popup__item-name">Contacts</span>
</a>
</li>

<li class="popup__item">
<a href="#" class="popup__item-icon">
<img
src="./popup-icons/documents.png"
alt=""
class="icon"
/>
<span class="popup__item-name">Documents</span>
</a>
</li>

<li class="popup__item">
<a href="#" class="popup__item-icon">
<img
src="./popup-icons/files.png"
alt=""
class="icon"
/>
<span class="popup__item-name">Files</span>
</a>
</li>

<li class="popup__item">
<a href="#" class="popup__item-icon">
<img
src="./popup-icons/mail.png"
alt=""
class="icon"
/>
<span class="popup__item-name">Mail</span>
</a>
</li>

<li class="popup__item">
<a href="#" class="popup__item-icon">
<img
src="./popup-icons/maps.png"
alt=""
class="icon"
/>
<span class="popup__item-name">Maps</span>
</a>
</li>

<li class="popup__item">
<a href="#" class="popup__item-icon">
<img
src="./popup-icons/mars.png"
alt=""
class="icon"
/>
<span class="popup__item-name">Mars</span>
</a>
</li>
</ul>

<div class="popup__more">
<input
id="checkbox__more"
class="checkbox__more"
type="checkbox"
/>
<label for="checkbox__more">
<span class="popup__more-name">More apps</span>
</label>

<ul class="popup__more-items">
<li class="popup__more-item">
<a href="#" class="popup__more-icon">
<img
src="./popup-icons/news.png"
alt=""
class="icon"
/>
<span class="popup__more-name">News</span>
</a>
</li>

<li class="popup__more-item">
<a href="#" class="popup__more-icon">
<img
src="./popup-icons/photos.png"
alt=""
class="icon"
/>
<span class="popup__more-name">Photos</span>
</a>
</li>

<li class="popup__more-item">
<a href="#" class="popup__more-icon">
<img
src="./popup-icons/promo.png"
alt=""
class="icon"
/>
<span class="popup__more-name">Promo</span>
</a>
</li>

<li class="popup__more-item">
<a href="#" class="popup__more-icon">
<img
src="./popup-icons/search.png"
alt=""
class="icon"
/>
<span class="popup__more-name">Search</span>
</a>
</li>

<li class="popup__more-item">
<a href="#" class="popup__more-icon">
<img
src="./popup-icons/tanslation.png"
alt=""
class="icon"
/>
<span class="popup__more-name">Translate</span>
</a>
</li>

<li class="popup__more-item">
<a href="#" class="popup__more-icon">
<img
src="./popup-icons/videos.png"
alt=""
class="icon"
/>
<span class="popup__more-name">Videos</span>
</a>
</li>

<li class="popup__even-more">
<a class="popup__more-even even-more" href="#">Even more from Kottans</a>
</li>
</ul>
</div>
</div>
</div>
</li>

<li class="nav__item">
<a href="#" class="nav__item_bell">
<img class="bell" src="./popup-icons/bell.png" alt="" />
</a>
</li>

<li class="nav__item user-item">
<a href="#" class="nav__item-link user">
<img class="user__img" src="./popup-icons/favicon.png" alt="" />
</a>
</li>
</ul>
</nav>
</header>
</body>
</html>
Loading

0 comments on commit 003e927

Please sign in to comment.