You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by dk...@apache.org on 2018/01/14 14:41:20 UTC

[sling-org-apache-sling-launchpad-content] branch master updated: Adding a form stylesheet

This is an automated email from the ASF dual-hosted git repository.

dklco pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-launchpad-content.git


The following commit(s) were added to refs/heads/master by this push:
     new 33d7938  Adding a form stylesheet
33d7938 is described below

commit 33d7938065dcc1adcf6098d298f8013e467a14c1
Author: Dan Klco <da...@gmail.com>
AuthorDate: Sun Jan 14 09:25:34 2018 -0500

    Adding a form stylesheet
---
 .../etc/clientlibs/launchpad/dist/css/form.css     | 17 ++++++++
 .../etc/clientlibs/launchpad/src/scss/form.scss    | 51 ++++++++++++++++++++++
 2 files changed, 68 insertions(+)

diff --git a/src/main/resources/content/etc/clientlibs/launchpad/dist/css/form.css b/src/main/resources/content/etc/clientlibs/launchpad/dist/css/form.css
new file mode 100755
index 0000000..f7fdad7
--- /dev/null
+++ b/src/main/resources/content/etc/clientlibs/launchpad/dist/css/form.css
@@ -0,0 +1,17 @@
+/*
+ * 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.
+ */
+button,input[type=submit],input[type=reset],input[type=button]{display:inline-block;padding:8px 12px;color:#fff;background-color:#00678c;border:0}button:hover,input[type=submit]:hover,input[type=reset]:hover,input[type=button]:hover{background-color:gray}input,select,textarea{border:1px solid gray;box-shadow:inset 0 .5px .5px gray;border-radius:1px;vertical-align:middle;padding:.5em .6em;margin-bottom:1em;width:40%}.error{color:red}
\ No newline at end of file
diff --git a/src/main/resources/content/etc/clientlibs/launchpad/src/scss/form.scss b/src/main/resources/content/etc/clientlibs/launchpad/src/scss/form.scss
new file mode 100755
index 0000000..301e890
--- /dev/null
+++ b/src/main/resources/content/etc/clientlibs/launchpad/src/scss/form.scss
@@ -0,0 +1,51 @@
+/*
+ * 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.
+ */
+
+input[type="submit"],
+input[type="reset"],
+input[type="button"],
+button {
+	display: inline-block;
+	padding: 8px 12px;
+	color: white;
+	background-color: #00678c;
+	border: 0;
+}
+
+
+input[type="submit"]:hover,
+input[type="reset"]:hover,
+input[type="button"]:hover,
+button:hover {
+	background-color: gray;
+}
+
+input,
+select,
+textarea {
+	border: 1px solid gray;
+	box-shadow: inset 0 .5px .5px gray;
+	border-radius: 1px;
+	vertical-align: middle;
+	padding: 0.5em 0.6em;
+	margin-bottom: 1em;
+	width: 40%;
+}
+
+.error {
+	color:red;
+}
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
['"commits@sling.apache.org" <co...@sling.apache.org>'].