home layout three dots working and found a better way to use css with partial global
This commit is contained in:
@@ -29,6 +29,8 @@
|
||||
button.grid#settings {grid-area: settings;}
|
||||
*/
|
||||
|
||||
/* default config
|
||||
*/
|
||||
button {
|
||||
display: flex;
|
||||
width: auto;
|
||||
@@ -59,5 +61,6 @@
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
</style>
|
||||
|
||||
|
||||
@@ -51,30 +51,27 @@
|
||||
}
|
||||
|
||||
|
||||
/* button "new" appearance
|
||||
/* button "new"
|
||||
*/
|
||||
/* add or remove '.chat_item' to toggle the hover effect */
|
||||
#chat_box.home button.chat_new {
|
||||
width: auto;
|
||||
.grid_box :global(button#chat_new:not(:hover)) {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
|
||||
/* button "settings" as 3 dots
|
||||
*/
|
||||
#chat_box.home .chat_item#chat_settings p {
|
||||
.grid_box :global(button#chat_settings p) {
|
||||
display: none;
|
||||
}
|
||||
#chat_box.home button.chat_item#chat_settings {
|
||||
.grid_box :global(button#chat_settings) {
|
||||
width: 30px;
|
||||
height: 100%;
|
||||
padding: 0px;
|
||||
}
|
||||
/* add or remove '.chat_item' to toggle the hover effect */
|
||||
#chat_box.home button.chat_item#chat_settings {
|
||||
.grid_box :global(button#chat_settings:not(:hover)) {
|
||||
background-color: transparent;
|
||||
}
|
||||
#chat_box.home .chat_item#chat_settings::after {
|
||||
.grid_box :global(button#chat_settings::after) {
|
||||
content: '\2807';
|
||||
font-size: 20px;
|
||||
position: absolute;
|
||||
|
||||
Reference in New Issue
Block a user