mirror of
https://github.com/Ximi1970/systray-x.git
synced 2026-01-14 03:02:05 +01:00
111 lines
1.8 KiB
CSS
111 lines
1.8 KiB
CSS
body {
|
|
font-family: Arial;
|
|
}
|
|
|
|
/* Style the tab */
|
|
.tab {
|
|
overflow: hidden;
|
|
border: 1px solid #ccc;
|
|
background-color: #f1f1f1;
|
|
}
|
|
|
|
/* Style the buttons inside the tab */
|
|
.tab button {
|
|
background-color: inherit;
|
|
float: left;
|
|
border: none;
|
|
outline: none;
|
|
cursor: pointer;
|
|
padding: 14px 16px;
|
|
transition: 0.3s;
|
|
font-size: 17px;
|
|
}
|
|
|
|
/* Change background color of buttons on hover */
|
|
.tab button:hover {
|
|
background-color: #ddd;
|
|
}
|
|
|
|
/* Create an active/current tablink class */
|
|
.tab button.active {
|
|
background-color: #ccc;
|
|
}
|
|
|
|
/* Style the tab content */
|
|
.tabcontent {
|
|
display: none;
|
|
padding: 6px 12px;
|
|
border: 1px solid #ccc;
|
|
border-top: none;
|
|
}
|
|
|
|
/* check box tree view */
|
|
.box {
|
|
cursor: pointer;
|
|
-webkit-user-select: none; /* Safari 3.1+ */
|
|
-moz-user-select: none; /* Firefox 2+ */
|
|
-ms-user-select: none; /* IE 10+ */
|
|
user-select: none;
|
|
}
|
|
|
|
.box::before {
|
|
content: "\2610";
|
|
color: grey;
|
|
display: inline-block;
|
|
margin-right: 6px;
|
|
}
|
|
|
|
.check-box::before {
|
|
content: "\2611";
|
|
color: dodgerblue;
|
|
}
|
|
|
|
ul,
|
|
#accountsTree {
|
|
list-style-type: none;
|
|
}
|
|
|
|
/* Remove margins and padding from the parent ul */
|
|
#accountsTree {
|
|
border-style: solid;
|
|
margin: 0;
|
|
padding: 10px;
|
|
}
|
|
|
|
/* Style the caret/arrow */
|
|
.caret {
|
|
cursor: pointer;
|
|
user-select: none; /* Prevent text selection */
|
|
}
|
|
|
|
/* Create the caret/arrow with a unicode, and style it */
|
|
.caret::before {
|
|
content: "\25B6";
|
|
color: black;
|
|
display: inline-block;
|
|
margin-right: 6px;
|
|
}
|
|
|
|
/* Rotate the caret/arrow icon when clicked on (using JavaScript) */
|
|
.caret-down::before {
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
/* Hide the nested list */
|
|
.nested {
|
|
display: none;
|
|
}
|
|
|
|
/* Show the nested list when the user clicks on the caret/arrow (with JavaScript) */
|
|
.active {
|
|
display: block;
|
|
}
|
|
|
|
.custom-icon-container {
|
|
display: flex;
|
|
}
|
|
|
|
.custom-icon-container > div {
|
|
margin: 10px;
|
|
}
|