diff default/static/styles.css @ 129:ca42dc037bbf

file (discover): new discovery page: the discovery page will show service, own devices and roster contact devices offering file sharing. An extra field allow to enter free jid. Added a small message in photo/discover.html has photo album discovery is not yes implemented. New block and images macros.
author Goffi <goffi@goffi.org>
date Sat, 24 Mar 2018 11:16:14 +0100
parents 4f27ce980ced
children 0a0d9a953d98
line wrap: on
line diff
--- a/default/static/styles.css	Sat Mar 24 11:14:14 2018 +0100
+++ b/default/static/styles.css	Sat Mar 24 11:16:14 2018 +0100
@@ -89,6 +89,56 @@
 	font-style: italic;
 }
 
+/*** blocks ***/
+
+.block_separator {
+    font-size: 1.4em;
+    display: flex;
+}
+
+.block_separator__label {
+    display: inline-block;
+	margin: 0 0.2em;
+}
+
+.block_separator__line {
+	height: 1px;
+	background: #ccc;
+	flex: 1;
+	margin-top: 0.7em;
+}
+
+/*** grids ***/
+
+.grid {
+    list-style: none;
+    display: flex;
+    flex-wrap: wrap;
+}
+
+.grid--center {
+    justify-content: center;
+}
+
+.grid__item>a {
+    text-decoration: none;
+    color: inherit;
+}
+
+.grid__item--medium {
+   width: 170px;
+   padding: 0.2em;
+   text-align: center;
+}
+
+.grid__item--selectable {
+    cursor: pointer;
+}
+
+.grid__item--selectable:hover {
+    background-color: var(--select-bg-color);
+}
+
 /*** icons ***/
 
 .icon--medium {