mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-13 21:24:00 +00:00
60 lines
816 B
CSS
60 lines
816 B
CSS
/*
|
|
** nativize.css
|
|
** Makes the UI feel more native
|
|
*/
|
|
|
|
html {
|
|
font-family: sans-serif;
|
|
-webkit-user-select: none; /* disable selection */
|
|
-webkit-user-drag: none; /* disable dragging */
|
|
cursor: default; /* use default cursor */
|
|
}
|
|
|
|
body {
|
|
margin: 0; /* remove default margin */
|
|
}
|
|
|
|
|
|
/* enable text selection */
|
|
|
|
.is-selectable,
|
|
pre,
|
|
code {
|
|
-webkit-user-select: auto;
|
|
cursor: auto;
|
|
}
|
|
|
|
|
|
/* Buttons and links */
|
|
|
|
button{
|
|
cursor: default;
|
|
}
|
|
|
|
/* Internal links */
|
|
a {
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
border-bottom: 1px dashed;
|
|
outline: none;
|
|
}
|
|
|
|
/* New window (target) + external links */
|
|
a[target],
|
|
a[href^="https://"],
|
|
a[href^="http://"] {
|
|
border-bottom: 1px solid;
|
|
}
|
|
|
|
a:hover,
|
|
a:focus {
|
|
border-bottom: none;
|
|
}
|
|
|
|
|
|
/* Images */
|
|
|
|
img {
|
|
-webkit-user-drag: none; /* disable dragging */
|
|
}
|