Spaces:
Sleeping
Sleeping
File size: 3,183 Bytes
147da27 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 |
body{
background-image:url("../static/Images/Background.jpg");
background-repeat: no-repeat;
background-size: cover;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
header {
display: flex;
align-items: center;
zoom: 130%;
padding: 15px;
}
header img {
/* Original width & height is 70px */
width: 200px;
height: 200px;
margin-left: 300px;
}
header h1 {
margin-left: 50px;
font-size: 40px;
color: rgb(26, 25, 25);
}
main {
display: flex;
justify-content: space-between;
margin-top: 20px;
margin-bottom: 20px;
}
.user-story {
flex-basis: 30%;
margin-left: 50px;
}
.user-story h2 {
margin-bottom: 10px;
}
textarea {
width: 900px;
height: 400px;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
resize: none !important;
margin-bottom: 10px;
}
table {
flex-basis: 60%;
margin-right: 20px;
border: 1px solid #ccc;
border-radius: 5px;
overflow-y: scroll; /* To make the table scrollable */
height: 200px; /* To match text area size */
display: block;
border-collapse: separate; /* Added to separate the border between the headers and the data cells */
border-spacing: 0; /* Added to remove the extra space between the border */
}
#breakdown-table {
width: 900px;
height: 400px;
margin-left: 20px;
}
#breakdown-table th,
#breakdown-table td {
border: 1px solid #ddd;
padding: 8px;
text-align: left;
}
#breakdown-table th:first-child {
border-left: none;
}
#breakdown-table th:last-child {
border-right: none;
}
#breakdown-table th:not(:first-child) {
border-left: none;
border-right: none;
}
#breakdown-table th div {
border-bottom: 1px solid #ddd;
padding: 8px;
}
#breakdown-table td div {
padding: 8px;
}
#breakdown-table thead th {
background-color: #f2f2f2;
}
#breakdown-table tbody tr:nth-child(even) {
background-color: #f2f2f2;
}
#breakdown-table tbody tr:hover {
background-color: #ddd;
}
#clear-btn {
background-color: #d3d5d6;
color: rgb(32, 31, 31);
border: 2px;
border-radius: 5px;
padding: 10px;
cursor: pointer;
}
#breakdown-btn {
background-color: #2f3030;
color: white;
border: none;
border-radius: 5px;
padding: 10px;
cursor: pointer;
/* Added these 2 lines to make button appear at btm-right of user story contents.
Not sure if this is the correct way to do it, but it looks alright for me? */
position: absolute;
left: 1750px;
}
.user-story-list {
flex-basis: 60%;
margin-right: 20px;
}
.user-story-list h2 {
margin-bottom: 10px;
}
.scrollable-box {
height: 200px;
overflow-y: auto;
border: 1px solid #ccc;
border-radius: 5px;
resize: none;
}
#user-story-ul {
list-style: none;
padding: 10px;
}
.back-Btn-Container {
display: flex;
justify-content: end;
align-items: end;
padding: 0 20px;
margin-top: 20px;
}
.buttons-container {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 20px;
margin-top: 20px;
}
.back-btn {
background-color: #555;
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 5px;
font-size: 16px;
cursor: pointer;
margin-right: 150px;
width: 110px;
height: 40px;
} |