Skip to content

Commit

Permalink
[GUI] Change look of modaloverlay (#1653)
Browse files Browse the repository at this point in the history
* [GUI] Change look of modaloverlay

* Update crownium.css

Copy'n'paste error removed
  • Loading branch information
crowning- authored and UdjinM6 committed Sep 25, 2017
1 parent d07ac4f commit 08e503d
Show file tree
Hide file tree
Showing 4 changed files with 79 additions and 7 deletions.
29 changes: 22 additions & 7 deletions src/qt/forms/modaloverlay.ui
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>640</width>
<height>385</height>
<height>401</height>
</rect>
</property>
<property name="windowTitle">
Expand All @@ -32,9 +32,9 @@
<item>
<widget class="QWidget" name="bgWidget" native="true">
<property name="styleSheet">
<string notr="true">#bgWidget { background: rgba(0,0,0,220); }</string>
<string notr="true"/>
</property>
<layout class="QVBoxLayout" name="verticalLayoutMain" stretch="1">
<layout class="QVBoxLayout" name="verticalLayoutMain" stretch="0">
<property name="leftMargin">
<number>60</number>
</property>
Expand All @@ -50,11 +50,9 @@
<item>
<widget class="QWidget" name="contentWidget" native="true">
<property name="styleSheet">
<string notr="true">#contentWidget { background: rgba(255,255,255,240); border-radius: 6px; }

QLabel { color: rgb(40,40,40); }</string>
<string notr="true"/>
</property>
<layout class="QVBoxLayout" name="verticalLayoutSub" stretch="1,0,0,0">
<layout class="QVBoxLayout" name="verticalLayoutSub" stretch="1,0,0,0,0">
<property name="spacing">
<number>0</number>
</property>
Expand Down Expand Up @@ -355,6 +353,23 @@ QLabel { color: rgb(40,40,40); }</string>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
</item>
Expand Down
19 changes: 19 additions & 0 deletions src/qt/res/css/crownium.css
Original file line number Diff line number Diff line change
Expand Up @@ -1162,13 +1162,32 @@ margin-left:0px; /* CSS Voodoo - set to -66px to hide default transaction icons

/* MODAL OVERLAY */

QWidget#bgWidget { /* The 'frame' overlaying the overview-page */
background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: .01 #f6f6f6, stop: .1 rgba(250, 250, 250, 128), stop: .95 rgba(250, 250, 250, 255), stop: 1 #ebebeb);
color:#616161;
padding-left:10px;
padding-right:10px;
}

QWidget#bgWidget .QPushButton#warningIcon {
width:64px;
height:64px;
padding:5px;
background-color:transparent;
}

QWidget#contentWidget { /* The actual content with the text/buttons/etc... */
border-image: url(':/images/crownium/drkblue_walletFrame_bg') 0 0 0 0 stretch stretch;
border-top:0px solid #000;
margin:0;
padding-top:20px;
padding-bottom: 20px;
}

QWidget#bgWidget .QPushButton#closeButton {

}

/* SEND DIALOG */

QDialog#SendCoinsDialog .QFrame#frameCoinControl { /* Coin Control Section */
Expand Down
19 changes: 19 additions & 0 deletions src/qt/res/css/drkblue.css
Original file line number Diff line number Diff line change
Expand Up @@ -1138,13 +1138,32 @@ margin-left:0px; /* CSS Voodoo - set to -66px to hide default transaction icons

/* MODAL OVERLAY */

QWidget#bgWidget { /* The 'frame' overlaying the overview-page */
background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: .01 #f6f6f6, stop: .1 rgba(250, 250, 250, 128), stop: .95 rgba(250, 250, 250, 255), stop: 1 #ebebeb);
color:#616161;
padding-left:10px;
padding-right:10px;
}

QWidget#bgWidget .QPushButton#warningIcon {
width:64px;
height:64px;
padding:5px;
background-color:transparent;
}

QWidget#contentWidget { /* The actual content with the text/buttons/etc... */
border-image: url(':/images/drkblue/drkblue_walletFrame_bg') 0 0 0 0 stretch stretch;
border-top:0px solid #000;
margin:0;
padding-top:20px;
padding-bottom: 20px;
}

QWidget#bgWidget .QPushButton#closeButton {

}

/* SEND DIALOG */

QDialog#SendCoinsDialog .QFrame#frameCoinControl { /* Coin Control Section */
Expand Down
19 changes: 19 additions & 0 deletions src/qt/res/css/light.css
Original file line number Diff line number Diff line change
Expand Up @@ -1144,13 +1144,32 @@ margin-left:0px; /* CSS Voodoo - set to -66px to hide default transaction icons

/* MODAL OVERLAY */

QWidget#bgWidget { /* The 'frame' overlaying the overview-page */
background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: .01 #f6f6f6, stop: .1 rgba(250, 250, 250, 128), stop: .95 rgba(250, 250, 250, 255), stop: 1 #ebebeb);
color:#616161;
padding-left:10px;
padding-right:10px;
}

QWidget#bgWidget .QPushButton#warningIcon {
width:64px;
height:64px;
padding:5px;
background-color:transparent;
}

QWidget#contentWidget { /* The actual content with the text/buttons/etc... */
border-image: url(':/images/light/drkblue_walletFrame_bg') 0 0 0 0 stretch stretch;
border-top:0px solid #000;
margin:0;
padding-top:20px;
padding-bottom: 20px;
}

QWidget#bgWidget .QPushButton#closeButton {

}

/* SEND DIALOG */

QDialog#SendCoinsDialog .QFrame#frameCoinControl { /* Coin Control Section */
Expand Down

0 comments on commit 08e503d

Please sign in to comment.