Commit 9f600d0a by Scott

SnowFlat: reduce CSS duplication some more

parent 826f169d
......@@ -350,19 +350,14 @@ blockquote p {
text-indent: -9999px;
border: none;
outline: none;
-webkit-transition-property: background-image;
transition-property: background-image;
-webkit-transition-duration: 0.5s;
transition-duration: 0.5s;
-webkit-transition: background-image 0.5s;
transition: background-image 0.5s;
}
.qa-notice-close-button:hover, .qa-notice-close-button:focus {
background-color: transparent; /* override generic input styles */
background-image: url('images/icons/close-red.png');
outline: none;
border: none;
-webkit-transition-property: background-image;
transition-property: background-image;
-webkit-transition-duration: 0.15s;
transition-duration: 0.15s;
}
/*------[ main nav css ]------*/
......@@ -1017,18 +1012,12 @@ h1 a:hover, h1 a:focus, h1 a:visited {
height: 38px;
margin: 0;
border: none;
-webkit-transition-property: background-position;
transition-property: background-position;
-webkit-transition-duration: 0s;
transition-duration: 0s;
-webkit-transition: background-position 0s;
transition: background-position 0s;
}
.qa-favorite-button:hover, .qa-unfavorite-button:hover {
background-color: #f39c12;
background-position: center -38px;
-webkit-transition-property: background-position;
transition-property: background-position;
-webkit-transition-duration: 0s;
transition-duration: 0s;
}
.qa-favorite-button {
......@@ -1151,10 +1140,8 @@ h1 a:hover, h1 a:focus, h1 a:visited {
padding: 0;
position: absolute;
left: 4px;
-webkit-transition-property: all;
transition-property: all;
-webkit-transition-duration: 0s;
transition-duration: 0s;
-webkit-transition: all 0s;
transition: all 0s;
}
.qa-vote-up-button:hover, .qa-vote-up-button:focus, .qa-vote-up-button:active,.qa-vote-down-button:hover, .qa-vote-down-button:focus, .qa-vote-down-button:active,
.qa-voted-up-button:hover, .qa-voted-up-button:focus, .qa-voted-up-button:active,.qa-voted-down-button:hover, .qa-voted-down-button:focus, .qa-voted-down-button:active,
......@@ -1583,12 +1570,8 @@ h1 a:hover, h1 a:focus, h1 a:visited {
-ms-transform: translate(0, 0);
-webkit-transform: translate(0, 0);
transform: translate(0, 0);
-webkit-transition-property: all;
transition-property: all;
-webkit-transition-duration: 0.5s;
transition-duration: 0.5s;
-webkit-transition-timing-function: ease;
transition-timing-function: ease;
-webkit-transition: all 0.5s ease;
transition: all 0.5s ease;
}
}
.qa-top-users-label .qa-user-link.qa-user-favorited {
......@@ -1806,10 +1789,8 @@ input, textarea, select {
padding: 5px;
margin: 2px 0 15px 0;
border: 1px solid #e6ebed;
-webkit-transition-property: all;
transition-property: all;
-webkit-transition-duration: 0.3s;
transition-duration: 0.3s;
-webkit-transition: all 0.3s;
transition: all 0.3s;
}
input:focus, textarea:focus, select:focus {
background-color: #fff;
......@@ -2566,10 +2547,8 @@ input[type="submit"], button {
background-image: url('images/answer-select.png');
background-repeat: no-repeat;
background-position: center;
-webkit-transition-property: all;
transition-property: all;
-webkit-transition-duration: 0.5s;
transition-duration: 0.5s;
-webkit-transition: all 0.5s;
transition: all 0.5s;
}
.qa-a-select-button {
......@@ -2757,7 +2736,7 @@ input[type="submit"], button {
font-size: 24px;
background: #9b59b6;
cursor: pointer;
transition: all ease 0.15s;
transition: all 0.15s ease;
color: #95a5a6;
opacity: 0.5;
z-index: 999;
......@@ -2784,7 +2763,7 @@ input[type="submit"], button {
.stick {
top: 10px !important;
transition: all ease 0.15s;
transition: all 0.15s ease;
}
@media (max-width: 767px) {
......@@ -2797,12 +2776,12 @@ input[type="submit"], button {
width: 250px;
overflow-y: auto;
z-index: 99999;
transition: all ease 0.15s;
transition: all 0.15s ease;
box-shadow: 0 0 0 0 transparent;
}
#qam-sidepanel-mobile.open {
right: 0 !important;
transition: all ease 0.15s;
transition: all 0.15s ease;
box-shadow: -5px 0 15px 0 rgba(0, 0, 0, 0.5);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment