aboutsummaryrefslogtreecommitdiff
path: root/web/public/stylesheets/style.css
diff options
context:
space:
mode:
authorSamarth Agarwal <samarth.agarwal@mail.utoronto.ca>2019-03-08 18:56:38 +0000
committerSamarth Agarwal <samarth.agarwal@mail.utoronto.ca>2019-03-08 18:56:38 +0000
commit6693b77761373a269c6d797ecb6a8eedec946e9a (patch)
tree64e141099ea63d8ecb3e0f7acdd4a161a04efa02 /web/public/stylesheets/style.css
parent2b7c39ed65c6652c24f1f5140214bae7f3438960 (diff)
Modified Details sidebar so that the close button always stays at the bottom of the box and doesn't overlap any text.
Diffstat (limited to 'web/public/stylesheets/style.css')
-rw-r--r--web/public/stylesheets/style.css39
1 files changed, 28 insertions, 11 deletions
diff --git a/web/public/stylesheets/style.css b/web/public/stylesheets/style.css
index 06609c2..85d3f10 100644
--- a/web/public/stylesheets/style.css
+++ b/web/public/stylesheets/style.css
@@ -21,31 +21,48 @@ a {
left: 5px;
z-index: 2;
width: 350px;
- height: 250px;
- max-height: 250px;
- overflow: auto;
- position: relative;
+ height: 275px;
+ max-height: 275px;
+/* overflow: auto;
+*/ position: relative;
float: left;
background-color: lightgrey;
border-radius: 10px;
visibility: hidden;
}
+#details-header {
+ text-align: center;
+ margin-top: 10px;
+ margin-bottom: 10px;
+}
+#point-container {
+ overflow: auto;
+ max-height: 195px;
+}
#point {
background-color: #0CC5EA;
width: 90%;
margin-left: auto;
margin-right: auto;
+ margin-bottom: 5px;
padding: 5px;
border-radius: 10px;
}
+#close-btn-container {
+ position: fixed;
+ height: 30px;
+ top: 250px;
+ background-color: lightgrey;
+ width: 350px;
+ border-bottom-left-radius: 10px;
+ border-bottom-right-radius: 10px;
+}
#close-btn {
background-color: red;
- position: absolute;
- right: 5px;
- bottom: 5px;
+ position: relative;
+ margin-top: 4px;
+ float: right;
+ margin-right: 20px;
border-radius: 10px;
width: 100px;
-}
-h1 {
- text-align: center;
-}
+} \ No newline at end of file