Skip to content

Commit

Permalink
Update styles
Browse files Browse the repository at this point in the history
  • Loading branch information
rossant committed Mar 12, 2024
1 parent dc9bf41 commit 862ef88
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 26 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<a href="#" id="emoji-button">Emoji</a>

<!-- COLOR PICKER BUTTON -->
Color
Color picker
<input type="text" data-coloris id="color-button" value="rgb(0,0,0)">

<emoji-picker id="emoji-picker" class="light"></emoji-picker>
Expand Down
51 changes: 26 additions & 25 deletions styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,32 @@ html {
}


/*************************************************************************************************/
/* Top buttons */
/*************************************************************************************************/

#buttons-bar {
position: relative;
margin-bottom: 10px;
}

emoji-picker {
display: none;
position: absolute;
left: 0;
right: 0;
z-index: 100;
}

emoji-picker.visible {
display: block;
}

#color-button {
width: 100px;
}


/*************************************************************************************************/
/* Selector */
/*************************************************************************************************/
Expand Down Expand Up @@ -114,31 +140,6 @@ html {
}


/*************************************************************************************************/
/* Top buttons */
/*************************************************************************************************/

#buttons-bar {
position: relative;
}

emoji-picker {
display: none;
position: absolute;
left: 0;
right: 0;
z-index: 100;
}

emoji-picker.visible {
display: block;
}

#color-button {
width: 100px;
}


/*************************************************************************************************/
/* Code editor */
/*************************************************************************************************/
Expand Down

0 comments on commit 862ef88

Please sign in to comment.