پراپ اف ایکس فایننسر: تفاوت میان نسخهها
جایگزینی صفحه با 'رده:شرکتهای ترید رده:پراپها {{ناوبری پراپ}}' برچسبها: جایگزین شد واگردانی دستی |
بدون خلاصۀ ویرایش |
||
خط ۱: | خط ۱: | ||
<!DOCTYPE html> | |||
<html lang="fa" dir="rtl"> | |||
<head> | |||
<meta charset="UTF-8"> | |||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |||
<title>لیست پراپها</title> | |||
<style> | |||
@font-face { | |||
font-family: 'Vazir'; | |||
src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font/dist/Vazir-Regular.woff2') format('woff2'); | |||
} | |||
{{ | body { | ||
font-family: 'Vazir', Arial, sans-serif; | |||
background-color: #f5f7fa; | |||
} | |||
.prop-list-container { | |||
display: flex; | |||
justify-content: center; | |||
align-items: center; | |||
padding: 20px; | |||
} | |||
.prop-box { | |||
background: #2c3e50; | |||
color: #fff; | |||
width: 100%; | |||
max-width: 700px; | |||
border-radius: 10px; | |||
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); | |||
padding: 20px; | |||
} | |||
.prop-header { | |||
font-size: 1.6rem; | |||
color: #42eb9c; | |||
font-weight: bold; | |||
text-align: center; | |||
margin-bottom: 20px; | |||
} | |||
.select-container { | |||
display: flex; | |||
justify-content: space-between; | |||
align-items: center; | |||
gap: 10px; | |||
} | |||
/* استایل کشو */ | |||
select { | |||
padding: 10px 15px; | |||
font-size: 1rem; | |||
font-family: 'Vazir', Arial, sans-serif; | |||
border-radius: 8px; | |||
background-color: #34495e; | |||
color: #fff; | |||
border: 2px solid #42eb9c; | |||
appearance: none; | |||
outline: none; | |||
cursor: pointer; | |||
transition: all 0.3s ease; | |||
width: 70%; | |||
} | |||
select::after { | |||
content: '\25BC'; | |||
font-size: 1.2rem; | |||
color: #fff; | |||
position: absolute; | |||
right: 10px; | |||
top: 50%; | |||
transform: translateY(-50%); | |||
} | |||
select:focus { | |||
border-color: #35c07d; | |||
box-shadow: 0 0 8px rgba(53, 192, 125, 0.6); | |||
} | |||
/* انیمیشن کشویی */ | |||
.select-container select:focus { | |||
animation: openSelect 0.4s ease-out forwards; | |||
} | |||
@keyframes openSelect { | |||
0% { | |||
opacity: 0; | |||
transform: translateY(-20px); | |||
} | |||
100% { | |||
opacity: 1; | |||
transform: translateY(0); | |||
} | |||
} | |||
/* استایل برای دکمه */ | |||
.prop-button { | |||
background-color: #42eb9c; | |||
color: #2c3e50; | |||
font-size: 1rem; | |||
padding: 10px 15px; | |||
border-radius: 7px; | |||
text-align: center; | |||
text-decoration: none; | |||
font-weight: bold; | |||
transition: background-color 0.3s, box-shadow 0.3s; | |||
border: 2px solid transparent; | |||
margin-top: 15px; | |||
} | |||
.prop-button:hover { | |||
background-color: #35c07d; | |||
box-shadow: 0 0 12px rgba(53, 192, 125, 0.7); | |||
border: 2px solid #42eb9c; | |||
} | |||
option { | |||
background-color: #34495e; | |||
color: #fff; | |||
} | |||
/* استایل گرید */ | |||
.prop-grid { | |||
display: grid; | |||
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); | |||
gap: 12px; | |||
text-align: center; | |||
} | |||
.prop-item { | |||
background: linear-gradient(to right, #3e4c59, #34495e); | |||
border-radius: 9px; | |||
padding: 12px; | |||
font-size: 1rem; | |||
color: #fff; | |||
box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.1); | |||
transition: transform 0.3s, box-shadow 0.3s ease-in-out; | |||
} | |||
.prop-item:hover { | |||
transform: scale(1.05); | |||
box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2); | |||
} | |||
.prop-item span { | |||
color: #42eb9c; | |||
font-weight: bold; | |||
} | |||
/* تنظیمات ریسپانسیو */ | |||
@media (max-width: 600px) { | |||
.prop-grid { | |||
grid-template-columns: 1fr; | |||
} | |||
.select-container { | |||
flex-direction: column; | |||
gap: 10px; | |||
} | |||
select { | |||
width: 100%; | |||
} | |||
.prop-item { | |||
font-size: 0.9rem; | |||
} | |||
} | |||
</style> | |||
</head> | |||
<body> | |||
<div class="prop-list-container"> | |||
<div class="prop-box"> | |||
<div class="prop-header">لیست پراپها</div> | |||
<!-- دکمه و کشو کنار هم --> | |||
<div class="select-container"> | |||
<select id="propCategory" onchange="filterProps()"> | |||
<option value="">همه پراپها</option> | |||
<option value="iranian">پراپهای ایرانی</option> | |||
<option value="foreign">پراپهای خارجی</option> | |||
</select> | |||
<a href="#" class="prop-button">دکمه فعال</a> | |||
</div> | |||
<!-- لیست پراپها --> | |||
<div class="prop-grid"> | |||
<div class="prop-item iranian-prop" style="display: block;"><span>پراپ آرکن پراپی</span></div> | |||
<div class="prop-item iranian-prop" style="display: block;"><span>پراپ آریا اینوستور</span></div> | |||
<div class="prop-item iranian-prop" style="display: block;"><span>پراپ آقای سرمایهگذار</span></div> | |||
<div class="prop-item foreign-prop" style="display: none;"><span>پراپ آقای پراپ</span></div> | |||
<div class="prop-item foreign-prop" style="display: none;"><span>پراپ آی پراپ فرم</span></div> | |||
</div> | |||
</div> | |||
</div> | |||
<script> | |||
function filterProps() { | |||
const selectedCategory = document.getElementById('propCategory').value; | |||
const iranianProps = document.getElementsByClassName('iranian-prop'); | |||
const foreignProps = document.getElementsByClassName('foreign-prop'); | |||
if (selectedCategory === 'iranian') { | |||
for (let prop of iranianProps) { | |||
prop.style.display = 'block'; | |||
} | |||
for (let prop of foreignProps) { | |||
prop.style.display = 'none'; | |||
} | |||
} else if (selectedCategory === 'foreign') { | |||
for (let prop of iranianProps) { | |||
prop.style.display = 'none'; | |||
} | |||
for (let prop of foreignProps) { | |||
prop.style.display = 'block'; | |||
} | |||
} else { | |||
for (let prop of iranianProps) { | |||
prop.style.display = 'block'; | |||
} | |||
for (let prop of foreignProps) { | |||
prop.style.display = 'block'; | |||
} | |||
} | |||
} | |||
</script> | |||
</body> | |||
</html> |
نسخهٔ ۲۰ دسامبر ۲۰۲۴، ساعت ۱۸:۱۳
<!DOCTYPE html>