maher-tradingview-api
Version:
Tradingview instant stocks API, indicator alerts, trading bot, and more !
89 lines (75 loc) • 1.55 kB
CSS
/* أنماط الرسوم البيانية */
.chart-container {
background-color: #fff;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
padding: 20px;
margin: 20px 0;
}
.chart-container h3 {
margin-top: 0;
margin-bottom: 20px;
font-size: 1.2em;
color: #333;
text-align: center;
}
.chart-selector {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 10px;
margin-bottom: 20px;
}
.chart-btn {
background-color: #f5f5f7;
border: 1px solid #ddd;
border-radius: 20px;
padding: 6px 15px;
font-size: 0.9em;
cursor: pointer;
transition: all 0.2s;
}
.chart-btn:hover {
background-color: #eaeaea;
}
.chart-btn.active {
background-color: #0088cc;
color: white;
border-color: #0088cc;
}
/* أنماط الجداول البيانية */
.price-table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
}
.price-table th {
background-color: #f5f5f7;
padding: 10px;
font-weight: 600;
text-align: right;
}
.price-table td {
padding: 10px;
border-top: 1px solid #eee;
}
.price-table tr:hover {
background-color: #f9f9f9;
}
/* أنماط القيم في الرسم البياني */
.up-value {
color: #4caf50;
}
.down-value {
color: #f44336;
}
/* تحسينات المخطط للشاشات المتنقلة */
@media (max-width: 768px) {
.chart-container {
padding: 15px 10px;
}
.chart-btn {
padding: 5px 12px;
font-size: 0.85em;
}
}