Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

Commit

Permalink
dpobel's feedback css
Browse files Browse the repository at this point in the history
  • Loading branch information
yannickroger committed Feb 22, 2017
1 parent 5cae6ed commit 4a643b9
Show file tree
Hide file tree
Showing 21 changed files with 64 additions and 59 deletions.
1 change: 1 addition & 0 deletions Resources/config/css.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ system:
- 'bundles/ezplatformui/css/theme/views/fields/edit/relationlist.css'
- 'bundles/ezplatformui/css/theme/views/fields/edit/country.css'
- 'bundles/ezplatformui/css/theme/views/fields/edit/richtext.css'
- 'bundles/ezplatformui/css/theme/views/fields/edit/url.css'
- 'bundles/ezplatformui/css/theme/views/fields/edit/user.css'
- 'bundles/ezplatformui/css/theme/views/dashboard/base.css'
- 'bundles/ezplatformui/css/theme/views/dashboard/asynchronous.css'
Expand Down
19 changes: 19 additions & 0 deletions Resources/public/css/theme/views/fieldedit.css
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,22 @@
.is-using-touch-device .ez-editfield-input-area .ez-field-description.is-visible {
opacity: 1;
}

.ez-editfield-not-translatable {
display: none;
}

.is-not-translatable .ez-editfield-not-translatable {
margin-top: 0.2em;
font-size: 0.8em;
display:block;
}

.is-not-translatable .ez-fielddefinition-name {
opacity: 0.3;
}

.is-not-translatable .ez-editfield-not-translatable:before {
content: "\e61b";
padding-right: 0.4em;
}
4 changes: 4 additions & 0 deletions Resources/public/css/theme/views/fields/edit/author.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,7 @@
.ez-view-authoreditview.is-author-error .ez-fielddefinition-name {
color: #BF3E33;
}

.ez-view-authoreditview.is-not-translatable .ez-field-sublabel {
opacity: 0.3;
}
4 changes: 4 additions & 0 deletions Resources/public/css/theme/views/fields/edit/binarybase.css
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,7 @@
margin: 0.5em 1.5em;
opacity: 0.7;
}

.is-not-translatable .ez-binarybase-content {
opacity: 0.3;
}
6 changes: 6 additions & 0 deletions Resources/public/css/theme/views/fields/edit/maplocation.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,9 @@
.ez-view-maplocationeditview .ez-maplocation-locate-me-errors {
color: #BF3E33;
}

.ez-view-maplocationeditview.is-not-translatable .ez-maplocation-map-container,
.ez-view-maplocationeditview.is-not-translatable .ez-maplocation-coordinates,
.ez-view-maplocationeditview.is-not-translatable .ez-field-sublabel {
opacity: 0.3;
}
4 changes: 4 additions & 0 deletions Resources/public/css/theme/views/fields/edit/relation.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@
font-weight: normal;
margin-bottom: 1em;
}

.ez-view-relationeditview.is-not-translatable .ez-relation-content {
opacity: 0.3;
}
4 changes: 4 additions & 0 deletions Resources/public/css/theme/views/fields/edit/relationlist.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,7 @@
font-weight: normal;
margin-bottom: 1em;
}

.ez-view-relationlisteditview.is-not-translatable .ez-relationlist-contents {
opacity: 0.3;
}
5 changes: 5 additions & 0 deletions Resources/public/css/theme/views/fields/edit/richtext.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,8 @@
font-size: 80%;
opacity: 1;
}

.ez-view-richtexteditview.is-not-translatable .ez-richtext-editable {
opacity: 0.3;
cursor: default;
}
5 changes: 5 additions & 0 deletions Resources/public/css/theme/views/fields/edit/selection.css
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,8 @@
.ez-view-selectioneditview.is-top-list .ez-fielddescription-tooltip.is-visible {
opacity: 0;
}

.ez-view-selectioneditview.is-not-translatable .ez-selection-values {
opacity: 0.3;
cursor: default;
}
8 changes: 8 additions & 0 deletions Resources/public/css/theme/views/fields/edit/url.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/**
* Copyright (C) eZ Systems AS. All rights reserved.
* For full copyright and license information view LICENSE file distributed with this source code.
*/

.ez-view-urleditview.is-not-translatable .ez-field-sublabel {
opacity: 0.3;
}
4 changes: 4 additions & 0 deletions Resources/public/css/theme/views/fields/edit/user.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@
animation: spin 0.5s infinite linear;
content: "\E61c";
}

.ez-view-usereditview.is-not-translatable .ez-field-sublabel {
opacity: 0.3;
}
19 changes: 0 additions & 19 deletions Resources/public/css/views/fieldedit.css
Original file line number Diff line number Diff line change
Expand Up @@ -90,22 +90,3 @@
.ez-standard-description.is-showing-description .ez-field-description {
visibility: visible;
}

.ez-editfield-not-translatable {
display: none;
}

.is-not-translatable .ez-editfield-not-translatable {
margin-top: 0.2em;
font-size: 0.8em;
display:block;
}

.is-not-translatable .ez-fielddefinition-name {
opacity: 0.3;
}

.is-not-translatable .ez-editfield-not-translatable:before {
content: "\e61b";
padding-right: 0.4em;
}
4 changes: 0 additions & 4 deletions Resources/public/css/views/fields/edit/author.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,3 @@
display: block;
margin-top: 3em;
}

.ez-view-authoreditview.is-not-translatable .ez-field-sublabel {
opacity: 0.3;
}
4 changes: 0 additions & 4 deletions Resources/public/css/views/fields/edit/binarybase.css
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,3 @@
.ez-binarybase-help {
margin: 0;
}

.is-not-translatable .ez-binarybase-content {
opacity: 0.3;
}
6 changes: 0 additions & 6 deletions Resources/public/css/views/fields/edit/maplocation.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,3 @@
.ez-view-maplocationeditview .ez-field-description {
margin-left: 0;
}

.ez-view-maplocationeditview.is-not-translatable .ez-maplocation-map-container,
.ez-view-maplocationeditview.is-not-translatable .ez-maplocation-coordinates,
.ez-view-maplocationeditview.is-not-translatable .ez-field-sublabel {
opacity: 0.3;
}
4 changes: 0 additions & 4 deletions Resources/public/css/views/fields/edit/relation.css
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,3 @@
.ez-view-relationeditview .ez-field-description {
margin: 0;
}

.ez-view-relationeditview.is-not-translatable .ez-relation-content {
opacity: 0.3;
}
4 changes: 0 additions & 4 deletions Resources/public/css/views/fields/edit/relationlist.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,3 @@
.ez-view-relationlisteditview .ez-field-description {
margin: 0;
}

.ez-view-relationlisteditview.is-not-translatable .ez-relationlist-contents {
opacity: 0.3;
}
5 changes: 0 additions & 5 deletions Resources/public/css/views/fields/edit/richtext.css
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,3 @@
box-sizing: border-box;
padding-left: 2em;
}

.ez-view-richtexteditview.is-not-translatable .ez-richtext-editable {
opacity: 0.3;
cursor: default;
}
5 changes: 0 additions & 5 deletions Resources/public/css/views/fields/edit/selection.css
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,3 @@
.ez-view-selectioneditview .ez-field-description {
margin: 0 0 0 2.5em;
}

.ez-view-selectioneditview.is-not-translatable .ez-selection-values {
opacity: 0.3;
cursor: default;
}
4 changes: 0 additions & 4 deletions Resources/public/css/views/fields/edit/url.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,3 @@
.ez-url-input-ui input {
width: 100%;
}

.ez-view-urleditview.is-not-translatable .ez-field-sublabel {
opacity: 0.3;
}
4 changes: 0 additions & 4 deletions Resources/public/css/views/fields/edit/user.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,3 @@
width: 100%;
max-width: 25em;
}

.ez-view-usereditview.is-not-translatable .ez-field-sublabel {
opacity: 0.3;
}

0 comments on commit 4a643b9

Please sign in to comment.