frontend code refactoring
This commit is contained in:
4
web/src/css/components/Contact.scss
Normal file
4
web/src/css/components/Contact.scss
Normal file
@@ -0,0 +1,4 @@
|
||||
.ContactEmailInput{
|
||||
width: 60%;
|
||||
margin-left: 20px;
|
||||
}
|
||||
18
web/src/css/components/IntentDetails.scss
Normal file
18
web/src/css/components/IntentDetails.scss
Normal file
@@ -0,0 +1,18 @@
|
||||
.QuestionBox{
|
||||
margin:25px;
|
||||
}
|
||||
|
||||
.QuestionTitle{
|
||||
margin-top:20px;
|
||||
margin-left: 30px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.IntentDetailsInputBoxes{
|
||||
width: 60%;
|
||||
}
|
||||
|
||||
.IntentDetailsButton{
|
||||
float: left;
|
||||
margin-left: 25px;
|
||||
}
|
||||
18
web/src/css/components/IntentItem.scss
Normal file
18
web/src/css/components/IntentItem.scss
Normal file
@@ -0,0 +1,18 @@
|
||||
.IntentItem{
|
||||
margin-top: 2px;
|
||||
margin-bottom: 2px;
|
||||
height: 50px;
|
||||
width:100%;
|
||||
text-align:left;
|
||||
background-color: #d8d8d8;
|
||||
}
|
||||
|
||||
.IntentItem-selected{
|
||||
margin-top: 2px;
|
||||
margin-bottom: 2px;
|
||||
height: 50px;
|
||||
width:100%;
|
||||
text-align:left;
|
||||
background-color: #f5f5f5;
|
||||
|
||||
}
|
||||
52
web/src/css/components/IntentList.scss
Normal file
52
web/src/css/components/IntentList.scss
Normal file
@@ -0,0 +1,52 @@
|
||||
$minHeight : calc(100vh - 80px); //80px is height of the title div container
|
||||
|
||||
|
||||
.IntentList{
|
||||
width: 30%;
|
||||
min-height:$minHeight;
|
||||
float:left;
|
||||
background-color: #eff0f0;
|
||||
}
|
||||
|
||||
.IntentList-title{
|
||||
font-size: 1.5em;
|
||||
height: 70px;
|
||||
padding: 20px;
|
||||
text-align:left;
|
||||
background-color: #eff0f0;
|
||||
}
|
||||
|
||||
.AddIntent{
|
||||
float: right;
|
||||
margin: 12px;
|
||||
}
|
||||
|
||||
.LaunchRequestButton{
|
||||
text-align: left;
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
background-color: #d8d8d8
|
||||
}
|
||||
|
||||
.LaunchRequestButton-selected{
|
||||
text-align: left;
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
|
||||
.ContactButton{
|
||||
text-align: left;
|
||||
color: #009b8a;
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
background-color: #d8d8d8
|
||||
}
|
||||
|
||||
.ContactButton-selected{
|
||||
text-align: left;
|
||||
color: #009b8a;
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
11
web/src/css/components/LaunchRequest.scss
Normal file
11
web/src/css/components/LaunchRequest.scss
Normal file
@@ -0,0 +1,11 @@
|
||||
.ExplanationText{
|
||||
float: left;
|
||||
margin-top: 30px;
|
||||
margin-left: 20px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.InvocationInputBoxes{
|
||||
width: 60%;
|
||||
margin-left: 20px;
|
||||
}
|
||||
Reference in New Issue
Block a user