rfellows commented on a change in pull request #3606: [WIP] Nifi 6282
URL: https://github.com/apache/nifi/pull/3606#discussion_r309298424
 
 

 ##########
 File path: 
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/new-parameter-context-dialog.css
 ##########
 @@ -0,0 +1,92 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/*
+    Parameter context dialog
+ */
+
+#parameter-context-dialog {
+    width: 850px;
+    height: 575px;
+}
+
+#parameter-context-dialog div.settings-left {
+    float: left;
+    width: 65%;
+}
+
+#parameter-context-dialog div.settings-right {
+    float: left;
+    width: 33%;
+    height: 100%;
+    position: absolute;
+    left: calc(65% - -15px);
+}
+
+#parameter-table {
+    height: 370px;
+}
+
+#add-parameter {
+    float: right;
+    margin-bottom: 4px;
+    font-size: 16px;
+    text-transform: uppercase;
+}
+
+#parameter-context-update-steps li {
+    width: 300px;
+    margin-bottom: 2px;
+}
+
+#parameter-value-field {
+    height: 54px;
+}
+
+#parameter-description-field {
+    height: 85px;
+}
+
+#parameter-context-description-field {
+    height: 85px;
+}
+
+#parameter-referencing-components-container {
+    position: absolute;
+    bottom: 10px;
+    top: 75px;
+    width: calc(100% - 5px);
+    overflow: auto;
+    border: 0 solid #CCCCCC;
+    overflow: auto;
+    padding: 2px;
+}
+
+.referencing-components-template {
+    position: relative;
+    left: 15px;
+    width: calc(100% - 15px);
+}
+
+/*
+    Parameter creation/configuration dialog
+ */
+
+#parameter-dialog {
+    width: 470px;
+    height: 470px;
+}
 
 Review comment:
   The parameter context dialog has some unnecessary scrollbars displayed. This 
is due to a `padding-top: 10px` added via `jquery.tabbs.css`. We can eliminate 
the issue by accounting for that space when setting the bottom of these tab 
containers:
   ```
   #parameter-context-standard-settings-tab-content,
   #parameter-context-parameters-tab-content {
       bottom: 10px;
   }
   ```
   
   Or you could set the padding-top to 0 and use margin-top: 10px. That would 
work too.
   
   ![Screen Shot 2019-07-31 at 11 53 22 
AM](https://user-images.githubusercontent.com/713866/62227401-db246e00-b389-11e9-8b27-94cdfce37b12.png)
   
   ![Screen Shot 2019-07-31 at 11 54 18 
AM](https://user-images.githubusercontent.com/713866/62227448-f3948880-b389-11e9-8eb9-415f314cf282.png)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to