diff --git a/client/images/AmneziaVPN.png b/client/images/AmneziaVPN.png index 81448fefa..84c395c5b 100644 Binary files a/client/images/AmneziaVPN.png and b/client/images/AmneziaVPN.png differ diff --git a/client/images/Line.png b/client/images/Line.png deleted file mode 100644 index c5a3a4663..000000000 Binary files a/client/images/Line.png and /dev/null differ diff --git a/client/images/arrow_left.png b/client/images/arrow_left.png index 091b40977..3a4d149dc 100644 Binary files a/client/images/arrow_left.png and b/client/images/arrow_left.png differ diff --git a/client/images/connected_line.png b/client/images/connected_line.png deleted file mode 100644 index 9ed7fd74d..000000000 Binary files a/client/images/connected_line.png and /dev/null differ diff --git a/client/images/listitembg.png b/client/images/listitembg.png deleted file mode 100644 index 4107a7ea4..000000000 Binary files a/client/images/listitembg.png and /dev/null differ diff --git a/client/images/underline.png b/client/images/underline.png deleted file mode 100644 index e38c37b64..000000000 Binary files a/client/images/underline.png and /dev/null differ diff --git a/client/res.qrc b/client/res.qrc index 667df8cd0..cf0eaa83b 100644 --- a/client/res.qrc +++ b/client/res.qrc @@ -1,9 +1,7 @@ images/close.png - images/listitembg.png images/settings.png - images/underline.png images/min.png images/favorites_disabled.png images/favorites_enabled.png @@ -12,7 +10,6 @@ images/controls/check_on.png images/controls/radio_off.png images/controls/radio_on.png - images/connected_line.png images/download.png images/upload.png images/controls/checkbox_hover.png @@ -33,7 +30,6 @@ fonts/Lato-Regular.ttf fonts/Lato-Thin.ttf fonts/Lato-ThinItalic.ttf - images/Line.png images/AmneziaVPN.png diff --git a/client/ui/mainwindow.ui b/client/ui/mainwindow.ui index 2cfad3090..a8a1576b1 100644 --- a/client/ui/mainwindow.ui +++ b/client/ui/mainwindow.ui @@ -268,56 +268,12 @@ QStackedWidget QWidget { } - - - - - 60 - 20 - 121 - 101 - - - - PointingHandCursor - - - image: url(:/images/tray/active.png); - - - - - - true - - - - - - 190 - 40 - 131 - 71 - - - - PointingHandCursor - - - image: url(:/images/AmneziaVPN.png); - - - - - - true - - - + + 10 - 150 + 40 361 71 @@ -327,7 +283,211 @@ QStackedWidget QWidget { font-style: normal; font-weight: bold; font-size: 24px; -line-height: 25px; +line-height: 25px; +color: #100A44; + + + + Подключиться к уже + созданному серверу VPN + + + Qt::AlignCenter + + + + + + 40 + 130 + 171 + 21 + + + + font-family: Lato; +font-style: normal; +font-weight: normal; +font-size: 16px; +line-height: 150%; + +/* or 24px */ + +/* text */ +color: #333333; + + + Код для подключения + + + + + + 40 + 220 + 301 + 41 + + + + background: #181922; +border-radius: 4px; + + + 24 + + + Qt::AlignCenter + + + true + + + Подключение... + + + + + + 110 + 590 + 150 + 22 + + + + image: url(:/images/AmneziaVPN.png); + + + + + + + + + 40 + 160 + 300 + 40 + + + + background: #F4F4F4; + +/* grey */ +border: 1px solid #A7A7A7; +box-sizing: border-box; +color: #333333; + + + + + + + + + 40 + 220 + 301 + 40 + + + + PointingHandCursor + + + QPushButton { + font-size: 13pt; + font: "Open Sans Semibold"; + color:rgb(212, 212, 212); + +border-radius: 4px; + +font-family: Lato; +font-style: normal; +font-weight: normal; +font-size: 16px; +line-height: 21px; + +background: #100A44; +border-radius: 4px; +} + + + + Подключиться + + + + + + 40 + 320 + 301 + 40 + + + + PointingHandCursor + + + QPushButton { + +font-family: Lato; +font-style: normal; +font-weight: normal; +font-size: 16px; + +color: #100A44; + +font-family: Lato; +font-style: normal; +font-weight: normal; +font-size: 16px; +line-height: 21px; + +border: 1px solid #211C4A; +border-radius: 4px; +} + + + + Настроить собственный сервер + + + + + + QLabel { +font-family: Lato; +font-style: normal; +font-weight: normal; +font-size: 16px; +color: #211C4A; +} + +QLineEdit { +padding-left: 10px; +border: 1px solid #A7A7A7; +} + + + + + 10 + 40 + 361 + 71 + + + + font-family: Lato; +font-style: normal; +font-weight: bold; +font-size: 24px; +line-height: 25px; +color: #100A44; + Подключите ваш сервер, @@ -341,7 +501,7 @@ line-height: 25px; 40 - 290 + 170 171 21 @@ -366,7 +526,7 @@ color: #333333; 40 - 370 + 255 261 21 @@ -391,7 +551,7 @@ color: #333333; 40 - 450 + 340 171 21 @@ -416,9 +576,9 @@ color: #333333; 40 - 320 - 301 - 31 + 200 + 300 + 40 @@ -437,9 +597,9 @@ color: #333333; 40 - 400 - 301 - 31 + 285 + 300 + 40 @@ -458,9 +618,9 @@ color: #333333; 40 - 480 - 301 - 31 + 370 + 300 + 40 @@ -482,7 +642,7 @@ color: #333333; 40 - 550 + 440 301 40 @@ -496,7 +656,6 @@ color: #333333; font: "Open Sans Semibold"; color:rgb(212, 212, 212); -background: #181922; border-radius: 4px; font-family: Lato; @@ -505,18 +664,20 @@ font-weight: normal; font-size: 16px; line-height: 21px; +background: #100A44; +border-radius: 4px; } - Подключить + Подключиться 50 - 230 + 120 281 16 @@ -540,11 +701,11 @@ color: #15CDCB; Где взять данные для подключения → - + 40 - 550 + 440 301 41 @@ -566,9 +727,55 @@ border-radius: 4px; Подключение... - progressBar - pushButton_amnezia_logo_2 - pushButton_amnezia_logo_3 + + + + 10 + 10 + 26 + 20 + + + + PointingHandCursor + + + QPushButton { + image: url(:/images/arrow_right.png); + image-position: left; + text-align: left; + /*font: 17pt "Ancient";*/ + + padding: 1px; + image: url(:/images/arrow_left.png); +} +QPushButton:hover { + padding: 0px; +} + + + + + + + + + + + 110 + 590 + 150 + 22 + + + + image: url(:/images/AmneziaVPN.png); + + + + + + progressBar_new_server_connection label_2 label_4 label_5 @@ -578,130 +785,8 @@ border-radius: 4px; lineEdit_new_server_password pushButton_new_server pushButton - - - - - - - - - 0 - 200 - 380 - 25 - - - - Discovering network... - - - Qt::AlignCenter - - - true - - - - - - 119 - 30 - 142 - 122 - - - - - - - Qt::AlignCenter - - - true - - - - - - 0 - 225 - 380 - 25 - - - - - - - Qt::AlignCenter - - - true - - - - - - 0 - 250 - 380 - 25 - - - - - - - Qt::AlignCenter - - - true - - - - - - 0 - 230 - 380 - 41 - - - - - - - Qt::AlignCenter - - - true - - - - - - 270 - 670 - 91 - 31 - - - - /*font: 8pt "JMH Cthulhumbus";*/ -font-size: 10px; - -color: rgb(62, 62, 62); - - - - Build v. 1.1 - 07 Oct 2020 - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop - - + pushButton_back_from_new_server + label_7 @@ -1070,9 +1155,9 @@ color: #181922; 10 - 0 - 381 - 25 + 10 + 28 + 20 @@ -1095,7 +1180,7 @@ QPushButton:hover { - Back +