google_forms/assets/css/styles.css

272 lines
4.6 KiB
CSS
Raw Normal View History

2024-07-10 12:37:36 +00:00
body {
2024-08-09 12:04:48 +00:00
background-color: rgb(240, 235, 248);
font-family: Arial, sans-serif;
2024-07-10 12:37:36 +00:00
}
2024-08-09 12:04:48 +00:00
.form-section h2 {
text-align: center;
margin-bottom: 30px;
2024-07-23 12:54:27 +00:00
}
2024-08-09 12:04:48 +00:00
.form-section .question-section {
margin-bottom: 20px;
2024-07-23 12:54:27 +00:00
}
/* Navbar custom styles */
2024-07-10 12:37:36 +00:00
.container {
2024-08-09 12:04:48 +00:00
position: relative;
margin-top: 30px;
}
.form_container_top {
box-sizing: border-box;
margin-top: 10px;
font-family: Arial, Helvetica, sans-serif;
font-size: 13px;
font-weight: 400;
line-height: 100%;
width: 100%;
border: none;
outline: none;
border-bottom: 1px solid #f4f4f9;
color: black;
height: 20px;
}
2024-07-10 12:37:36 +00:00
/* Form header styles */
.form-header {
2024-08-09 12:04:48 +00:00
background-color: white;
padding: 20px;
margin-bottom: 10px;
margin-left: 240px;
border-radius: 10px 10px 0 0;
display: flex;
justify-content: space-between;
align-items: center;
position: relative;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border-top: 10px solid rgb(103, 58, 183);
width: 56%;
2024-07-10 12:37:36 +00:00
}
.form-header h2 {
2024-08-09 12:04:48 +00:00
flex: 1;
text-align: center;
margin: 0;
2024-07-10 12:37:36 +00:00
}
#preview-btn {
2024-08-09 12:04:48 +00:00
margin-right: 10px;
background-color: rgb(103, 58, 183);
border-color: #007bff;
border-radius: 100%;
width: 33px;
height: 33px;
display: flex;
justify-content: center;
align-items: center;
2024-07-10 12:37:36 +00:00
}
#preview-btn i {
2024-08-09 12:04:48 +00:00
margin-right: 0;
font-size: 1.5em;
2024-07-10 12:37:36 +00:00
}
#add-section-btn {
2024-08-09 12:04:48 +00:00
position: absolute;
left: -60px;
top: 24px;
z-index: 1000;
border-radius: 50%;
background-color: rgb(103, 58, 183);
2024-07-10 12:37:36 +00:00
}
.form-section {
2024-08-09 12:04:48 +00:00
background-color: white;
width: 56%;
margin-bottom: 30px;
margin-left: 240px;
padding: 20px;
position: relative;
align-items: center;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.3s;
2024-07-10 12:37:36 +00:00
}
.form-section.active {
2024-08-09 12:04:48 +00:00
border-left: 6px solid rgb(66, 133, 244);
transform: scale(1.02);
2024-07-10 12:37:36 +00:00
}
.header-row {
2024-08-09 12:04:48 +00:00
display: flex;
align-items: baseline;
position: relative;
2024-07-10 12:37:36 +00:00
}
.untitled-question {
2024-08-09 12:04:48 +00:00
flex: 1;
margin-right: 10px;
width: calc(100% - 230px);
2024-07-10 12:37:36 +00:00
}
.custom-select {
2024-08-09 12:04:48 +00:00
width: 220px;
height: 39px;
display: block;
padding: -20px 15px;
font-size: 15px;
line-height: 1.42857143;
background-color: #ffffff;
background-image: none;
border: 1px solid #dce4ec;
border-radius: 4px;
2024-07-10 12:37:36 +00:00
}
.delete-section-icon {
2024-08-09 12:04:48 +00:00
flex: 0.1;
cursor: pointer;
color: grey;
font-size: 1.1em;
margin-left: 10px;
2024-07-10 12:37:36 +00:00
}
.options-container {
2024-08-09 12:04:48 +00:00
margin-top: 20px;
2024-07-10 12:37:36 +00:00
}
.options-container select {
2024-08-09 12:04:48 +00:00
list-style-type: none;
2024-07-10 12:37:36 +00:00
}
.form-section textarea {
2024-08-09 12:04:48 +00:00
margin-top: 20px;
2024-07-10 12:37:36 +00:00
}
.option {
2024-08-09 12:04:48 +00:00
display: flex;
align-items: center;
margin-bottom: 5px;
2024-07-10 12:37:36 +00:00
}
2024-08-09 12:04:48 +00:00
.option input[type='radio'],
.option input[type='checkbox'] {
margin-right: 10px;
2024-07-10 12:37:36 +00:00
}
.option .delete-option-icon {
2024-08-09 12:04:48 +00:00
margin-left: 10px;
cursor: pointer;
color: grey;
font-size: 1.5em;
2024-07-10 12:37:36 +00:00
}
.option-label {
2024-08-09 12:04:48 +00:00
width: 42%;
text-align: left;
2024-07-10 12:37:36 +00:00
}
.add-option-btn {
2024-08-09 12:04:48 +00:00
background-color: rgb(66, 133, 244);
/* color: rgb(66, 133, 244); */
margin-top: 11px;
font-size: 0.8em;
2024-07-10 12:37:36 +00:00
}
.ui-state-highlight {
2024-08-09 12:04:48 +00:00
background-color: transparent !important;
border: none !important;
margin-bottom: 10px;
border-radius: 10px;
width: 56%;
margin-left: 240px;
2024-07-10 12:37:36 +00:00
}
2024-07-24 13:12:00 +00:00
2024-07-10 12:37:36 +00:00
.toggle-switch {
2024-08-09 12:04:48 +00:00
position: relative;
display: inline-block;
width: 34px;
height: 20px;
margin-left: 10px;
2024-07-10 12:37:36 +00:00
}
.toggle-switch input {
2024-08-09 12:04:48 +00:00
opacity: 0;
width: 0;
height: 0;
2024-07-10 12:37:36 +00:00
}
.slider {
2024-08-09 12:04:48 +00:00
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
transition: 0.4s;
border-radius: 34px;
2024-07-10 12:37:36 +00:00
}
.slider:before {
2024-08-09 12:04:48 +00:00
position: absolute;
content: '';
height: 14px;
width: 14px;
left: 3px;
bottom: 3px;
background-color: white;
transition: 0.4s;
border-radius: 50%;
2024-07-10 12:37:36 +00:00
}
input:checked + .slider {
2024-08-09 12:04:48 +00:00
background-color: rgb(103, 58, 183);
2024-07-10 12:37:36 +00:00
}
input:checked + .slider:before {
2024-08-09 12:04:48 +00:00
transform: translateX(14px);
2024-07-10 12:37:36 +00:00
}
2024-08-09 12:04:48 +00:00
.body_header_bg {
background-color: rgb(240, 235, 248);
2024-07-22 09:49:37 +00:00
}
table a:not(.btn) {
2024-08-09 12:04:48 +00:00
color: blue !important;
2024-07-22 09:49:37 +00:00
}
table a:not(.btn):hover {
2024-08-09 12:04:48 +00:00
color: darkblue !important;
2024-07-22 09:49:37 +00:00
}
2024-07-22 12:39:47 +00:00
/* .btn-success {
color: #ffffff;
background-color: rgb(103, 58, 183);
border-color: rgb(103, 58, 183);
} */
2024-07-23 12:54:27 +00:00
.btn-custom {
2024-08-09 12:04:48 +00:00
margin-top: 20px;
position: relative;
left: 240px;
background-color: rgb(103, 58, 183);
border-color: rgb(103, 58, 183);
color: white;
2024-07-23 12:54:27 +00:00
}
2024-07-22 12:39:47 +00:00
2024-07-23 12:54:27 +00:00
/* Assuming you have a stylesheet named styles.css */
.btn.btn-primary.btn-block {
2024-08-09 12:04:48 +00:00
margin-top: 20px;
position: relative;
background-color: rgb(103, 58, 183);
border-color: rgb(103, 58, 183);
color: white;
2024-07-23 12:54:27 +00:00
}
2024-07-25 12:54:05 +00:00
.flash-message {
2024-08-09 12:04:48 +00:00
opacity: 1;
transition: opacity 1s ease-out;
position: relative;
margin-bottom: 15px;
2024-07-25 12:54:05 +00:00
}
.error-message {
2024-08-09 12:04:48 +00:00
color: red;
font-size: 0.875em;
margin-top: 5px;
display: none;
2024-07-25 12:54:05 +00:00
}