Skip to content

Commit

Permalink
Merge pull request ezsystems#140 from ezsystems/ezp-23805_css_prefixes
Browse files Browse the repository at this point in the history
EZP-23805: Cleaned up vendor prefixes
  • Loading branch information
dpobel committed Dec 16, 2014
2 parents 5b5b283 + 3c5f0fb commit cd37d27
Show file tree
Hide file tree
Showing 27 changed files with 50 additions and 359 deletions.
48 changes: 2 additions & 46 deletions Resources/public/css/layout.css
Expand Up @@ -36,14 +36,6 @@
}

/*csslint vendor-prefix: false */
@-moz-keyframes spin {
0% {
-moz-transform: rotate(0deg);
}
100% {
-moz-transform: rotate(359deg);
}
}
@-webkit-keyframes spin {
0% {
-webkit-transform: rotate(0deg);
Expand All @@ -52,14 +44,7 @@
-webkit-transform: rotate(359deg);
}
}
@-o-keyframes spin {
0% {
-o-transform: rotate(0deg);
}
100% {
-o-transform: rotate(359deg);
}
}

@keyframes spin {
0% {
transform: rotate(0deg);
Expand All @@ -78,24 +63,6 @@
}
}

@-moz-keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}

@-o-keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}

@keyframes fadeIn {
0% {
opacity: 0;
Expand All @@ -120,12 +87,7 @@

.ez-platformui-app {
opacity: 0;

-webkit-transition: opacity 0.2s ease, left 0.3s ease;
-moz-transition: opacity 0.2s ease, left 0.3s ease;
-ms-transition: opacity 0.2s ease, left 0.3s ease;
-o-transition: opacity 0.2s ease, left 0.3s ease;
transition: opacity 0.2s ease, left 0.3s ease;
transition: opacity 0.2s ease, left 0.3s ease;
}

.ez-platformui-app p {
Expand Down Expand Up @@ -155,9 +117,6 @@
opacity: 0;

-webkit-transform: translateX(-230px);
-moz-transform: translateX(-230px);
-ms-transform: translateX(-230px);
-o-transform: translateX(-230px);
transform: translateX(-230px);
display: none;
}
Expand Down Expand Up @@ -193,9 +152,6 @@
top: 40%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
-moz-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
-o-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);

width: 2em;
Expand Down
42 changes: 7 additions & 35 deletions Resources/public/css/theme/app.css
Expand Up @@ -58,18 +58,10 @@
line-height: 1.8em;
height: 1.8em;
padding: 0 0.4em;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
-o-box-sizing: border-box;
box-sizing: border-box;
box-sizing: border-box;
border: 1px solid #ccc;
background: #fdfdfd;
-webkit-transition: all 0.30s ease-in-out;
-moz-transition: all 0.30s ease-in-out;
-ms-transition: all 0.30s ease-in-out;
-o-transition: all 0.30s ease-in-out;
transition: all 0.30s ease-in-out;
transition: all 0.30s ease-in-out;
}

.ez-platformui-app textarea {
Expand All @@ -82,11 +74,7 @@
.ez-platformui-app input[type=search]:focus,
.ez-platformui-app input[type=password]:focus,
.ez-platformui-app textarea:focus {
-webkit-box-shadow: inset 0 0 6px #ccc;
-moz-box-shadow: inset 0 0 6px #ccc;
-ms-box-shadow: inset 0 0 6px #ccc;
-o-box-shadow: inset 0 0 6px #ccc;
box-shadow: inset 0 0 6px #ccc;
box-shadow: inset 0 0 6px #ccc;
border: 1px solid #ccc;
outline: none;
background: #fff;
Expand All @@ -103,19 +91,11 @@
box-shadow: none;
background: #FEECEA;
outline: none;
-webkit-box-shadow: inset 0 0 6px #e76;
-moz-box-shadow: inset 0 0 6px #e76;
-ms-box-shadow: inset 0 0 6px #e76;
-o-box-shadow: inset 0 0 6px #e76;
box-shadow: inset 0 0 6px #e76;
box-shadow: inset 0 0 6px #e76;
}

.ez-view-container {
-webkit-transition: opacity 0.2s ease-in-out;
-moz-transition: opacity 0.2s ease-in-out;
-ms-transition: opacity 0.2s ease-in-out;
-o-transition: opacity 0.2s ease-in-out;
transition: opacity 0.2s ease-in-out;
transition: opacity 0.2s ease-in-out;
}

.is-app-loading .ez-view-container {
Expand All @@ -128,8 +108,6 @@

.is-app-loading .ez-view-container:before {
-webkit-animation: spin 0.5s infinite linear;
-moz-animation: spin 0.5s infinite linear;
-o-animation: spin 0.5s infinite linear;
animation: spin 0.5s infinite linear;
box-sizing: border-box;
border-radius: 2em;
Expand All @@ -142,9 +120,7 @@

.ez-platformui-app .ez-inline-loader {
-webkit-animation: spin 0.5s infinite linear;
-moz-animation: spin 0.5s infinite linear;
-o-animation: spin 0.5s infinite linear;
animation: spin 0.5s infinite linear;
animation: spin 0.5s infinite linear;
box-sizing: border-box;
border-radius: 100%;
border-width: 4px;
Expand All @@ -162,9 +138,5 @@
.ez-mainviews,
.ez-menu-container,
.ez-navigation-container {
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-ms-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
transition: all 0.3s ease;
transition: all 0.3s ease;
}
25 changes: 4 additions & 21 deletions Resources/public/css/theme/modules/button.css
Expand Up @@ -6,35 +6,18 @@
.ez-button {
border: 1px solid #bbb;
border-radius: 2px;

-webkit-transition: all 0.2s;
-moz-transition: all 0.2s;
-ms-transition: all 0.2s;
-o-transition: all 0.2s;
transition: all 0.2s;

transition: all 0.2s;
background: #e6e6e6;
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fff), color-stop(100%,#e6e6e6));
background: -webkit-linear-gradient(top, #fff 0%, #e6e6e6 100%);
background: -moz-linear-gradient(top, #fff 0%, #e6e6e6 100%);
background: -ms-linear-gradient(top, #fff 0%, #e6e6e6 100%);
background: -o-linear-gradient(top, #fff 0%, #e6e6e6 100%);
background: linear-gradient(to bottom, #fff 0%, #e6e6e6 100%);
background: linear-gradient(to bottom, #fff 0%, #e6e6e6 100%);
}

.ez-button:hover {
background: #fff;
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e6e6e6), color-stop(100%,#fff));
background: -webkit-linear-gradient(top, #e6e6e6 0%, #fff 100%);
background: -moz-linear-gradient(top, #e6e6e6 0%, #fff 100%);
background: -ms-linear-gradient(top, #e6e6e6 0%, #fff 100%);
background: -o-linear-gradient(top, #e6e6e6 0%, #fff 100%);
background: linear-gradient(to bottom, #e6e6e6 0%, #fff 100%);
background: linear-gradient(to bottom, #e6e6e6 0%, #fff 100%);
}

.ez-button.pure-button-disabled,
.ez-button[disabled]
{
.ez-button[disabled] {
border: 1px solid #bbb;
}

Expand Down
7 changes: 1 addition & 6 deletions Resources/public/css/theme/modules/selection-table.css
Expand Up @@ -6,10 +6,5 @@
.ez-selection-table .is-row-selected td,
.ez-selection-table .is-row-selected:nth-child(2n-1) td {
background: #feffbb;

-webkit-transition: all 0.2s;
-moz-transition: all 0.2s;
-ms-transition: all 0.2s;
-o-transition: all 0.2s;
transition: all 0.2s;
transition: all 0.2s;
}
9 changes: 1 addition & 8 deletions Resources/public/css/theme/modules/tabs.css
Expand Up @@ -28,12 +28,7 @@
border-top: 3px solid #f5f4f2;
border-bottom: 1px solid #ccc;
margin-bottom: -1px;

-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-ms-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}

.ez-tabs .ez-tabs-list .is-tab-selected {
Expand All @@ -53,7 +48,5 @@
display: block;

-webkit-animation: fadeIn 0.3s;
-moz-animation: fadeIn 0.3s;
-o-animation: fadeIn 0.3s;
animation: fadeIn 0.3s;
}
7 changes: 1 addition & 6 deletions Resources/public/css/theme/views/actions/button.css
Expand Up @@ -30,12 +30,7 @@
.ez-view-buttonactionview .action-hint {
margin: 0;
opacity: 1;

-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-ms-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}

.is-discoverybar-minimized .ez-view-discoverybarview .active-actions .ez-view-buttonactionview .action-label,
Expand Down
16 changes: 2 additions & 14 deletions Resources/public/css/theme/views/actions/create-content.css
Expand Up @@ -5,22 +5,12 @@

.ez-view-createcontentactionview {
background: #333;

-webkit-transition: all 0.2s ease;
-moz-transition: all 0.2s ease;
-ms-transition: all 0.2s ease;
-o-transition: all 0.2s ease;
transition: all 0.2s ease;
transition: all 0.2s ease;
}

.ez-view-createcontentactionview .ez-expandable-area {
background: #333;

-webkit-transition: all 0.2s ease;
-moz-transition: all 0.2s ease;
-ms-transition: all 0.2s ease;
-o-transition: all 0.2s ease;
transition: all 0.2s ease;
transition: all 0.2s ease;
}

.ez-view-createcontentactionview.is-expanded .ez-expandable-area {
Expand All @@ -37,8 +27,6 @@
.ez-view-createcontentactionview .ez-contenttypes-loading:before {
display: inline-block;
-webkit-animation: spin 0.7s infinite linear;
-moz-animation: spin 0.7s infinite linear;
-o-animation: spin 0.7s infinite linear;
animation: spin 0.7s infinite linear;
content: "\E61C";
padding-right: 0.5em;
Expand Down
15 changes: 3 additions & 12 deletions Resources/public/css/theme/views/actions/preview.css
Expand Up @@ -5,16 +5,9 @@

.ez-view-previewactionview .preview-modes .preview-mode-button {
border-radius: 4px;
-webkit-box-shadow: inset 1px 1px 2px 1px #000;
-moz-box-shadow: inset 1px 1px 2px 1px #000;
box-shadow: inset 1px 1px 2px 1px #000;
box-shadow: inset 1px 1px 2px 1px #000;
background: #232327;
background: -webkit-linear-gradient(90deg, #232327 0%, #26252a 100%);
background: -moz-linear-gradient(90deg, #232327 0%, #26252a 100%);
background: -ms-linear-gradient(90deg, #232327 0%, #26252a 100%);
background: -o-linear-gradient(90deg, #232327 0%, #26252a 100%);
background: linear-gradient(90deg, #232327 0%, #26252a 100%);
background: -webkit-gradient(linear, top, bottom, color-stop(0%, #232327), color-stop(100%, #26252a));
background: linear-gradient(90deg, #232327 0%, #26252a 100%);
}

.ez-view-previewactionview .preview-modes .preview-mode-button:before {
Expand All @@ -25,9 +18,7 @@

.ez-view-previewactionview .preview-modes .preview-mode-button:hover {
background: #486235;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
box-shadow: none;
}

.ez-view-previewactionview .preview-modes .preview-mode-button.is-selected {
Expand Down
18 changes: 2 additions & 16 deletions Resources/public/css/theme/views/actions/tree.css
Expand Up @@ -5,23 +5,13 @@

.ez-view-treeactionview {
background: #333;

-webkit-transition: padding 0.2s ease;
-moz-transition: padding 0.2s ease;
-ms-transition: padding 0.2s ease;
-o-transition: padding 0.2s ease;
transition: padding 0.2s ease;
transition: padding 0.2s ease;
}

.ez-view-treeactionview .ez-expandable-area {
background: #333;
font-size: 90%;

-webkit-transition: all 0.2s ease;
-moz-transition: all 0.2s ease;
-ms-transition: all 0.2s ease;
-o-transition: all 0.2s ease;
transition: all 0.2s ease;
transition: all 0.2s ease;
}

.ez-view-treeactionview .ez-tree-loading {
Expand All @@ -34,8 +24,6 @@
.ez-view-treeactionview .ez-tree-loading:before {
display: inline-block;
-webkit-animation: spin 0.7s infinite linear;
-moz-animation: spin 0.7s infinite linear;
-o-animation: spin 0.7s infinite linear;
animation: spin 0.7s infinite linear;
content: "\E61C";
padding-right: 0.5em;
Expand Down Expand Up @@ -84,8 +72,6 @@
padding: 0 0.15em;
content: "\E61C";
-webkit-animation: spin 0.5s infinite linear;
-moz-animation: spin 0.5s infinite linear;
-o-animation: spin 0.5s infinite linear;
animation: spin 0.5s infinite linear;
}

Expand Down
2 changes: 0 additions & 2 deletions Resources/public/css/theme/views/asynchronous.css
Expand Up @@ -11,8 +11,6 @@
.ez-asynchronousview .ez-asynchronousview-loading:before {
display: inline-block;
-webkit-animation: spin 0.7s infinite linear;
-moz-animation: spin 0.7s infinite linear;
-o-animation: spin 0.7s infinite linear;
animation: spin 0.7s infinite linear;
content: "\E61c";
padding: 0 0.2em;
Expand Down

0 comments on commit cd37d27

Please sign in to comment.