Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
72 lines
1.1 KiB
CSS
Executable file
72 lines
1.1 KiB
CSS
Executable file
* {
|
|
/**
|
|
By default do not allow any user text selection, only enable
|
|
for certain parts on a per-element/region area
|
|
*/
|
|
-moz-user-select: none;
|
|
}
|
|
|
|
html, body {
|
|
margin: 0;
|
|
padding: 0;
|
|
font-size: 10px;
|
|
background-color: #000;
|
|
overflow: hidden;
|
|
height: 100%;
|
|
}
|
|
|
|
/* for the pick activity */
|
|
#wallpapers {
|
|
overflow: auto;
|
|
height: calc(100% - 5rem);
|
|
}
|
|
|
|
.wallpaper {
|
|
position: relative;
|
|
overflow: hidden;
|
|
float: left;
|
|
width: 33%;
|
|
-moz-margin-end: 0.1rem;
|
|
margin-bottom: 0.1rem;
|
|
}
|
|
|
|
html[dir="rtl"] .wallpaper {
|
|
float: right;
|
|
}
|
|
|
|
#wallpapers .wallpaper:nth-child(3n) {
|
|
-moz-margin-end: 0;
|
|
}
|
|
|
|
/* for the share activity */
|
|
#preview {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow:hidden;
|
|
/*
|
|
* The image positioning code in share.js assumes the preview image
|
|
* is positioned in the upper-left corner
|
|
*/
|
|
direction: ltr;
|
|
}
|
|
|
|
#buttons {
|
|
-moz-box-sizing: border-box;
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 7rem;
|
|
padding: 1.5rem 1rem;
|
|
font-size: 0;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
#buttons button {
|
|
width: calc((100% - 2rem) / 2);
|
|
margin: 0 0.5rem;
|
|
}
|
|
|