Skip to content

Commit f6b28c9

Browse files
committed
fixedall
1 parent 207d199 commit f6b28c9

File tree

2 files changed

+32
-423
lines changed

2 files changed

+32
-423
lines changed

dashboard.css

Lines changed: 1 addition & 336 deletions
Original file line numberDiff line numberDiff line change
@@ -1336,339 +1336,4 @@ input[type="radio"],
13361336
border-radius: 10px;
13371337
min-height: 50vh;
13381338
}
1339-
}
1340-
* {
1341-
user-select: none;
1342-
}
1343-
1344-
*:focus {
1345-
outline: none;
1346-
}
1347-
1348-
html,
1349-
body {
1350-
height: 100%;
1351-
min-height: 100%;
1352-
}
1353-
1354-
body {
1355-
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
1356-
padding-bottom: 100px;
1357-
margin: 0;
1358-
background-color: #ebf3f3;
1359-
}
1360-
1361-
.brd {
1362-
border: 1px solid #e2eded;
1363-
border-color: #eaf1f1 #e4eded #dbe7e7 #e4eded;
1364-
}
1365-
1366-
#info {
1367-
position: absolute;
1368-
top: 0;
1369-
right: 0;
1370-
left: 0;
1371-
color: #2d3667;
1372-
font-size: 16px;
1373-
text-align: center;
1374-
padding: 14px;
1375-
background-color: #f3f9f9;
1376-
}
1377-
1378-
#app-cover {
1379-
position: absolute;
1380-
top: 0;
1381-
right: 0;
1382-
left: 0;
1383-
width: 300px;
1384-
height: 42px;
1385-
margin: 100px auto 0 auto;
1386-
z-index: 1;
1387-
}
1388-
1389-
#select-button {
1390-
position: relative;
1391-
height: 16px;
1392-
padding: 12px 14px;
1393-
background-color: #fff;
1394-
border-radius: 4px;
1395-
cursor: pointer;
1396-
}
1397-
1398-
#options-view-button {
1399-
position: absolute;
1400-
top: 0;
1401-
right: 0;
1402-
bottom: 0;
1403-
left: 0;
1404-
width: 100%;
1405-
height: 100%;
1406-
margin: 0;
1407-
opacity: 0;
1408-
cursor: pointer;
1409-
z-index: 3;
1410-
}
1411-
1412-
#selected-value {
1413-
font-size: 16px;
1414-
line-height: 1;
1415-
margin-right: 26px;
1416-
}
1417-
1418-
.option i {
1419-
width: 16px;
1420-
height: 16px;
1421-
}
1422-
1423-
.option,
1424-
.label {
1425-
color: #2d3667;
1426-
font-size: 16px;
1427-
}
1428-
1429-
#chevrons {
1430-
position: absolute;
1431-
top: 0;
1432-
right: 0;
1433-
bottom: 0;
1434-
width: 12px;
1435-
padding: 9px 14px;
1436-
}
1437-
1438-
#chevrons i {
1439-
display: block;
1440-
height: 50%;
1441-
color: #d1dede;
1442-
font-size: 12px;
1443-
text-align: right;
1444-
}
1445-
1446-
#options-view-button:checked + #select-button #chevrons i {
1447-
color: #2d3667;
1448-
}
1449-
1450-
.options {
1451-
position: absolute;
1452-
left: 0;
1453-
width: 250px;
1454-
}
1455-
1456-
#options {
1457-
position: absolute;
1458-
top: 42px;
1459-
right: 0;
1460-
left: 0;
1461-
width: 298px;
1462-
margin: 0 auto;
1463-
background-color: #fff;
1464-
border-radius: 4px;
1465-
}
1466-
1467-
#options-view-button:checked ~ #options {
1468-
border: 1px solid #e2eded;
1469-
border-color: #eaf1f1 #e4eded #dbe7e7 #e4eded;
1470-
}
1471-
1472-
.option {
1473-
position: relative;
1474-
line-height: 1;
1475-
transition: 0.3s ease all;
1476-
z-index: 2;
1477-
}
1478-
1479-
.option i {
1480-
position: absolute;
1481-
left: 14px;
1482-
padding: 0;
1483-
display: none;
1484-
}
1485-
1486-
#options-view-button:checked ~ #options .option i {
1487-
display: block;
1488-
padding: 12px 0;
1489-
}
1490-
1491-
.label {
1492-
display: none;
1493-
padding: 0;
1494-
margin-left: 27px;
1495-
}
1496-
1497-
#options-view-button:checked ~ #options .label {
1498-
display: block;
1499-
padding: 12px 14px;
1500-
}
1501-
1502-
.s-c {
1503-
position: absolute;
1504-
left: 0;
1505-
width: 100%;
1506-
height: 50%;
1507-
}
1508-
1509-
.s-c.top {
1510-
top: 0;
1511-
}
1512-
1513-
.s-c.bottom {
1514-
bottom: 0;
1515-
}
1516-
1517-
input[type="radio"] {
1518-
position: absolute;
1519-
right: 0;
1520-
left: 0;
1521-
width: 100%;
1522-
height: 50%;
1523-
margin: 0;
1524-
opacity: 0;
1525-
cursor: pointer;
1526-
}
1527-
1528-
.s-c:hover ~ i {
1529-
color: #fff;
1530-
opacity: 0;
1531-
}
1532-
1533-
.s-c:hover {
1534-
height: 100%;
1535-
z-index: 1;
1536-
}
1537-
1538-
.s-c.bottom:hover + i {
1539-
bottom: -25px;
1540-
animation: moveup 0.3s ease 0.1s forwards;
1541-
}
1542-
1543-
.s-c.top:hover ~ i {
1544-
top: -25px;
1545-
animation: movedown 0.3s ease 0.1s forwards;
1546-
}
1547-
1548-
@keyframes moveup {
1549-
0% {
1550-
bottom: -25px;
1551-
opacity: 0;
1552-
}
1553-
100% {
1554-
bottom: 0;
1555-
opacity: 1;
1556-
}
1557-
}
1558-
1559-
@keyframes movedown {
1560-
0% {
1561-
top: -25px;
1562-
opacity: 0;
1563-
}
1564-
100% {
1565-
top: 0;
1566-
opacity: 1;
1567-
}
1568-
}
1569-
1570-
.label {
1571-
transition: 0.3s ease all;
1572-
}
1573-
1574-
.opt-val {
1575-
position: absolute;
1576-
left: 14px;
1577-
width: 217px;
1578-
height: 21px;
1579-
opacity: 0;
1580-
background-color: #fff;
1581-
transform: scale(0);
1582-
}
1583-
1584-
.option input[type="radio"]:checked ~ .opt-val {
1585-
opacity: 1;
1586-
transform: scale(1);
1587-
}
1588-
1589-
.option input[type="radio"]:checked ~ i {
1590-
top: 0;
1591-
bottom: auto;
1592-
opacity: 1;
1593-
animation: unset;
1594-
}
1595-
1596-
.option input[type="radio"]:checked ~ i,
1597-
.option input[type="radio"]:checked ~ .label {
1598-
color: #fff;
1599-
}
1600-
1601-
.option input[type="radio"]:checked ~ .label:before {
1602-
content: "";
1603-
position: absolute;
1604-
top: 0;
1605-
right: 0;
1606-
bottom: 0;
1607-
left: 0;
1608-
z-index: -1;
1609-
}
1610-
1611-
#options-view-button:not(:checked)
1612-
~ #options
1613-
.option
1614-
input[type="radio"]:checked
1615-
~ .opt-val {
1616-
top: -30px;
1617-
}
1618-
1619-
.option:nth-child(1) input[type="radio"]:checked ~ .label:before {
1620-
background-color: #000;
1621-
border-radius: 4px 4px 0 0;
1622-
}
1623-
1624-
.option:nth-child(1) input[type="radio"]:checked ~ .opt-val {
1625-
top: -31px;
1626-
}
1627-
1628-
.option:nth-child(2) input[type="radio"]:checked ~ .label:before {
1629-
background-color: #ea4c89;
1630-
}
1631-
1632-
.option:nth-child(2) input[type="radio"]:checked ~ .opt-val {
1633-
top: -71px;
1634-
}
1635-
1636-
.option .fa-codepen {
1637-
color: #000;
1638-
}
1639-
1640-
.option .fa-dribbble {
1641-
color: #ea4c89;
1642-
}
1643-
1644-
1645-
#option-bg {
1646-
position: absolute;
1647-
top: 0;
1648-
right: 0;
1649-
left: 0;
1650-
height: 40px;
1651-
transition: 0.3s ease all;
1652-
z-index: 1;
1653-
display: none;
1654-
}
1655-
1656-
#options-view-button:checked ~ #options #option-bg {
1657-
display: block;
1658-
}
1659-
1660-
.option:hover .label {
1661-
color: #fff;
1662-
}
1663-
1664-
.option:nth-child(1):hover ~ #option-bg {
1665-
top: 0;
1666-
background-color: #000;
1667-
border-radius: 4px 4px 0 0;
1668-
}
1669-
1670-
.option:nth-child(2):hover ~ #option-bg {
1671-
top: 40px;
1672-
background-color: #ea4c89;
1673-
}
1674-
1339+
}

0 commit comments

Comments
 (0)