mirror of
https://github.com/phuoc-ng/csslayout.git
synced 2025-10-24 03:06:22 +02:00
Cleanup
This commit is contained in:
@@ -1,8 +1,3 @@
|
||||
/**
|
||||
* A collection of popular layouts and patterns made with CSS (https://csslayout.io)
|
||||
* (c) 2019 - 2021 Nguyen Huu Phuoc <https://twitter.com/nghuuphuoc>
|
||||
*/
|
||||
|
||||
import * as React from 'react';
|
||||
|
||||
import Frame from '../../placeholders/Frame';
|
||||
|
||||
@@ -1,37 +0,0 @@
|
||||
/**
|
||||
* A collection of popular layouts and patterns made with CSS (https://csslayout.io)
|
||||
* (c) 2019 - 2021 Nguyen Huu Phuoc <https://twitter.com/nghuuphuoc>
|
||||
*/
|
||||
|
||||
.p-tooltip {
|
||||
position: relative;
|
||||
}
|
||||
.p-tooltip:hover .p-tooltip-arrow,
|
||||
.p-tooltip:hover .p-tooltip-content {
|
||||
opacity: 1;
|
||||
pointer-events: initial;
|
||||
}
|
||||
.p-tooltip-arrow {
|
||||
border: 8px solid transparent;
|
||||
border-top-color: #00439e;
|
||||
bottom: 100%;
|
||||
height: 0;
|
||||
left: 50%;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
position: absolute;
|
||||
transform: translate(-50%, 8px);
|
||||
width: 0;
|
||||
z-index: 10;
|
||||
}
|
||||
.p-tooltip-content {
|
||||
background-color: #00439e;
|
||||
border-radius: 2px;
|
||||
bottom: 100%;
|
||||
left: 50%;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
position: absolute;
|
||||
transform: translate(-50%, -8px);
|
||||
z-index: 10;
|
||||
}
|
||||
Reference in New Issue
Block a user