.container { display: flex; gap: 50px; } .container-newsPreview { margin: auto; width: 50%; padding: 10px; } .container-template { padding: 0.5rem; /* border:2px solid black; */ border-radius: 2px; width: auto; } /* .container-buttons { display: flex; } */ div input { margin-top: 5px; padding: 6px; border-radius: 2px; } #lnews { padding: 0px; width: 350px; height: 150px; padding: 5px; /* display: inline-block; */ } form div { padding-bottom: 8px; } input[type=submit] { padding: 10px 50px; background: #4959ee; color: white; border: none; border-radius: 4px; cursor: pointer; /* padding-left: 20px; */ } input[type=submit]:hover { background: #2b3cd3; } .container-dates { display: flex; gap: 20px; } /* Customize the label (the container) */ .container-checkbox { display: block; position: relative; margin-top: 4px; padding-left: 35px; margin-bottom: 12px; cursor: pointer; font-size: 22px; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; padding-bottom: 10px; } /* Hide the browser's default checkbox */ .container-checkbox input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; } /* Create a custom checkbox */ .checkmark { position: absolute; top: 0; left: 0; height: 25px; width: 25px; border-radius: 1px; background-color: rgb(197, 196, 196); } /* On mouse-over, add a grey background color */ .container-checkbox:hover input ~ .checkmark { background-color: rgb(133, 133, 133); } /* When the checkbox is checked, add a blue background */ .container-checkbox input:checked ~ .checkmark { background-color: #2196F3; } /* Create the checkmark/indicator (hidden when not checked) */ .checkmark:after { content: ""; position: absolute; display: none; } /* Show the checkmark when checked */ .container-checkbox input:checked ~ .checkmark:after { display: block; } /* Style the checkmark/indicator */ .container-checkbox .checkmark:after { left: 9px; top: 5px; width: 5px; height: 10px; border: solid white; border-width: 0 3px 3px 0; -webkit-transform: rotate(45deg); -ms-transform: rotate(45deg); transform: rotate(45deg); } .tooltip { position: relative; display: inline-block; cursor: pointer; padding-bottom: 0; /* border-bottom: 1px dotted black; */ } .tooltip .tooltiptext { visibility: hidden; width: 120px; background-color: rgb(207, 207, 207); color: #fff; text-align: center; border-radius: 3px; padding: 5px; /* padding: 5px 0; */ font-size: 12px; /* Position the tooltip */ position: absolute; z-index: 1; bottom: 100%; left: 50%; margin-left: -60px; } .tooltip:hover .tooltiptext { visibility: visible; } .text-options img { cursor: pointer; } .text-options { padding: 0; } .info-message { display: none; animation: fadeInAnimation ease 1s; position: fixed; bottom: 15px; right: 15px; padding: 15px; padding-left: 80px; padding-right: 80px; color: white; background-color: #01b101bb; border-radius: 3px; } .error-message { display: none; animation: fadeInAnimation ease 1s; position: fixed; bottom: 15px; right: 15px; padding: 15px; padding-left: 80px; padding-right: 80px; color: white; background-color: #b10101bb; border-radius: 3px; } @keyframes fadeInAnimation { 0% { opacity: 0; bottom: -45px } 100% { opacity: 1; bottom: 15px; } } @keyframes fadeOutAnimation { 0% { opacity: 1; bottom: 15px } 100% { opacity: 1; bottom: -60px; display: none; } } .preview { padding-right: 30%; text-align: right; margin-left: auto; margin-right: 0; }