← Kapat
ortak-tools-style.css
.tools-main {
padding-top: 4rem;
background: #18181b;
}
.tools-title {
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 1rem;
background: linear-gradient(to right, #ff8c00, #ffa500);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
#calculator-container {
text-align: center;
}
.tools-subtitle {
font-size: 1.25rem;
color: #9ca3af;
}
.calculator-section {
padding: 3rem 0;
max-width: 60vw;
margin: 0 auto;
}
.calculator-section {
padding: 1rem 0;
}
.calculator-container {
background: rgba(39, 39, 42, 0.5);
border: 1px solid rgba(251, 146, 60, 0.2);
border-radius: 1rem;
padding: 2rem 0rem;
margin-bottom: 2rem;
position: relative;
}
.orta {
display: flex;
gap: 3rem;
padding: 0 3rem;
}
.sol {
float: left;
width: 50%;
}
.sag {
float: right;
width: 50%;
}
@media (max-width: 900px) {
.sol,
.sag {
width: 100%;
float: none;
}
}
.calculator-container::after {
content: "";
display: table;
clear: both;
}
.gender-section {
display: flex;
gap: 0.5rem;
margin-bottom: 2rem;
justify-content: center;
}
.gender-btn,
.bodyFat-gender-btn,
.calorie-gender-btn {
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
padding: 0.75rem 1rem;
background: rgba(63, 63, 70, 0.5);
border: 1px solid rgba(82, 82, 91, 1);
border-radius: 0.5rem;
color: #ffffff;
cursor: pointer;
transition: all 0.2s ease;
font-size: 0.875rem;
font-weight: 500;
}
.gender-btn:hover,
.bodyFat-gender-btn:hover,
.calorie-gender-btn:hover {
background: rgba(63, 63, 70, 0.8);
border-color: rgba(251, 146, 60, 0.5);
}
.gender-btn.active,
.bodyFat-gender-btn.active,
.calorie-gender-btn.active {
background: rgba(251, 146, 60, 0.2);
border-color: #fb923c;
color: #fb923c;
}
.gender-btn svg {
width: 20px;
height: 20px;
}
.input-group {
margin-top: 1.5rem;
}
.input-label {
display: block;
font-size: 0.875rem;
font-weight: 500;
color: #d1d5db;
}
.input-label {
display: block;
font-size: 1.125rem;
font-weight: 500;
color: #ffffff;
}
.input-field {
width: 100%;
padding: 0.75rem;
background: rgba(24, 24, 27, 0.8);
border: 1px solid rgba(82, 82, 91, 1);
border-radius: 0.5rem;
color: #ffffff;
font-size: 1rem;
}
.input-field:focus {
outline: none;
border-color: #fb923c;
box-shadow: 0 0 0 2px rgba(251, 146, 60, 0.2);
}
.sliders-section {
margin-bottom: 2rem;
}
.slider-group {
text-align: left;
margin-bottom: 2rem;
}
.slider-group label {
display: block;
font-weight: 600;
margin-bottom: 0.25rem;
text-align: left;
color: #ffffff;
font-size: 0.875rem;
}
#renk {
color: #ff8c00;
font-weight: 600;
}
.slider-wrapper {
position: relative;
height: 2rem;
background: transparent;
cursor: grab;
user-select: none;
}
.slider-wrapper:active {
cursor: grabbing;
}
.slider-track {
position: absolute;
top: 50%;
left: 0;
right: 0;
height: 0.5rem;
background: #18181b;
border-radius: 0.25rem;
transform: translateY(-50%);
border: 1px solid #27272a;
}
.slider-track {
position: absolute;
top: 50%;
left: 0;
right: 0;
height: 8px;
background: rgba(59, 130, 246, 0.1);
border: 1px solid rgba(59, 130, 246, 0.2);
border-radius: 9999px;
transform: translateY(-50%);
}
.slider-fill {
position: absolute;
top: 0;
left: 0;
height: 100%;
background: linear-gradient(135deg, #f97316, #ea580c);
border-radius: 0.25rem;
transition: none;
border: 1px solid #27272a;
}
.slider-fill {
position: absolute;
top: 0;
left: 0;
height: 100%;
background: linear-gradient(90deg, #3B82F6 0%, #60A5FA 100%);
border-radius: 9999px;
transition: width 0.2s ease;
width: 18.75%;
}
.slider-thumb {
position: absolute;
top: 50%;
width: 1.3rem;
height: 1.3rem;
background: #ea580c;
border-radius: 50%;
transform: translate(-50%, -50%);
cursor: grab;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
transition: none;
border: ridge;
border-width: thin;
}
.slider-thumb:active {
cursor: grabbing;
}
.slider-thumb {
position: absolute;
top: 50%;
width: 20px;
height: 20px;
background: #3B82F6;
border: 2px solid #60A5FA;
border-radius: 50%;
box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
transform: translate(-50%, -50%);
transition: all 0.2s ease;
cursor: pointer;
left: 18.75%;
}
.slider-thumb:hover {
background: #60A5FA;
transform: translate(-50%, -50%) scale(1.1);
}
.slider-thumb:active {
transform: translate(-50%, -50%) scale(0.9);
}
.slider-value {
width: 4rem;
padding: 0.5rem;
padding-left: 0 !important;
text-align: center;
background-color: #3f3f46;
border: 1px solid #52525b;
border-radius: 0.375rem;
color: #ffffff;
font-size: 1rem;
font-weight: 600;
margin: 0.5rem 0;
cursor: pointer;
transition: all 0.2s ease;
font-family: inherit;
}
.slider-value:hover {
border-color: rgba(251, 146, 60, 0.5);
background-color: rgba(63, 63, 70, 0.9);
}
.slider-value:focus {
outline: none;
border-color: #fb923c;
box-shadow: 0 0 0 2px rgba(251, 146, 60, 0.2);
background-color: rgba(63, 63, 70, 1);
}
.activity-section h3 {
font-size: 1.125rem;
font-weight: 600;
margin-bottom: 1rem;
color: #ffffff;
text-align: left;
}
.activity-buttons {
display: grid;
gap: 0.75rem;
}
.activity-item {
position: relative;
background: transparent;
}
.activity-btn-wrapper {
position: relative;
display: flex;
align-items: flex-start;
}
.activity-btn {
align-items: center;
width: 100%;
padding: 1rem;
background: rgba(24, 24, 27, 0.8);
border: 1px solid rgba(82, 82, 91, 1);
border-radius: 0.5rem;
color: #ffffff;
text-align: left;
cursor: pointer;
transition: all 0.2s ease;
}
.activity-btn:hover {
background: rgba(63, 63, 70, 0.8);
border-color: rgba(251, 146, 60, 0.5);
}
.activity-btn.active {
background: rgba(251, 146, 60, 0.2);
border-color: #fb923c;
color: #fb923c;
}
.activity-btn {
transition: all 0.2s ease, border-radius 0.3s ease;
}
.activity-btn.active {
background: rgba(251, 146, 60, 0.2);
border-color: #fb923c;
}
.info-btn {
position: absolute;
top: 8px;
right: 8px;
background: #ff8c0000;
border: 1px solid #9ca3af;
border-radius: 50%;
width: 1.2rem;
height: 1.2rem;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.2s ease;
z-index: 2;
color: #9ca3af;
font-size: 12px;
font-weight: bold;
}
.info-btn:hover {
background: rgba(255, 140, 0, 0.2);
border-color: rgba(255, 140, 0, 0.5);
transform: scale(1.1);
}
.activity-item:has(.activity-examples.show) .info-btn {
background: rgba(255, 140, 0, 0.2);
border-color: rgba(255, 140, 0, 0.5);
transform: scale(1.1);
color: #ff8c00;
}
.activity-examples {
overflow: hidden;
max-height: 0;
transition: all 0.3s ease-out;
background: rgba(39, 39, 42, 0.9);
border-top: none;
border-radius: 0 0 0.5rem 0.5rem;
margin-top: -1px;
}
.activity-examples.show {
max-height: 300px;
padding: 1rem;
border: 1px solid rgba(82, 82, 91, 0.5);
}
.examples-content {
text-align: left;
padding: 0;
}
.activity-examples h5 {
color: #ff8c00;
font-size: 0.875rem;
font-weight: 600;
}
.activity-examples ul {
list-style: none;
padding: 0;
margin: 0;
}
.activity-examples li {
color: #d1d5db;
font-size: 0.8rem;
padding: 0.25rem 0;
line-height: 1.4;
}
.activity-examples li:last-child {
border-bottom: none;
}
.activity-item.expanded .activity-btn {
border-radius: 0.5rem 0.5rem 0 0;
border-bottom-color: rgba(251, 146, 60, 0.3);
}
.activity-item {
transition: all 0.3s ease;
}
.activity-btn h4 {
font-size: 0.875rem;
font-weight: 600;
margin: 0;
margin-bottom: 0.25rem;
}
.activity-btn p {
font-size: 0.75rem;
margin: 0;
opacity: 0.8;
}
.gender-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 1rem;
margin-bottom: 1.5rem;
}
.gender-button {
padding: 1rem;
background: rgba(24, 24, 27, 0.8);
border: 1px solid rgba(82, 82, 91, 1);
border-radius: 0.5rem;
color: #ffffff;
text-align: center;
cursor: pointer;
font-size: 1rem;
font-weight: 500;
transition: all 0.2s ease;
}
.gender-button:hover {
background: rgba(63, 63, 70, 0.8);
border-color: rgba(251, 146, 60, 0.5);
}
.gender-button.active {
background: rgba(251, 146, 60, 0.2);
border-color: #fb923c;
color: #fb923c;
font-weight: 600;
}
@media (min-width: 640px) {
.form-grid {
grid-template-columns: repeat(2, 1fr);
}
.activity-grid {
grid-template-columns: repeat(3, 1fr);
}
}
.calculator-title {
color: #ff8c00;
}
@media (min-width: 768px) {
.calculator-title {
font-size: 3rem;
color: #ff8c00;
}
.activity-grid {
grid-template-columns: repeat(4, 1fr);
}
}
@media (min-width: 1024px) {
.form-grid {
grid-template-columns: repeat(3, 1fr);
}
.calculator-container {
padding: 2rem 0rem;
}
}
@media (max-width: 767px) {
.activity-grid {
grid-template-columns: 1fr;
}
.gender-grid {
grid-template-columns: 1fr;
}
}
.cursor-grab {
cursor: grab;
}
.cursor-grab:active,
.cursor-grabbing {
cursor: grabbing !important;
}
.user-select-none {
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
}
.icon {
width: 1.25rem;
height: 1.25rem;
stroke: currentColor;
fill: none;
stroke-width: 2;
stroke-linecap: round;
stroke-linejoin: round;
}
.text-warm-500 {
color: #ff8c00;
}
.max-w-4xl {
max-width: 56rem;
}
.mx-auto {
margin-left: auto;
margin-right: auto;
}
.faq-section {
margin-top: 2rem;
}
.faq-item {
border: 1px solid #3f3f46;
border-radius: 0.5rem;
overflow: hidden;
margin-bottom: 1rem;
}
.faq-button {
width: 100%;
padding: 1rem;
text-align: left;
background-color: #27272a;
color: #ffffff;
border: none;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
font-size: inherit;
font-family: inherit;
transition: background-color 0.3s ease;
}
.faq-button:hover {
background-color: #3f3f46;
}
.faq-title {
font-size: 1rem;
font-weight: 600;
}
@media (min-width: 640px) {
.faq-title {
font-size: 1.125rem;
}
}
.faq-title {
font-size: 1rem;
font-weight: 600;
color: #ffffff;
}
.faq-icon {
width: 1.25rem;
height: 1.25rem;
transition: transform 0.3s ease;
}
.faq-chevron {
width: 1.25rem;
height: 1.25rem;
fill: none;
stroke: currentColor;
stroke-width: 2;
transition: transform 0.3s ease;
}
.faq-item.active .faq-chevron {
transform: rotate(180deg);
}
.faq-content {
padding: 1rem;
background-color: #18181b;
display: none;
}
.faq-item.active .faq-content {
display: block;
}
.faq-text {
display: flex;
flex-direction: column;
gap: 1rem;
}
.faq-text p {
color: #d1d5db;
}
.faq-formula {
background-color: #27272a;
padding: 1rem;
border-radius: 0.5rem;
}
.formula-title {
font-weight: 600;
margin-bottom: 0.5rem;
color: #ffffff;
}
.formula {
text-align: center;
font-size: 1.125rem;
font-weight: 700;
color: #ff8c00;
}
.faq-container {
margin: 0 auto;
}
.faq-content {
padding: 1rem;
background-color: #18181b;
transition: all 0.3s ease;
opacity: 0;
overflow: hidden;
}
.faq-content[style*="block"] {
opacity: 1;
}
.faq-text {
color: #d1d5db;
}
.faq-text>*+* {
margin-top: 1rem;
}
.faq-highlight {
background-color: #27272a;
padding: 1rem;
border-radius: 0.5rem;
}
.faq-highlight h4 {
font-weight: 600;
margin-bottom: 0.5rem;
color: #ffffff;
}
.faq-highlight ul {
list-style-type: disc;
list-style-position: inside;
color: #d1d5db;
}
.faq-highlight ul>li+li {
margin-top: 0.5rem;
}
.info-container {
margin-top: 4rem;
background: rgba(39, 39, 42, 0.8);
padding: 1.5rem;
border-radius: 0.75rem;
border: 1px solid rgba(63, 63, 70, 0.5);
}
.info-text {
color: #d1d5db;
line-height: 1.6;
margin: 0;
}
.info-title {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 1.125rem;
font-weight: 600;
margin-bottom: 1rem;
color: #ffffff;
}
.info-title {
font-size: 1.25rem;
font-weight: 600;
margin-bottom: 1rem;
color: #ff8c00;
}
.slider-container {
display: flex;
flex-direction: column;
}
.slider {
width: 100%;
height: 8px;
border-radius: 4px;
background: linear-gradient(to right,
#ff8c00 0%,
#ff8c00 37.5%,
#3f3f46 37.5%,
#3f3f46 100%);
outline: none;
-webkit-appearance: none;
appearance: none;
}
.slider::-webkit-slider-thumb {
appearance: none;
width: 20px;
height: 20px;
border-radius: 50%;
background: #ff8c00;
border: 2px solid #ffffff;
cursor: pointer;
box-shadow: 0 2px 8px rgba(255, 140, 0, 0.3);
}
.slider::-moz-range-thumb {
width: 20px;
height: 20px;
border-radius: 50%;
background: #ff8c00;
border: 2px solid #ffffff;
cursor: pointer;
box-shadow: 0 2px 8px rgba(255, 140, 0, 0.3);
}
.slider.bmi-slider {
width: 100%;
height: 8px;
border-radius: 4px;
background: linear-gradient(to right,
#ff8c00 0%,
#ff8c00 37.5%,
#3f3f46 37.5%,
#3f3f46 100%);
outline: none;
-webkit-appearance: none;
appearance: none;
}
.slider.bmi-slider::-webkit-slider-thumb {
appearance: none;
width: 20px;
height: 20px;
border-radius: 50%;
background: #ff8c00;
border: 2px solid #ffffff;
cursor: pointer;
box-shadow: 0 2px 8px rgba(255, 140, 0, 0.3);
}
.slider.bmi-slider::-moz-range-thumb {
width: 20px;
height: 20px;
border-radius: 50%;
background: #ff8c00;
border: 2px solid #ffffff;
cursor: pointer;
box-shadow: 0 2px 8px rgba(255, 140, 0, 0.3);
}
.slider-labels {
display: flex;
justify-content: space-between;
font-size: 0.7rem;
color: #9ca3af;
}
.number-input {
width: 5rem;
padding: 0.5rem;
text-align: center;
background-color: #3f3f46;
border: 1px solid #52525b;
border-radius: 0.375rem;
color: #ffffff;
font-size: inherit;
font-family: inherit;
}
.input-unit {
color: #ff8c00;
font-weight: 700;
}
@media (max-width: 1024px) {
.calculator-section {
max-width: 75vw;
}
}
@media (max-width: 768px) {
.calculator-section {
max-width: unset;
}
.orta {
flex-direction: column;
padding: unset;
}
.calculator-container {
padding: 2rem;
}
}