This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(labels): add ability to add labels to notes
- Loading branch information
1 parent
93df0db
commit 6894288
Showing
2 changed files
with
129 additions
and
21 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,71 @@ | ||
.tags { | ||
list-style: none; | ||
margin: 0; | ||
overflow: hidden; | ||
padding: 0; | ||
} | ||
|
||
.tags li { | ||
float: left; | ||
} | ||
|
||
.tag { | ||
background: #eee; | ||
border-radius: 6px 6px 6px 6px; | ||
color: #999; | ||
display: inline-block; | ||
height: 26px; | ||
line-height: 26px; | ||
padding: 0 20px 0 20px; | ||
position: relative; | ||
margin: 0 10px 10px 0; | ||
text-decoration: none; | ||
-webkit-transition: color 0.2s; | ||
} | ||
|
||
.tag::before { | ||
/*background: #fff; | ||
border-radius: 10px; | ||
box-shadow: inset 0 1px rgba(0, 0, 0, 0.25); | ||
content: ''; | ||
height: 6px; | ||
left: 10px; | ||
position: absolute; | ||
width: 6px; | ||
top: 10px; Makes a hole at the begining to indicate tag*/ | ||
} | ||
|
||
.tag::after { | ||
/*background: #fff; | ||
border-bottom: 13px solid transparent; | ||
border-left: 10px solid #eee; | ||
border-top: 13px solid transparent; | ||
content: ''; | ||
position: absolute; | ||
right: 0; | ||
top: 0;*/ | ||
} | ||
|
||
.tag:hover { | ||
/*background-color: #cc0000;*/ | ||
background-color: rgb(65, 65, 65); | ||
color: white; | ||
} | ||
|
||
.tagInput { | ||
background-color: inherit; | ||
border: none; | ||
font-family: inherit; | ||
font-size: inherit; | ||
padding: 0; | ||
margin: 0; | ||
width: 75px; | ||
text-align: center; | ||
} | ||
.tagInput:focus { | ||
color: white; | ||
} | ||
|
||
.tag:hover::after { | ||
border-left-color: rgb(65, 65, 65); | ||
} |
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