Skip to content

Commit 007507f

Browse files
authored
[DOCS] Remove newsletter button port (#32146)
1 parent 5b78e57 commit 007507f

File tree

5 files changed

+2
-621
lines changed

5 files changed

+2
-621
lines changed

docs/sphinx_setup/_static/css/custom.css

Lines changed: 2 additions & 186 deletions
Original file line numberDiff line numberDiff line change
@@ -1327,192 +1327,8 @@ table#model-accuracy-and-perf-int8-fp32-table td.data {
13271327
padding-left: 30px;
13281328
}
13291329

1330-
1331-
/* Newsletter */
1332-
/* =================================================== */
1333-
#newsletterModal {
1334-
position: fixed;
1335-
z-index: 5000;
1336-
width: 100%;
1337-
height: 100%;
1338-
bottom: 0;
1339-
left: 0;
1340-
display: flex;
1341-
justify-content: center;
1342-
align-items: center;
1343-
background: rgba(255, 255, 255, .7);
1344-
}
1345-
1346-
.newsletter-shadow {
1347-
/* background: white;
1348-
box-shadow: 0 0 40px 40px rgba(255,255,255,1); */
1349-
padding: 10px;
1350-
max-width: 600px;
1351-
width: 90%;
1352-
box-sizing: border-box;
1353-
}
1354-
1355-
.newsletter-box {
1356-
max-width: 530px;
1357-
padding: 10px;
1358-
margin: auto;
1359-
}
1360-
1361-
.newsletter {
1362-
background: rgba(0, 104, 181, 1);
1363-
box-shadow: 0 0 20px 10px #a9a9a9c0;
1364-
width: 100%;
1365-
padding: 10px;
1366-
}
1367-
1368-
.newsletter-heading {
1369-
color: white;
1370-
margin: 0 0 1rem;
1371-
}
1372-
1373-
.newsletter-text {
1374-
color: white;
1375-
}
1376-
1377-
.form-group {
1378-
position: relative;
1379-
}
1380-
1381-
.newsletter-input {
1382-
box-sizing: border-box;
1383-
border: 1px solid white;
1384-
width: 100%;
1385-
transition: .4s;
1386-
line-height: 1.65rem;
1387-
height: 30px;
1388-
}
1389-
1390-
.newsletter-input:focus {
1391-
outline: 0;
1392-
box-shadow: 0 0 5px 2px white;
1393-
}
1394-
1395-
.newsletter-input.failed:focus {
1396-
outline: 0;
1397-
box-shadow: 0 0 5px 2px #a8a8a8;
1398-
}
1399-
1400-
.newsletter-submit-btn,
1401-
.newsletter-submit-btn:focus {
1402-
background: #cdedff;
1403-
color: rgba(0, 104, 181, 1);
1404-
border: 0;
1405-
position: absolute;
1406-
top: 1.5px;
1407-
right: 1.5px;
1408-
padding: 0 .8rem;
1409-
transition: .4s;
1410-
1411-
white-space: nowrap;
1412-
overflow: hidden;
1413-
text-overflow: ellipsis;
1414-
max-width: 31%;
1415-
outline: none;
1416-
}
1417-
1418-
.newsletter-submit-btn:hover,
1419-
.newsletter-submit-btn:active {
1420-
background: #00A3F6;
1421-
color: white;
1422-
outline: none;
1423-
}
1424-
1425-
.newsletter-submit-btn:disabled {
1426-
background: #a8a8a8;
1427-
color: white;
1428-
}
1429-
1430-
.newsletter-submit-btn:before {
1431-
font-family: "Font Awesome 5 Free";
1432-
content: "\f0e0\00a0";
1433-
font-size: 1rem;
1434-
}
1435-
1436-
.newsletter-footer-text {
1437-
color: #76CEFF;
1438-
font-size: 0.7rem;
1439-
}
1440-
1441-
.newsletter-footer-text a {
1442-
color: #B4F0FF;
1443-
}
1444-
1445-
.message-box {
1446-
justify-content: center;
1447-
align-items: center;
1448-
font-size: 1.2rem;
1449-
text-align: center;
1450-
display: none;
1451-
color: white;
1452-
}
1453-
1454-
.newsletter-icon {
1455-
margin-left: -31px;
1456-
}
1457-
1458-
.newsletter-icon-background {
1459-
color: white;
1460-
top: 20px;
1461-
font-size: .9em;
1462-
}
1463-
1464-
.newsletter-submit--success {
1465-
color: #B1D272;
1466-
}
1467-
1468-
.newsletter-submit--failure {
1469-
color: #C81326;
1470-
}
1471-
1472-
.animated {
1473-
opacity: 0;
1474-
}
1475-
1476-
.fade-up {
1477-
animation: fade-up-anim .2s forwards;
1478-
}
1479-
1480-
.fade-in {
1481-
animation: fade-in-anim .2s forwards;
1482-
}
1483-
1484-
.animation-delay {
1485-
animation-delay: .3s;
1486-
}
1487-
1488-
.animation-delay--long {
1489-
animation-delay: .5s;
1490-
}
1491-
1492-
@keyframes fade-up-anim {
1493-
from {
1494-
opacity: 0;
1495-
transform: translateY(20px);
1496-
}
1497-
1498-
to {
1499-
opacity: 1;
1500-
transform: translateY(0);
1501-
}
1502-
}
1503-
1504-
@keyframes fade-in-anim {
1505-
from {
1506-
opacity: 0;
1507-
}
1508-
1509-
to {
1510-
opacity: 1;
1511-
}
1512-
}
1513-
1514-
input:-webkit-autofill {
1515-
-webkit-box-shadow: 0 0 0px 1000px white inset;
1330+
.newsletter-btn {
1331+
display: none !important;
15161332
}
15171333

15181334
/* Scrollbox Extension */

docs/sphinx_setup/_static/html/footer.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,6 @@
129129
alt="notice at collection" target="_parent">Notice at Collection</a></li>
130130
</ul>
131131
</div>
132-
<a id="newsletterTrigger" class="newsletter-btn" href="#" alt="Newsletter"
133-
onclick="return false;">Newsletter</a>
134132
</div>
135133
<p style="font-size: 0.9em">Intel, the Intel logo, and other Intel marks are trademarks of Intel Corporation or
136134
its subsidiaries. Other names and brands may be claimed as the property of others.</p>

0 commit comments

Comments
 (0)