Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: scss/_button-links.scss

Issue 29365594: Issue 4633 - Default form styles (Closed)
Patch Set: Created Nov. 29, 2016, 4:29 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | scss/_forms.scss » ('j') | scss/_forms.scss » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scss/_button-links.scss
===================================================================
new file mode 100644
--- /dev/null
+++ b/scss/_button-links.scss
@@ -0,0 +1,59 @@
+/*!
+ * This file is part of website-defaults
+ * Copyright (C) 2016 Eyeo GmbH
+ *
+ * website-defaults is free software: you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * website-defaults is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with website-defaults. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+/*******************************************************************************
+ * Button links
juliandoucette 2017/01/10 13:40:26 TODO: - change to button.scss (move native button
+ ******************************************************************************/
+
+.button,
+.button:visited
+{
+ display: inline-block;
+ padding: 0em 0.5em;
+ border: 1px solid $primary;
+ color: $primary;
+ background-color: $primary-light;
+ line-height: 2em;
saroyanm 2016/12/06 18:26:53 Detail: I think we decided to use line-heights wit
juliandoucette 2016/12/07 17:31:07 Acknowledged. I will change this.
+ cursor: pointer;
+}
+
+.button:hover,
+.button:active,
+.button:focus
+{
+ border-color: $accent;
+ color: $accent;
+ text-decoration: none;
+}
+
+.submit,
saroyanm 2016/12/06 18:26:53 Weak suggrestion: I think we can move this style t
juliandoucette 2016/12/07 17:31:07 Acknowledged. Some websites may have no forms or
+.submit:visited
+{
+ border-color: $primary;
+ color: $primary-light;
+ background-color: $primary;
+}
+
+.submit:hover,
+.submit:active,
+.submit:focus
+{
+ border-color: $accent;
+ color: $primary-light;
+ background-color: $accent;
+}
« no previous file with comments | « no previous file | scss/_forms.scss » ('j') | scss/_forms.scss » ('J')

Powered by Google App Engine
This is Rietveld