restyling

This commit is contained in:
Albert Yi
2019-01-23 17:40:58 -08:00
parent 6c332057ac
commit 4fe7f5eff9
7 changed files with 22 additions and 20 deletions

View File

@@ -148,9 +148,9 @@ Post.open_edit_dialog = function() {
});
dialog.parent().mouseout(function(e) {
dialog.parent().css({"opacity": 0.6, "transition": "opacity .2s ease"});
dialog.parent().css({"opacity": 0.6, "transition": "opacity .4s ease"});
}).mouseover(function(e) {
dialog.parent().css({"opacity": 1});
dialog.parent().css({"opacity": 1, "transition": "opacity .2s ease"});
});
$tag_string.css({"resize": "none", "width": "100%"});

View File

@@ -22,6 +22,12 @@ div.ui-dialog {
font-size: 1em;
z-index: 999 !important;
box-shadow: 2px 2px 1px grey;
padding: 0;
.ui-dialog-titlebar {
border-radius: 0;
border: none;
}
ul {
margin-left: 1em;
@@ -52,7 +58,11 @@ div.ui-dialog {
margin: 0;
padding: 0.25em 1em;
background-color: #f6f6f6;
border: 1px solid #c5c5c5;
border-top: 1px solid silver;
border-left: 1px solid silver;
border-bottom: 1px solid darkgrey;
border-right: 1px solid darkgrey;
background: linear-gradient(#f6f6f6, #e5e5e5);
&.sub {
font-size: 90%;
@@ -62,19 +72,11 @@ div.ui-dialog {
font-size: 90%;
padding: 0.25em 0.5em;
}
&.gradient {
background: linear-gradient(#f6f6f6, #e5e5e5);
}
}
.ui-button:hover {
box-shadow: 1px 1px grey;
transform: translateY(-1px);
&.gradient {
background: linear-gradient(#fefefe, #f0f0f0);
}
background: linear-gradient(#fefefe, #f0f0f0);
}
.ui-front {