diff --git a/public/css/main.css b/public/css/main.css index 047bbd6..bc7f9a8 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -85,3 +85,40 @@ Feedback field border-bottom-style: off; } + +#feedbackoverlay{ + width: 100%; + height: 100%; + background-color: rgba(0, 0, 0, 0.8); + line-height: 30px; + text-align: center; + position: fixed; + top: 0; + z-index:9999; + color: black; + display:none; +} + +#feedbackform{ + position: relative; + text-align: center; + top:200px; + background:rgba(0, 0, 0, 0.4); + width: 550px; + height: 225px; + color: white; + padding-top: 10px; + padding-right: 10px; + padding-left: 10px; + margin: 0 auto; +} + +#closeform{ + position: absolute; + right:8px; + top:3px; + cursor:pointer; + font-weight: bold; + font-size: 105% +} + diff --git a/src/components/Feedbackfield.js b/src/components/Feedbackfield.js index f8f499e..a49d4d9 100644 --- a/src/components/Feedbackfield.js +++ b/src/components/Feedbackfield.js @@ -2,19 +2,50 @@ import React from 'react' //import PropTypes from 'prop-types' var Feedbackfield = ({selected, onClick}) => ( -
+