UNPKG

aiom

Version:

A Highly Flexible and Modular Framework for Behavioral Experiments

244 lines (229 loc) 5.15 kB
body, html { height: 100%; margin: 0; font-family: Arial, sans-serif; background-color: #eee8d5; /* Light blue-gray, suitable for academic context */ } .container { display: flex; flex-direction: column; height: 100%; justify-content: center; align-items: center; } .question { display: flex; flex-direction: column; font-size: 30px; font-weight: bold; margin-bottom: 100px; color: #2d3748; /* Dark gray for readability */ justify-content: center; align-items: center; text-align: center; } .options-container { display: flex; justify-content: center; align-items: center; } .option { background-color: #ffffff; /* White background for options */ border: 3px solid #4299e1; /* Dark gray border */ border-radius: 10px; padding: 20px; margin: 0 25px; text-align: center; transition: transform 0.3s ease; display: flex; flex-direction: column; align-items: center; justify-content: center; } .option:hover { /* transform: scale(1.05); */ border: 3px solid #8912c0; /* Dark gray border */ } .hidden-option { background: transparent !important; border: none !important; box-shadow: none !important; /* Any other visual styles you want to remove */ } button { margin-top: 15px; padding: 10px 20px; font-size: 16px; background-color: #4299e1; /* Blue, suitable for academic context */ color: white; border: none; border-radius: 5px; cursor: pointer; transition: background-color 0.3s ease; } button:hover { background-color: #8912c0; } #button_left, #button_right { width: 128px; height: 64px; font-size: 20px; background-color: white; border: 3px solid #4299e1; padding: 1px; margin: 0; color: black; } #button_left:hover, #button_right:hover { border: 3px solid #8912c0; cursor: pointer; } #progressBar { position: fixed; bottom: 0; left: 0; height: 15px; width: 0%; background-color: #8912c0; /* Green */ transition: width 0.5s ease; } @keyframes fadeOutUp { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-100px); } } @keyframes fadeInDown { from { opacity: 0; transform: translateY(100px); } to { opacity: 1; transform: translateY(0); } } .fade-out { animation: fadeOutUp 0.5s forwards; } .fade-in { animation: fadeInDown 0.5s forwards; } @keyframes fadeOutRight { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(100px); /* Move to right when fading out */ } } @keyframes fadeInLeft { from { opacity: 0; transform: translateX(-100px); /* Start from left when fading in */ } to { opacity: 1; transform: translateX(0); } } .fade-out-horizontal { animation: fadeOutRight 0.5s forwards; } .fade-in-horizontal { animation: fadeInLeft 0.5s forwards; } /* .visible { visibility: visible; opacity: 1; transition: opacity 2s linear; } .hidden { visibility: hidden; opacity: 0; transition: visibility 0s 2s, opacity 2s linear; } */ #rest, #prior { display: none; /* Hidden by default */ position: fixed; z-index: 1000; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); /* display: flex; */ justify-content: center; align-items: center; } #wait { display: none; /* Hidden by default */ position: fixed; z-index: 1000; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); /* display: flex; */ justify-content: center; align-items: center; } #restContent, #priorContent { background-color: white; padding: 20px; border-radius: 5px; text-align: center; width: 300px; } #waitContent { background-color: white; padding: 20px; border-radius: 5px; text-align: center; width: 300px; } #priorButton { margin-top: 10px; padding: 10px 20px; font-size: 16px; } #continueButton { margin-top: 10px; padding: 10px 20px; font-size: 16px; border: 3px solid #52c41a; } #continueButton:hover { cursor: pointer; border: 3px solid #8912c0; } .gsp-options-container { display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 20px; } .gsp_option { background-color: #ffffff; border: 3px solid #4299e1; border-radius: 10px; padding: 20px; margin: 0 0px; text-align: center; transition: transform 0.3s ease; display: flex; flex-direction: column; align-items: center; } .slider-container { text-align: center; margin-top: 20px; }