CodeIgniter_Gforms/assets/css/style.css

344 lines
6.3 KiB
CSS
Raw Normal View History

2024-07-11 13:04:55 +00:00
/* all the styling below*/
@font-face {
font-family: 'Roboto';
src: url('../fonts/Roboto/Roboto-Regular.ttf') format('truetype');
/* Add more src lines for other weights and styles (e.g., Bold, Italic) */
font-weight: normal; /* Adjust weight as needed */
font-style: normal; /* Adjust style as needed */
}
2024-07-11 13:04:55 +00:00
.page_layout{
background-color: #f0ebf8;
height: 100%;
padding-bottom: 30px;
width: 100%;
font-family: 'Roboto';
2024-07-11 13:04:55 +00:00
display: flex;
flex-direction: column;
height: 100vh; /* Adjust 60px according to the height of your .form_header */
overflow-y: auto; /* Add scrollbars if content overflows vertically */
}
.section{
margin: 0 auto;
display: flex;
2024-07-18 10:49:23 +00:00
align-items: center;
2024-07-11 13:04:55 +00:00
}
.form_container{
display:flex;
flex-direction: column;
2024-07-18 10:49:23 +00:00
width: 800px;
2024-07-11 13:04:55 +00:00
}
2024-07-18 10:49:23 +00:00
.form_container-response{
display:flex;
flex-direction: column;
width: 640px;
}
2024-07-11 13:04:55 +00:00
.form_container_top{
background-color: #fff;
border-top: 8px solid rgb(103, 58, 183);
border-radius: 8px;
padding: 30px 25px;
text-transform: capitalize;
box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
2024-07-11 13:04:55 +00:00
}
.form_container_top_title{
box-sizing: border-box;
2024-07-18 10:49:23 +00:00
font-family: 'Roboto', Helvetica, sans-serif;
2024-07-11 13:04:55 +00:00
font-size: 32px;
2024-07-18 10:49:23 +00:00
font-weight: 350;
2024-07-11 13:04:55 +00:00
line-height: 135%;
width: 100%;
border: none;
outline: none;
border-bottom: 1px solid #f4f4f9;
color: black;
height: 35px;
2024-07-18 10:49:23 +00:00
margin-bottom: 20px;
2024-07-11 13:04:55 +00:00
}
.form_container_top_desc{
box-sizing: border-box;
margin-top: 10px;
2024-07-18 10:49:23 +00:00
font-family: 'Roboto', Helvetica, sans-serif;
font-size: 11pt;
2024-07-11 13:04:55 +00:00
font-weight: 400;
line-height: 100%;
width: 100%;
border: none;
outline: none;
border-bottom: 1px solid #f4f4f9;
color: black;
height: 20px;
}
.question-box{
background-color: #fff;
padding: 30px 25px;
border-radius: 8px;
2024-07-12 09:55:29 +00:00
margin-top: 10px;
margin-bottom: 10px;
font-family: 'Roboto';
box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
2024-07-18 10:49:23 +00:00
2024-07-11 13:04:55 +00:00
}
.question_container{
width: 100%;
}
.question-box_header_question{
font-family: 'Roboto';
font-weight: 400;
font-size: 12pt;
line-height: 1.5;
letter-spacing: 0;
width: 424px;
height: 50px;
padding: 16px;
box-sizing: border-box;
border: none; /* Remove default border */
outline: none; /* Remove default focus outline */
}
.question-box_header_question:hover {
background-color: #f0f0f0;
}
.question-box_header{
display: flex;
justify-content: space-between;
}
.question-box_header_question-type {
background-color: #fff;
border: 1px solid #ccc;
border-radius: 5px; /* Rounded corners */
font-family: 'Roboto';
width: 220px;
box-sizing: border-box;
}
.question-box_header_question-type_select{
border: none;
margin-top: 12px;
margin-left:48px;
background-color: white;
outline: none;
}
.question-box_header-style{
display:flex;
gap: 10px;
margin-top: 5px;;
}
.question-box_header-style button{
border:none;
background-color: white;
}
.question-box_option-block{
display: flex;
width:auto;
gap: 5px;
}
.question-box_option-block_option-text{
font-family: 'Roboto';
font-weight: 400;
font-size: 11pt;
width: 540px;
border: none;
outline: none;
border-bottom: 2px solid purple;
}
.question-box_option-block_option-close{
border: none;
background-color: white;
outline: none;
}
.question-box_add-option button{
border: none;
background-color: white;
font-size: 11pt;
outline: none;
}
.question-box_footer{
margin-top: 30px;
display: flex;
justify-content: flex-end;
gap: 20px;
padding-right: 40px;
border-top: 1px solid rgb(156, 155, 155);
padding-top: 30px;
}
.question-box_footer button{
background-color: white;
border:none;
}
2024-07-18 10:49:23 +00:00
.question-box_short-answer{
display:flex;
}
2024-07-11 13:04:55 +00:00
.question-box_short-answer_placeholder {
border-bottom: 1px dotted #000;
width: 100%;
padding-bottom: 5px;
color: #999;
font-style: italic;
2024-07-18 10:49:23 +00:00
margin-left: 13px;
2024-07-11 13:04:55 +00:00
}
2024-07-14 21:04:04 +00:00
table {
width: 100%;
border-collapse: collapse;
}
th, td {
padding: 8px 12px;
border: 1px solid #ddd;
}
th {
background-color: #f4f4f4;
}
tr:nth-child(even) {
background-color: #f9f9f9;
}
2024-07-18 10:49:23 +00:00
.response-submit{
color: #fff;
background-color: #7349bd;
font-family:'Roboto';
font-weight: 500;
padding: 10px;
border: none;
width: 96px;
border-radius: 5px;
}
.publish-button{
color: #fff;
background-color: #7349bd;
font-family:'Roboto';
font-weight: 500;
padding: 10px;
border: none;
width: 96px;
border-radius: 5px;
text-align: center;
}
.form_container_top_user-details{
box-sizing: border-box;
margin-top: 10px;
font-family: 'Roboto', Helvetica, sans-serif;
font-size: 11pt;
font-weight: 400;
line-height: 100%;
width: 100%;
border: none;
outline: none;
color: gray;
height: 20px;
}
.response-text-area{
width:100%;
margin-left: 10px;
border:none;
outline:none;
}
.response-quesitons{
font-family: 'Roboto';
color:#000;
font-weight: 500;
font-size: 12pt;
line-height: 1.5;
letter-spacing: 0;
width: 424px;
height: 50px;
padding: 16px;
box-sizing: border-box;
border: none; /* Remove default border */
outline: none; /* Remove default focus outline */
}
2024-07-11 13:04:55 +00:00
.sidebar{
background-color: white;
margin-left: 13px;
padding: 10px;
box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
border-radius: 5px;
overflow-y: auto;
}
.submit-button{
color: #fff;
background-color: #7349bd;
font-family:'Roboto';
font-weight: 500;
padding: 10px;
border: none;
width: 96px;
border-radius: 5px;
text-align: center;
margin-left:328px;
margin-top: 10px;
}
2024-07-11 13:04:55 +00:00
.add-question-button{
border:none;
background-color: white;
}
2024-07-11 13:04:55 +00:00
.question-box.active {
border-left: 6px solid #1a73e8;
}
2024-07-19 11:43:09 +00:00
.update-form-button{
color: #fff;
background-color: #7349bd;
font-family:'Roboto';
font-weight: 500;
padding: 10px;
border: none;
width: 96px;
border-radius: 5px;
text-align: center;
margin-left:365px;
margin-top: 10px;
}
2024-07-11 13:04:55 +00:00