small improvment in css

This commit is contained in:
lenovo
2022-12-05 22:05:33 +01:00
parent 7fd77539f4
commit 5510861c63
2 changed files with 23 additions and 16 deletions

View File

@@ -19,21 +19,12 @@
<p class="_title" tabindex=0>list</p> <p class="_title" tabindex=0>list</p>
<div class="_items" tabindex=0> <div class="_items" tabindex=0>
<div class="drop_down _push"> <p class="_section">directs chats</p>
<p class="_title" tabindex=0>directs chats</p> <label for="input_outside"><p class="_subsection">test1</p></label>
<div class="_items" tabindex=0> <label for="input_outside"><p class="_subsection">test2</p></label>
<label for="input_outside"><p>test1</p></label> <p class="_section">rooms</p>
<label for="input_outside"><p>test2</p></label> <label for="input_outside"><p class="_subsection">test1</p></label>
</div> <label for="input_outside"><p class="_subsection">test2</p></label>
</div>
<div class="drop_down _push">
<p class="_title" tabindex=0>rooms</p>
<div class="_items" tabindex=0>
<label for="input_outside"><p>test1</p></label>
<label for="input_outside"><p>test2</p></label>
</div>
</div>
</div> </div>
</div> </div>
@@ -42,7 +33,15 @@
<p class="_title" tabindex=0>create</p> <p class="_title" tabindex=0>create</p>
<div class="_items" tabindex=0> <div class="_items" tabindex=0>
<label for="input_outside"><p>direct chat</p></label> <label for="input_outside"><p>direct chat</p></label>
<label for="input_outside"><p>room</p></label>
<div class="drop_down _push">
<p class="_title" tabindex=0>room</p>
<div class="_items" tabindex=0>
<label for="input_outside"><p>test1</p></label>
<label for="input_outside"><p>test2</p></label>
</div>
</div>
</div> </div>
</div> </div>

View File

@@ -44,6 +44,14 @@
margin-left: 0px; margin-left: 0px;
cursor: pointer; cursor: pointer;
} }
.drop_down p._section:hover,
.drop_down p._section:active {
background-color: transparent !important;
cursor: default !important;
}
.drop_down p._subsection {
padding-left: 20px;
}
/* * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * *