Add visual approval flow designer
This commit is contained in:
32
app/page.module.css
Normal file
32
app/page.module.css
Normal file
@@ -0,0 +1,32 @@
|
||||
.approvalLauncher {
|
||||
position: fixed;
|
||||
right: 26px;
|
||||
bottom: 26px;
|
||||
z-index: 45;
|
||||
width: 208px;
|
||||
min-height: 64px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 11px;
|
||||
padding: 10px 12px;
|
||||
border: 1px solid #295fcf;
|
||||
border-radius: 12px;
|
||||
background: #3276f6;
|
||||
box-shadow: 0 16px 34px rgba(30, 86, 196, .28);
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
transition: transform .18s ease, background .18s ease;
|
||||
}
|
||||
|
||||
.approvalLauncher:hover { transform: translateY(-2px); background: #215ecb; }
|
||||
.launcherIcon { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; background: rgba(255,255,255,.16); font-size: 18px; }
|
||||
.approvalLauncher > span:nth-child(2) { display: flex; flex: 1; flex-direction: column; gap: 3px; }
|
||||
.approvalLauncher strong { font-size: 12px; }
|
||||
.approvalLauncher small { color: rgba(255,255,255,.72); font-size: 9px; }
|
||||
.approvalLauncher b { font-size: 17px; }
|
||||
|
||||
@media (max-width: 620px) {
|
||||
.approvalLauncher { right: 14px; bottom: 14px; width: 54px; min-height: 54px; padding: 9px; border-radius: 50%; }
|
||||
.approvalLauncher > span:nth-child(2), .approvalLauncher b { display: none; }
|
||||
.launcherIcon { width: 34px; height: 34px; background: transparent; }
|
||||
}
|
||||
Reference in New Issue
Block a user