RandomSec/main/webapp/modules/core/styles/project/sidebar.less
Antoine Beaubien 0690f45762
(I #1038) Add a Show/Hide left panel button (#2616)
* Add a Show/Hide left panel

Add a Show/Hide left Facets-Undo/Redo panel.

* Update summary-bar.js

Simplify the code for the "hide-left-panel-button".

* Remove the gap on the left of the button

Remove the gap on the left of the button and align left with table.

* Translated using Weblate (Japanese)

Currently translated at 100.0% (740 of 740 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/ja/

* Translated using Weblate (Japanese)

Currently translated at 100.0% (171 of 171 strings)

Translation: OpenRefine/wikidata
Translate-URL: https://hosted.weblate.org/projects/openrefine/wikidata/ja/

* Translated using Weblate (Japanese)

Currently translated at 100.0% (47 of 47 strings)

Translation: OpenRefine/gdata
Translate-URL: https://hosted.weblate.org/projects/openrefine/gdata/ja/

* Updated  showhide (collapse) arrow image

* Bolden the border dark-blue

Bolden the border dark-blue

* Changed from SPAN to A tag

Changed from SPAN to A tag.

* Update project.less

Minor change: left: 22px;

* Add a Show/Hide left panel

Add a Show/Hide left Facets-Undo/Redo panel.

* Update summary-bar.js

Simplify the code for the "hide-left-panel-button".

* Remove the gap on the left of the button

Remove the gap on the left of the button and align left with table.

* Updated  showhide (collapse) arrow image

* Bolden the border dark-blue

Bolden the border dark-blue

* Changed from SPAN to A tag

Changed from SPAN to A tag.

* Update project.less

Minor change: left: 22px;

* Changed cell.error to cell.errorMessage & added help data. (#2628)

* Changed cell.error to cell.errorMessage & added help data.

Changed cell.error to cell.errorMessage and added the informations into the internal help system.

* FR Text correction

* HU Fix text

3 instead of 2.

* The show/hide button now changes side

The show/hide button now changes side.

* Update project.js

Removed unneeded self.

* Update summary-bar.js

Removed unneeded self.

* [Security] Bump jackson.version from 2.9.10 to 2.11.0

Bumps `jackson.version` from 2.9.10 to 2.11.0.

Updates `jackson-databind` from 2.9.10 to 2.11.0
- [Release notes](https://github.com/FasterXML/jackson/releases)
- [Commits](https://github.com/FasterXML/jackson/commits)

Updates `jackson-annotations` from 2.9.10 to 2.11.0
- [Release notes](https://github.com/FasterXML/jackson/releases)
- [Commits](https://github.com/FasterXML/jackson/commits)

Updates `jackson-core` from 2.9.10 to 2.11.0
- [Release notes](https://github.com/FasterXML/jackson-core/releases)
- [Commits](https://github.com/FasterXML/jackson-core/compare/jackson-core-2.9.10...jackson-core-2.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Translated using Weblate (Russian)

Currently translated at 91.0% (674 of 740 strings)

Translation: OpenRefine/Translations
Translate-URL: https://hosted.weblate.org/projects/openrefine/translations/ru/

* Only show the database login fields when necessary (#2615)

* DB login fields visibility controled by CSS

The database login field’s visibility is now controled by CSS styling.

* Change field name from Database to Database file.

Change field name from Database to Database file.

* Use full db name as CSS classes

Use full db name instead of diminutives for the CSS classes.

* Added translation to placeholders

Added translation to the Input placeholders.

* Undo a change, remerge Database field & File

remerge Database field and DatabaseFile Field like before.

* Created DatabaseSourceUI._updateDatabaseType(dbType)

Created Refine.DatabaseSourceUI.prototype._updateDatabaseType(databaseType)

* Make MySQL the default database

<option value="mysql" selected="selected"">MySQL</option>

* Update database-import-form.html

Fixed typo. (<option value="mysql" selected="selected">MySQL</option>)

* New default connection name value

New default connection name value, translation of it, changing cssClassName from options to dbtype-options, adding the prefix "dbt-" to the db types and fix the changing of placeholder databaseName/databaseFileName when neccessary.

* Fix issue with « saved connections »

Fix issue with « saved connections » and added 2 defaults values for dbHost and dbType.

* Default DB back to MySQL.

<option value="mysql" selected="selected">MySQL</option>

* Update extensions/database/module/langs/translation-en.json

Co-authored-by: Thad Guidry <thadguidry@gmail.com>

* Better default with « mysql »

* Fix sqlite #databaseHost before calling self._updateDatabaseType()

Fix $( "#databaseHost" ).val(self._defaultDatabaseHost) to be set before calling self._updateDatabaseType(self._defaultDatabaseType) that may change it.

* Removed field name & fixed default connection name

Removed field name text since it's populated from i18n and fixed the default connection name so that it has no space in it.

* Little update to placeholder text

Co-authored-by: Thad Guidry <thadguidry@gmail.com>

* Resize the grid UI as well

Co-authored-by: Isao Matsunami <isao.matsunami@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Thad Guidry <thadguidry@gmail.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Tom Morris <tfmorris@gmail.com>
Co-authored-by: Artem <KovalevArtem.ru@gmail.com>
Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
2020-05-30 12:01:26 +01:00

262 lines
5.9 KiB
Plaintext

/*
Copyright 2010, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
* Neither the name of Google Inc. nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
@import-less url("../theme.less");
.browsing-panel-header {
position: relative;
display: none;
}
.browsing-panel-errors {
display: none;
position: relative;
height: auto;
margin: 5px;
text-align: center;
background: #fff0f4;
color: #c51244;
padding: 4px 4px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border: 1px solid #ccc;
}
.browsing-panel-indicator {
display: none;
position: relative;
width: 50%;
margin: 5px;
top: 0em;
left: 20%;
text-align: center;
background-color: #fff;
padding: 4px 4px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border: 1px solid #ccc;
}
.browsing-panel-indicator img {
vertical-align: text-top;
}
.browsing-panel-controls {
position: relative;
padding: @padding_normal;
visibility: hidden;
text-align: right;
}
.browsing-panel-controls-refresh {
position: absolute;
top: @padding_normal;
left: @padding_normal;
}
.browsing-panel-help, .history-panel-help {
margin: 1em;
padding: 0 0 13px 0;
background: @fill_primary;
border: 1px solid @chrome_primary;
color: @near_black;
.rounded_corners();
}
.browsing-panel-help h1, .history-panel-help h1 {
margin: 10px;
padding: 20px 0 0 10px;
font-size: 1.15em;
font-weight: bold;
background: url(../../images/logo-gem-126.png) no-repeat top right;
background-size: 43px;
}
.browsing-panel-help p, .history-panel-help p {
padding: 7px 20px;
line-height: 1.3;
}
a.visibility-panel-button {
display: inline-block;
vertical-align: middle;
width: 17px;
height: 19px;
text-decoration: none;
background-image: url(../../images/leftpanel-showhide.png);
background-repeat: no-repeat;
background-position: 0px 0px;
}
div#body.hide-left-panel div#left-panel {
display: none;
}
div#body #show-left-panel-button {
margin: 0px 7px 0px 0px;
padding: 7px 0px 0px 0px;
display: none;
}
div#body.hide-left-panel a#show-left-panel-button {
background-position: -34px 0px;
display: inline-block;
}
div#body.hide-left-panel a#show-left-panel-button:hover {
background-position: -51px 0px;
}
div#body div#left-panel a#hide-left-panel-button {
float: right;
margin: 0px 7px 0 0;
padding: 0px 0px 0px 0px;
}
div#body div#left-panel a#hide-left-panel-button:hover {
background-position: -17px 0px;
}
@history_done_background: #fff;
@history_undone_background: @chrome_secondary;
@history_entry_index_width: 30px;
a.history-entry {
display: block;
position: relative;
padding: @padding_normal;
padding-left: @padding_normal + @history_entry_index_width;
text-decoration: none;
color: #000;
border-bottom: 1px dotted #ddd;
}
.history-entry-index {
position: absolute;
top: 8px;
left: 0;
width: @history_entry_index_width;
text-align: right;
font-size: 80%;
padding: 2px 0px;
}
a.history-entry.filtered-out {
height: 1px;
padding-top: 2px;
padding-bottom: 2px;
}
a.history-entry.filtered-out > * {
display: none;
}
.history-panel-controls {
padding: @padding_normal;
text-align: right;
}
.history-panel-filter {
padding: @padding_tighter @padding_normal;
background: @chrome_secondary;
border: 1px solid @chrome_primary;
border-left: 0;
border-right: 0;
}
.history-panel-body {
background: @history_undone_background;
overflow: auto;
}
.history-past {
position: relative;
background: @history_done_background;
}
.history-now {
background: @selected_primary;
}
.history-future {
position: relative;
padding-bottom: @padding_loose;
}
.history-highlight {
position: absolute;
left: 0px;
width: 100%;
display: none;
}
.history-past .history-highlight {
background: @history_undone_background;
bottom: 0;
}
.history-future .history-highlight {
background: @history_done_background;
top: 0;
}
.history-future a.history-entry, .history-future a.history-entry-index {
color: @light_grey;
}
.history-now a.history-entry, .history-now a.history-entry-index {
color: #fff;
}
.history-past a.history-entry:hover, .history-future a.history-entry:hover {
border-bottom: 1px solid @selected_primary;
}
.history-extract-dialog-panel {
border: 1px solid @chrome_primary;
height: 400px;
overflow: auto;
}
table.history-extract-dialog-entries {
border-collapse: separate;
border-spacing: @padding_tight;
word-break: break-all;
}
textarea.history-operation-json {
white-space: pre;
font-family: monospace;
height: 450px;
}