Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit 53cc154

Browse files
committed
Conflicts: js/views/userPageVw.js
2 parents a567a16 + 0303040 commit 53cc154

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+3568
-2350
lines changed

css/obBase.css

Lines changed: 95 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,12 @@ form {
414414
height: 100%;
415415
}
416416

417+
.flexRow-grid {
418+
/* use for wrapping grids of objects with 10px margins on the right side */
419+
margin-right: -10px;
420+
width: auto;
421+
}
422+
417423
.flexRow [class |= "flexCol"] {
418424
box-sizing: border-box;
419425
position: relative;
@@ -581,20 +587,21 @@ form {
581587
position: relative;
582588
background-position: center;
583589
background-size: cover;
584-
border-radius: 3px;
590+
background-repeat: no-repeat;
591+
border-radius: 2px;
585592
height: 230px;
586593
width: 250px;
587594
}
588595

589596
.itemImg.itemImg-large {
590597
/* flex row collapses unless a specific height is set */
591-
height: 380px;
592-
width: 100%;
598+
height: 472px;
599+
width: 514px;
593600
border-radius: 0;
594601
}
595602

596603
.itemImg.itemImg-small {
597-
height: 82px;
604+
height: 111px;
598605
width: 121px;
599606
margin: 0 10px 10px 0;
600607
border-radius: 1px;
@@ -1210,6 +1217,14 @@ h5 {
12101217
font-size: 15px;
12111218
}
12121219

1220+
.fieldItem-textarea h2, .fieldItem-textarea h3, .editableContent h2, .editableContent h3 {
1221+
margin-top: 30px;
1222+
}
1223+
1224+
.fieldItem-textarea h2:first-child, .fieldItem-textarea h3:first-child, .editableContent h2:first-child, .editableContent h3:first-child {
1225+
margin-top: 0px;
1226+
}
1227+
12131228
.note {
12141229
/* use for instructions and incidental text */
12151230
/*font-style: italic;*/
@@ -2569,11 +2584,6 @@ div.chatSearchOut .chatSearchIcon {
25692584
border-top-right-radius: 0;
25702585
}
25712586

2572-
.btn.btn-back:before,
2573-
.btn.btn-fwd:before {
2574-
opacity: 0.3;
2575-
}
2576-
25772587
.btn.btn-back.active:before,
25782588
.btn.btn-fwd.active:before {
25792589
opacity: 1;
@@ -2958,6 +2968,7 @@ input[type="number"].fieldItem.fieldItem-withButton {
29582968
border: 2px solid transparent;
29592969
color: #fff;
29602970
overflow: auto; /* use customThemeScrollbar to add a scrolbar */
2971+
word-break: break-all; /* prevent urls from making the text area grow */
29612972
}
29622973

29632974
.fieldItem-textarea:focus {
@@ -3114,6 +3125,7 @@ input[type="checkbox"].fieldItem + label:before {
31143125
box-shadow: none;
31153126
opacity: 1;
31163127
font-size: 1.5em;
3128+
vertical-align: middle;
31173129
}
31183130

31193131
input[type="checkbox"].fieldItem + label.compact {
@@ -3125,6 +3137,10 @@ input[type="checkbox"].fieldItem + label.compact:before {
31253137
left: 0;
31263138
}
31273139

3140+
input[type="checkbox"].fieldItem.thin + label {
3141+
line-height: inherit;
3142+
}
3143+
31283144
input[type="checkbox"].fieldItem:checked + label:before {
31293145
content: "\f374";
31303146
}
@@ -4299,6 +4315,10 @@ input[type="checkbox"].fieldItem:checked + label .togLabelOff {
42994315
border-color: #616161;
43004316
}
43014317

4318+
#ov1 .medium-editor-toolbar {
4319+
background: #353443;
4320+
}
4321+
43024322
#ov1::-webkit-scrollbar {
43034323
display: none;
43044324
box-sizing: border-box;
@@ -4639,10 +4659,6 @@ input[type="checkbox"].fieldItem:checked + label .togLabelOff {
46394659
outline: 2px solid #fff;
46404660
}
46414661

4642-
#ov1 .borderRadiusTop {
4643-
border-radius: 3px;
4644-
}
4645-
46464662
#ov1 .borderRadiusTop {
46474663
border-top-left-radius: 3px;
46484664
border-top-right-radius: 3px;
@@ -5583,6 +5599,15 @@ input[type="checkbox"].fieldItem:checked + label .togLabelOff {
55835599
opacity: 0.7;
55845600
}
55855601

5602+
#ov1 .disabled-icon {
5603+
pointer-events: none;
5604+
}
5605+
5606+
#ov1 .disabled-icon:before,
5607+
#ov1 .disabled [class *= "ion-"]:before {
5608+
opacity: 0.2;
5609+
}
5610+
55865611
#ov1 .overflowVisible {
55875612
overflow: visible;
55885613
}
@@ -5603,15 +5628,19 @@ input[type="checkbox"].fieldItem:checked + label .togLabelOff {
56035628
-webkit-filter: blur(20px) grayscale(1) contrast(0.5);
56045629
}
56055630

5631+
56065632
#ov1 .fadeOut {
56075633
opacity: 0;
56085634
pointer-events: none;
5635+
transition: opacity .3s cubic-bezier(0, 0, 0.2, 1);
56095636
}
56105637

56115638
#ov1 .foldIn {
56125639
height: 0;
5640+
padding: 0;
56135641
overflow: hidden;
5614-
transition: height 1s;
5642+
transition: height 1s, padding 1s;
5643+
pointer-events: none;
56155644
}
56165645

56175646
#ov1 .underline {
@@ -5781,8 +5810,11 @@ input[type="checkbox"].fieldItem:checked + label .togLabelOff {
57815810
border-bottom: 1px solid #444;
57825811
}
57835812

5813+
#ov1.notFancy .fadeOut,
57845814
#ov1.notFancy .statusBar.fadeOut,
57855815
#ov1.notFancy #pageNav .statusBar.fadeOut,
5816+
#ov1.notFancy #userPage .fadeOut,
5817+
#ov1.notFancy #userPage #pageNav .fadeOut,
57865818
#ov1.notFancy #userPage #pageNav .statusBar.fadeOut,
57875819
#ov1.notFancy #userPage #obContainer #content .statusBar.fadeOut {
57885820
opacity: 0 !important;
@@ -5845,10 +5877,57 @@ input[type="checkbox"].fieldItem:checked + label .togLabelOff {
58455877

58465878
#ov1.notFancy .notFancyDarkBackground,
58475879
#ov1.notFancy #obContainer .notFancyDarkBackground {
5848-
background: #262626;
5880+
background: #262626 !important;
5881+
}
5882+
5883+
#ov1.notFancy .disabled,
5884+
#ov1.notFancy #userPage .disabled,
5885+
#ov1.notFancy #obContainer .disabled,
5886+
#ov1.notFancy #overlay .disabled,
5887+
#ov1.notFancy #sideBar .disabled,
5888+
#ov1.notFancy #pageNav .disabled,
5889+
#ov1.notFancy #modalHolder .disabled,
5890+
#ov1.notFancy #messageModal .disabled,
5891+
#ov1.notFancy #statusBar .disabled {
5892+
opacity: 0.2 !important;
5893+
}
5894+
5895+
#ov1.notFancy .disabled2,
5896+
#ov1.notFancy #userPage .disabled2,
5897+
#ov1.notFancy #obContainer .disabled2,
5898+
#ov1.notFancy #overlay .disabled2,
5899+
#ov1.notFancy #sideBar .disabled2,
5900+
#ov1.notFancy #pageNav .disabled2,
5901+
#ov1.notFancy #modalHolder .disabled2,
5902+
#ov1.notFancy #messageModal .disabled2,
5903+
#ov1.notFancy #statusBar .disabled2 {
5904+
opacity: 0.7 !important;
5905+
}
5906+
5907+
/* add a shadow and a glow, so modal close buttons are still barely visible if the user picks a bad color */
5908+
#ov1 .js-closeIndexModal [class *= "ion-"]:before,
5909+
#ov1 #userPage .js-closeIndexModal [class *= "ion-"]:before,
5910+
#ov1 #obContainer .js-closeIndexModal [class *= "ion-"]:before,
5911+
#ov1 #modalHolder .js-closeIndexModal [class *= "ion-"]:before,
5912+
#ov1 #messageModal .js-closeIndexModal [class *= "ion-"]:before,
5913+
#ov1.notFancy .js-closeIndexModal [class *= "ion-"]:before,
5914+
#ov1.notFancy #userPage .js-closeIndexModal [class *= "ion-"]:before,
5915+
#ov1.notFancy #obContainer .js-closeIndexModal [class *= "ion-"]:before,
5916+
#ov1.notFancy #modalHolder .js-closeIndexModal [class *= "ion-"]:before,
5917+
#ov1.notFancy #messageModal .js-closeIndexModal [class *= "ion-"]:before,
5918+
#ov1 .js-modal-close [class *= "ion-"]:before,
5919+
#ov1 #userPage .js-modal-close [class *= "ion-"]:before,
5920+
#ov1 #obContainer .js-modal-close [class *= "ion-"]:before,
5921+
#ov1 #modalHolder .js-modal-close [class *= "ion-"]:before,
5922+
#ov1 #messageModal .js-modal-close [class *= "ion-"]:before,
5923+
#ov1.notFancy .js-modal-close [class *= "ion-"]:before,
5924+
#ov1.notFancy #userPage .js-modal-close [class *= "ion-"]:before,
5925+
#ov1.notFancy #obContainer .js-modal-close [class *= "ion-"]:before,
5926+
#ov1.notFancy #modalHolder .js-modal-close [class *= "ion-"]:before,
5927+
#ov1.notFancy #messageModal .js-modal-close [class *= "ion-"]:before{
5928+
text-shadow: 0 0 1px rgba(0,0,0,1), 0 0 2px rgba(255,255,255, 1) !important;
58495929
}
58505930

5851-
58525931
/* hide unfinished elements */
58535932

58545933
#ov1 .TODO.TODO.TODO.TODO.TODO {

index.html

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ <h2 class="ion-android-close custCol-text clickable"></h2>
4040
</div>
4141
</div>
4242
</div>
43+
<!--
4344
<div class="modal modal-opaque hide js-loadingMessageModal">
4445
<div class="modal-child modal-childMain">
4546
<div class="btn-corner btn-cornerTR js-closeIndexModal">
@@ -71,15 +72,17 @@ <h2 class="txt-center">
7172
</div>
7273
</div>
7374
</div>
75+
-->
7476
<div id="statusBar"></div>
7577
<div id="pageNav" class="bar navBar navBar-main custCol-secondary padding0"></div>
7678
<!-- the loading modal must be on top of the page nav or the reload button is hidden -->
7779
<div id="loadingModal" class="modal modal-opaque js-loadingModal top0">
7880
<div class="spinner-with-logo fullCentered">
7981
<i class="ion-android-sync spinner fontSize30 spinner-with-logo-icon"></i>
8082
</div>
81-
<div class="rowTop20">
82-
<a class="btn btn-txt btn-corner btn-cornerTR js-indexReload"><i class="ion-android-sync"></i> Reload</a>
83+
<div class="width100 positionTop">
84+
<a class="btn btn-txt rowTop10 marginRight10 pull-right js-indexReload"><i class="ion-android-sync"></i> <span class="js-translate" data-translate="Reload"></span></a>
85+
<a class="btn btn-txt rowTop10 marginRight10 pull-right" href="#home"><i class="ion-home"></i> <span class="js-translate" data-translate="LoadIndex"></span></a>
8386
</div>
8487
</div>
8588

@@ -89,6 +92,13 @@ <h2 class="txt-center">
8992
<script>
9093
var app = require('./js/main'),
9194
remote = require('remote');
95+
96+
window.translateIndex = function(){
97+
$('.js-translate').each(function() {
98+
$(this).text(polyglot.t($(this).data("translate")));
99+
});
100+
};
101+
translateIndex();
92102
$('.js-closeIndexModal').on('click', function(){
93103
$(this).closest('.modal').addClass('hide');
94104
});

js/config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ module.exports = {
1010

1111
bitcoinValidationRegex: bitcoinValidationRegex,
1212

13+
keyShortcutPrefix: window.navigator.platform === 'MacIntel' ? '&#8984;' : 'Ctrl+',
14+
1315
keyShortcuts: {
16+
undo: 'z',
1417
discover: 'd',
1518
myPage: 'h',
1619
customizePage: 'e',
@@ -19,7 +22,9 @@ module.exports = {
1922
sales: 'y',
2023
cases: 'j',
2124
settings: 'g',
22-
addressBar: 'l'
25+
addressBar: 'l',
26+
save: 's',
27+
restart: 'r'
2328
},
2429

2530
setTestnet: function(testNetBoolean){

0 commit comments

Comments
 (0)