Ignore:
Timestamp:
01/21/26 13:35:44 (6 months ago)
Author:
istevanoska <ilinastevanoska@…>
Branches:
master
Children:
d42aac3
Parents:
2058e5c
Message:

Added OAuth/prototype

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lan-frontend/src/index.css

    r2058e5c r505f39a  
    15641564}
    15651565
    1566 @tailwind base;
    1567 @tailwind components;
    1568 @tailwind utilities;
     1566.aiDrawer-backdrop{
     1567  position: fixed;
     1568  inset: 0;
     1569  background: rgba(0,0,0,.55);
     1570  backdrop-filter: blur(2px);
     1571  z-index: 999;
     1572}
     1573
     1574/* десен drawer */
     1575.aiDrawer{
     1576  position: fixed;
     1577  top: 0;
     1578  right: 0;
     1579  height: 100vh;
     1580  width: min(520px, 92vw);
     1581  background: #0b1220;            /* темна */
     1582  color: #e7eefc;
     1583  border-left: 1px solid rgba(255,255,255,.08);
     1584  z-index: 1000;
     1585  display: grid;
     1586  grid-template-rows: auto auto 1fr auto;
     1587
     1588  /* slide in */
     1589  transform: translateX(0);
     1590  animation: aiSlideIn .18s ease-out;
     1591}
     1592
     1593@keyframes aiSlideIn{
     1594  from { transform: translateX(24px); opacity: .7; }
     1595  to   { transform: translateX(0); opacity: 1; }
     1596}
     1597
     1598.aiDrawer-head{
     1599  padding: 14px 16px;
     1600  display: flex;
     1601  align-items: center;
     1602  justify-content: space-between;
     1603  border-bottom: 1px solid rgba(255,255,255,.08);
     1604}
     1605
     1606.aiDrawer-title{
     1607  font-size: 16px;
     1608  font-weight: 700;
     1609}
     1610
     1611.aiDrawer-sub{
     1612  font-size: 12px;
     1613  opacity: .75;
     1614  margin-top: 2px;
     1615}
     1616
     1617.aiDrawer-toolbar{
     1618  padding: 12px 16px;
     1619  border-bottom: 1px solid rgba(255,255,255,.08);
     1620  display: grid;
     1621  gap: 8px;
     1622}
     1623
     1624.aiSelect{
     1625  width: 100%;
     1626  background: rgba(255,255,255,.06);
     1627  border: 1px solid rgba(255,255,255,.10);
     1628  color: #e7eefc;
     1629  padding: 10px 12px;
     1630  border-radius: 10px;
     1631  outline: none;
     1632}
     1633
     1634.aiHint{
     1635  font-size: 12px;
     1636  opacity: .75;
     1637}
     1638
     1639.aiDrawer-body{
     1640  padding: 14px 16px;
     1641  overflow: auto;
     1642  display: grid;
     1643  gap: 10px;
     1644}
     1645
     1646/* chat bubbles */
     1647.aiMsg{
     1648  max-width: 92%;
     1649  border: 1px solid rgba(255,255,255,.08);
     1650  border-radius: 14px;
     1651  padding: 10px 12px;
     1652  background: rgba(255,255,255,.04);
     1653}
     1654
     1655.aiMsg.user{
     1656  margin-left: auto;
     1657  background: rgba(88, 167, 255, .12);
     1658  border-color: rgba(88, 167, 255, .20);
     1659}
     1660
     1661.aiMsg-meta{
     1662  font-size: 11px;
     1663  opacity: .7;
     1664  margin-bottom: 6px;
     1665}
     1666
     1667.aiMsg-text{
     1668  white-space: pre-wrap;
     1669  line-height: 1.35;
     1670  font-size: 14px;
     1671}
     1672
     1673.aiDrawer-foot{
     1674  padding: 12px 16px;
     1675  border-top: 1px solid rgba(255,255,255,.08);
     1676  display: grid;
     1677  grid-template-columns: 1fr auto;
     1678  gap: 10px;
     1679  align-items: end;
     1680  background: rgba(255,255,255,.02);
     1681}
     1682
     1683.aiTextarea{
     1684  width: 100%;
     1685  resize: none;
     1686  background: rgba(255,255,255,.06);
     1687  border: 1px solid rgba(255,255,255,.10);
     1688  color: #e7eefc;
     1689  padding: 10px 12px;
     1690  border-radius: 12px;
     1691  outline: none;
     1692}
     1693
     1694.aiBtn{
     1695  background: rgba(255,255,255,.06);
     1696  border: 1px solid rgba(255,255,255,.10);
     1697  color: #e7eefc;
     1698  padding: 10px 12px;
     1699  border-radius: 12px;
     1700  cursor: pointer;
     1701}
     1702
     1703.aiBtn:disabled{
     1704  opacity: .5;
     1705  cursor: not-allowed;
     1706}
     1707
     1708.aiBtnPrimary{
     1709  background: rgba(88, 167, 255, .22);
     1710  border-color: rgba(88, 167, 255, .35);
     1711}
Note: See TracChangeset for help on using the changeset viewer.