@@ -22,7 +23,7 @@ export class ActionIcon extends Component {
${actionName}
-
+
@@ -103,37 +104,6 @@ h3 {
.actions:active {
transform: translateY(2px);
}
-
-.action-info {
- white-space: normal;
- width: 150px;
- border-radius: 6px;
- padding: 8px;
- position: absolute;
- z-index: 5;
- margin-left: -900%;
- margin-top: 35%;
- border: none;
- border-left: 10px solid var(--primary);
- color: white;
- background-color: var(--dark-background);
- font-size: 0.8em;
-}
-
-.action-info:focus {
- outline: none;
-}
-
-.action-info::after {
- content: "";
- position: absolute;
- bottom: 100%;
- left: 78%;
- margin-left: -7px;
- border-width: 10px;
- border-style: solid;
- border-color: transparent transparent var(--dark-background) transparent;
-}
`;
window.customElements.define('action-icon', ActionIcon); // define custom
tag, name must be lowercase and have one hyphen
diff --git a/public/styles/inputs.css b/public/styles/inputs.css
index 80fb601..7d7aded 100644
--- a/public/styles/inputs.css
+++ b/public/styles/inputs.css
@@ -257,3 +257,33 @@ button.themify:active {
input[type='time'] {
width: 141px;
}
+
+.tooltip-info {
+ white-space: normal;
+ min-width: 150px;
+ border-radius: 6px;
+ padding: 8px;
+ position: absolute;
+ z-index: 5;
+ margin-left: -115px;
+ margin-top: 35%;
+ border: none;
+ border-left: 10px solid var(--primary);
+ color: white;
+ background-color: var(--dark-background);
+ font-size: 0.8em;
+}
+
+.tooltip-info:focus {
+ outline: none;
+}
+
+.tooltip-info::after {
+ content: "";
+ position: absolute;
+ bottom: calc(100% - 1px);
+ left: 101.5px;
+ border-width: 10px;
+ border-style: solid;
+ border-color: transparent transparent var(--dark-background) transparent;
+}
diff --git a/public/styles/tables.css b/public/styles/tables.css
index 558707b..d41daac 100644
--- a/public/styles/tables.css
+++ b/public/styles/tables.css
@@ -24,6 +24,7 @@ td {
.smaller-text {
font-size: 0.8rem;
+ vertical-align: middle;
}
.scroll {