mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-27 21:26:38 +00:00
Improve "Select Image" supported file types label with a tooltip (#392)
Fixes: https://github.com/resin-io/etcher/issues/378 Signed-off-by: Juan Cruz Viotti <jviottidc@gmail.com>
This commit is contained in:
parent
5d45ceade7
commit
369e38b310
@ -6360,6 +6360,9 @@ body {
|
|||||||
.soft {
|
.soft {
|
||||||
color: #ddd; }
|
color: #ddd; }
|
||||||
|
|
||||||
|
[uib-tooltip] {
|
||||||
|
cursor: default; }
|
||||||
|
|
||||||
.section-footer {
|
.section-footer {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@ -6407,6 +6410,10 @@ body {
|
|||||||
color: #85898c;
|
color: #85898c;
|
||||||
font-size: 10px; }
|
font-size: 10px; }
|
||||||
|
|
||||||
|
.step-footer-underline {
|
||||||
|
border-bottom: 1px dotted;
|
||||||
|
padding-bottom: 2px; }
|
||||||
|
|
||||||
.btn.step-footer, .step-footer.progress-button {
|
.btn.step-footer, .step-footer.progress-button {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
border-bottom: 1px dashed;
|
border-bottom: 1px dashed;
|
||||||
|
@ -25,6 +25,7 @@ const _ = require('lodash');
|
|||||||
|
|
||||||
const app = angular.module('Etcher', [
|
const app = angular.module('Etcher', [
|
||||||
require('angular-ui-router'),
|
require('angular-ui-router'),
|
||||||
|
require('angular-ui-bootstrap'),
|
||||||
|
|
||||||
// Etcher modules
|
// Etcher modules
|
||||||
require('./modules/drive-scanner'),
|
require('./modules/drive-scanner'),
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
<div class="space-vertical-large">
|
<div class="space-vertical-large">
|
||||||
<div ng-hide="app.selection.hasImage()">
|
<div ng-hide="app.selection.hasImage()">
|
||||||
<button class="btn btn-primary btn-brick" ng-click="app.openImageSelector()">Select image</button>
|
<button class="btn btn-primary btn-brick" ng-click="app.openImageSelector()">Select image</button>
|
||||||
<p class="step-footer">*supported files: .img, .iso, .zip</p>
|
<p class="step-footer">.img, .iso, or <span class="step-footer-underline" uib-tooltip=".zip">compressed images</span></p>
|
||||||
</div>
|
</div>
|
||||||
<div ng-show="app.selection.hasImage()">
|
<div ng-show="app.selection.hasImage()">
|
||||||
<div ng-bind="app.selection.getImage() | basename"></div>
|
<div ng-bind="app.selection.getImage() | basename"></div>
|
||||||
|
@ -77,6 +77,10 @@ body {
|
|||||||
color: $gray-light;
|
color: $gray-light;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[uib-tooltip] {
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
|
||||||
.section-footer {
|
.section-footer {
|
||||||
@extend .text-center;
|
@extend .text-center;
|
||||||
|
|
||||||
@ -148,6 +152,11 @@ body {
|
|||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.step-footer-underline {
|
||||||
|
border-bottom: 1px dotted;
|
||||||
|
padding-bottom: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
.btn.step-footer {
|
.btn.step-footer {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
border-bottom: 1px dashed;
|
border-bottom: 1px dashed;
|
||||||
|
@ -49,7 +49,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"angular": "^1.5.3",
|
"angular": "^1.5.3",
|
||||||
"angular-q-promisify": "^1.1.0",
|
"angular-q-promisify": "^1.1.0",
|
||||||
"angular-ui-bootstrap": "^1.2.5",
|
"angular-ui-bootstrap": "^1.3.2",
|
||||||
"angular-ui-router": "^0.2.18",
|
"angular-ui-router": "^0.2.18",
|
||||||
"bluebird": "^3.0.5",
|
"bluebird": "^3.0.5",
|
||||||
"bootstrap-sass": "^3.3.5",
|
"bootstrap-sass": "^3.3.5",
|
||||||
|
BIN
screenshot.png
BIN
screenshot.png
Binary file not shown.
Before Width: | Height: | Size: 125 KiB After Width: | Height: | Size: 125 KiB |
Loading…
x
Reference in New Issue
Block a user