Skip to content

The Unified and Autonomous Development Platform

Some minor UI css fixes.

robin shinee16f52f89cbc
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/account/account.css b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/account/account.css
index c9653c27ca..b2c91b6206 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/account/account.css
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/account/account.css
@@ -1,145 +1,147 @@
-#account.sidebar>table>tbody>tr>td.nav>.tabs>li>a {
- width: 220px;
-}
-#account.sidebar>table>tbody>tr>td.nav>.head {
- margin: -20px 0 20px 0;
- padding: 10px 10px 0 10px;
- border-bottom: 1px solid #DDD;
-}
-#account.sidebar>table>tbody>tr>td.nav>.head>div.avatar img {
- height: 200px;
- width: 200px;
- margin-bottom: 10px;
-}
-#account.sidebar>table>tbody>tr>td.nav>.head .select2-container {
- width: 200px;
-}
-#account.sidebar>table>tbody>tr>td.nav>.head .select2-container .avatar {
- display: none;
-}
-#account.sidebar>table>tbody>tr>td.nav>.head .name {
- font-size: 16px;
-}
-#account.sidebar>table>tbody>tr>td.nav>.head .dropdown-trigger {
- font-size: 18px;
- vertical-align: middle;
-}
-#account.sidebar>table>tbody>tr>td.nav>.head .dropdown-trigger {
- font-size: 18px;
- vertical-align: middle;
-}
-#account.sidebar>table>tbody>tr>td.nav>.run-as {
- margin-bottom: 10px;
- border-bottom: 1px solid #BBB;
- padding: 0 10px 10px 10px;
- color: #666;
- display: block;
-}
-#account.sidebar>table>tbody>tr>td.content {
- padding: 20px;
-}
-#account.sidebar>table>tbody>tr>td.content .list table td.actions {
- width: 20%;
- white-space: nowrap;
-}
-#account.sidebar>table>tbody>tr>td.content .teams.table td.members img.avatar {
- margin-right: 4px;
-}
-#account.sidebar>table>tbody>tr>td.content .member.add .role label {
- font-weight: normal;
- margin-left: 8px;
- vertical-align: middle;
-}
-#account.sidebar>table>tbody>tr>td.content .detail>.head {
- padding: 12px;
- border: 1px dashed #BBB;
- background: #F0F0F0;
- border-radius: 4px;
- margin-bottom: 20px;
-}
-.team.detail>.head .title {
- font-weight: bold;
- font-size: 18px;
- margin-bottom: 12px;
-}
-.team.detail>.head .description .md-preview {
- font-size: 14px;
-}
-.team.detail>.head .actions {
- border-top: 1px dashed #CCC;
- padding-top: 12px;
- margin-top: 16px;
-}
-
-.list td.name .note {
- font-size: 12px;
- color: #888;
- margin-top: 4px;
-}
-
-.user.detail>.head .avatar {
- width: 32px;
- height: 32px;
-}
-.user.detail>.head>a,
-.user.detail>.head>span {
- margin-left: 8px;
-}
-.user.detail>.head>a.name {
- margin-left: 2px;
- font-size: 16px;
- vertical-align: middle;
-}
-
-.list td.privilege,
-.list td.role {
- width: 20%;
-}
-
-.account.overview>div {
- margin-bottom: 20px;
- border-bottom: 1px solid #DDD;
- padding-bottom: 20px;
-}
-.account.overview>div:last-child {
- border-bottom: none;
- margin-bottom: 0;
- padding-bottom: 0;
-}
-.account.overview>.head>.title {
- font-size: 18px;
- font-weight: bold;
-}
-.account.overview>.head>.subtitle, .account.overview>.head>.subtitle a {
- color: #777;
-}
-.account.overview>.head>.description {
- margin-top: 8px;
- background: #F5F5F5;
- padding: 8px;
- border-radius: 4px;
-}
-.account.overview>.head>.description .md-preview {
- font-size: 14px;
-}
-
-.account.overview>.head>.subtitle span {
- margin-right: 8px;
-}
-
-.account.overview>div>.head {
- font-size: 18px;
- margin-bottom: 12px;
-}
-
-.account.overview .organizations ul {
- margin: 0 12px 0 0;
-}
-.account.overview .organizations a {
- display: block;
- margin-right: 8px;
-}
-.account.overview .organizations img {
- width: 32px;
- height: 32px;
-}
+#account.sidebar>table>tbody>tr>td.nav>.tabs>li>a {
+ width: 220px;
+}
+#account.sidebar>table>tbody>tr>td.nav>.head {
+ margin: -20px 0 20px 0;
+ padding: 10px 10px 0 10px;
+ border-bottom: 1px solid #DDD;
+}
+#account.sidebar>table>tbody>tr>td.nav>.head>div.avatar img {
+ height: 200px;
+ width: 200px;
+ margin-bottom: 10px;
+}
+#account.sidebar>table>tbody>tr>td.nav>.head .select2-container {
+ width: 200px;
+}
+#account.sidebar>table>tbody>tr>td.nav>.head .select2-container .avatar {
+ display: none;
+}
+#account.sidebar>table>tbody>tr>td.nav>.head .name {
+ font-size: 16px;
+}
+#account.sidebar>table>tbody>tr>td.nav>.head .dropdown-trigger {
+ font-size: 18px;
+ vertical-align: middle;
+}
+#account.sidebar>table>tbody>tr>td.nav>.head .dropdown-trigger {
+ font-size: 18px;
+ vertical-align: middle;
+}
+#account.sidebar>table>tbody>tr>td.nav>.run-as {
+ margin-bottom: 10px;
+ border-bottom: 1px solid #BBB;
+ padding: 0 10px 10px 10px;
+ color: #666;
+ display: block;
+}
+#account.sidebar>table>tbody>tr>td.content {
+ padding: 20px;
+}
+#account.sidebar>table>tbody>tr>td.content .list table td.actions {
+ width: 20%;
+ white-space: nowrap;
+}
+#account.sidebar>table>tbody>tr>td.content .teams.table td.members img.avatar {
+ margin-right: 4px;
+}
+#account.sidebar>table>tbody>tr>td.content .member.add .role label {
+ font-weight: normal;
+ margin-left: 8px;
+ vertical-align: middle;
+}
+#account.sidebar>table>tbody>tr>td.content .detail>.head {
+ padding: 12px;
+ border: 1px dashed #BBB;
+ background: #F0F0F0;
+ border-radius: 4px;
+ margin-bottom: 20px;
+}
+.team.detail>.head .title {
+ font-weight: bold;
+ font-size: 18px;
+ margin-bottom: 12px;
+}
+.team.detail>.head .description .md-preview {
+ font-size: 14px;
+}
+.team.detail>.head .actions {
+ border-top: 1px dashed #CCC;
+ padding-top: 12px;
+ margin-top: 16px;
+}
+.member.add .role label {
+ margin-right: 16px;
+}
+.list td.name .note {
+ font-size: 12px;
+ color: #888;
+ margin-top: 4px;
+}
+
+.user.detail>.head .avatar {
+ width: 32px;
+ height: 32px;
+}
+.user.detail>.head>a,
+.user.detail>.head>span {
+ margin-left: 8px;
+}
+.user.detail>.head>a.name {
+ margin-left: 2px;
+ font-size: 16px;
+ vertical-align: middle;
+}
+
+.list td.privilege,
+.list td.role {
+ width: 20%;
+}
+
+.account.overview>div {
+ margin-bottom: 20px;
+ border-bottom: 1px solid #DDD;
+ padding-bottom: 20px;
+}
+.account.overview>div:last-child {
+ border-bottom: none;
+ margin-bottom: 0;
+ padding-bottom: 0;
+}
+.account.overview>.head>.title {
+ font-size: 18px;
+ font-weight: bold;
+}
+.account.overview>.head>.subtitle, .account.overview>.head>.subtitle a {
+ color: #777;
+}
+.account.overview>.head>.description {
+ margin-top: 8px;
+ background: #F5F5F5;
+ padding: 8px;
+ border-radius: 4px;
+}
+.account.overview>.head>.description .md-preview {
+ font-size: 14px;
+}
+
+.account.overview>.head>.subtitle span {
+ margin-right: 8px;
+}
+
+.account.overview>div>.head {
+ font-size: 18px;
+ margin-bottom: 12px;
+}
+
+.account.overview .organizations ul {
+ margin: 0 12px 0 0;
+}
+.account.overview .organizations a {
+ display: block;
+ margin-right: 8px;
+}
+.account.overview .organizations img {
+ width: 32px;
+ height: 32px;
+}
diff --git a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/layout/layout.css b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/layout/layout.css
index fd4d8ea307..e6e340f37e 100644
--- a/gitplex.web/src/main/java/com/pmease/gitplex/web/page/layout/layout.css
+++ b/gitplex.web/src/main/java/com/pmease/gitplex/web/page/layout/layout.css
@@ -1,143 +1,144 @@
-html, body {
- background: #F7F6F2;
-}
-#main>.head {
- background: #010203;
- padding: 8px 16px;
-}
-#main>.head>div {
- margin-right: 20px;
-}
-#main>.head a {
- text-decoration: none;
- color: #CCC;
-}
-#main>.head>.logo .fa {
- font-size: 28px;
- color: #EEE;
-}
-#main>.head>.context {
- color: #CCC;
- font-size: 20px;
-}
-#main>.head>.context a {
- color: #EEE;
-}
-#main>.head>.search {
- padding-top: 2px;
- position: relative;
-}
-#main>.head>.search input {
- background: #333;
- border: 1px solid #333;
- box-shadow: none;
- transition: none;
- color: #CCC;
-}
-#main>.head>.search input:FOCUS {
- background: #DDD;
- border-color: #DDD;
- color: #333;
-}
-#main>.head>.actions {
- padding-top: 7px;
-}
-#main>.head>.actions>a {
- margin-right: 20px;
-}
-#main>.head>.actions a .fa {
- font-size: 18px;
-}
-#main>.head>.account {
- margin-right: 0;
-}
-#main>.head>.account>.logged-in>.notifications {
- color: #69B7F7;
-}
-#main>.head>.account>.logged-in>a, #main>.head>.account>.logged-in>span {
- margin-right: 8px;
- font-size: 20px;
-}
-#main>.head>.account>.logged-in>.menu {
- margin-right: 8px;
-}
-#main>.head>.account>.logged-out {
- padding-top: 4px;
-}
-#main>.head>.account>.logged-out a {
- font-size: 16px;
-}
-#main>.head>.account .avatar {
- width: 32px;
- height: 32px;
-}
-
-#main>.body {
- border-bottom: 1px solid #BBB;
- background: white;
-}
-
-.sidebar>table>tbody>tr>td.nav {
- padding: 20px 0;
- width: 1px;
- border-right: 1px solid #DDD;
-}
-.sidebar>table>tbody>tr>td.nav>.tabs {
- margin-bottom: 0;
-}
-.sidebar>table>tbody>tr>td.nav>.tabs>li>a {
- color: #666;
- display: block;
- text-decoration: none;
- padding: 12px;
- padding-right: 8px;
- white-space: nowrap;
- border-right: 4px solid white;
- width: 180px;
- font-family: monospace;
- clear: both;
-}
-.sidebar>table>tbody>tr>td.nav>.tabs>li>a .fa {
- font-size: 16px;
- margin-right: 4px;
-}
-.sidebar>table>tbody>tr>td.nav>.tabs>li:hover>a {
- color: #010203;
- border-right-color: #777;
-}
-.sidebar>table>tbody>tr>td.nav>.tabs>li.active>a {
- color: #010203;
- border-right-color: #010203;
- font-weight: bold;
-}
-.sidebar>table>tbody>tr>td.nav>.tabs>li>a .badge {
- float: right;
- margin-right: 4px;
- color: #888;
- background: #EEE;
-}
-#main>.foot {
- font-size: 11px;
- padding: 8px;
-}
-section>.head {
- font-size: 18px;
- margin-bottom: 20px;
-}
-
-.floating>.content>.create-new {
- padding: 12px;
-}
-.floating>.content>.create-new>a {
- display: block;
- text-decoration: none;
- color: #444;
- padding: 4px 8px;
-}
-.floating>.content>.create-new>a:hover {
- background: #F0F0F0;
-}
-
-.create.depot {
- padding: 20px;
+html, body {
+ background: #F7F6F2;
+}
+#main>.head {
+ background: #010203;
+ padding: 8px 16px;
+}
+#main>.head>div {
+ margin-right: 20px;
+}
+#main>.head a {
+ text-decoration: none;
+ color: #CCC;
+}
+#main>.head>.logo .fa {
+ font-size: 28px;
+ color: #EEE;
+}
+#main>.head>.context {
+ color: #CCC;
+ font-size: 20px;
+}
+#main>.head>.context a {
+ color: #EEE;
+}
+#main>.head>.search {
+ padding-top: 2px;
+ position: relative;
+}
+#main>.head>.search input {
+ background: #333;
+ border: 1px solid #333;
+ box-shadow: none;
+ transition: none;
+ color: #CCC;
+}
+#main>.head>.search input:FOCUS {
+ background: #DDD;
+ border-color: #DDD;
+ color: #333;
+}
+#main>.head>.actions {
+ padding-top: 7px;
+}
+#main>.head>.actions>a {
+ margin-right: 20px;
+}
+#main>.head>.actions a .fa {
+ font-size: 18px;
+}
+#main>.head>.account {
+ margin-right: 0;
+}
+#main>.head>.account>.logged-in>.notifications {
+ color: #69B7F7;
+}
+#main>.head>.account>.logged-in>a, #main>.head>.account>.logged-in>span {
+ margin-right: 8px;
+ font-size: 20px;
+}
+#main>.head>.account>.logged-in>.menu {
+ margin-right: 8px;
+}
+#main>.head>.account>.logged-out {
+ padding-top: 4px;
+}
+#main>.head>.account>.logged-out a {
+ font-size: 16px;
+}
+#main>.head>.account .avatar {
+ width: 32px;
+ height: 32px;
+}
+
+#main>.body {
+ border-bottom: 1px solid #BBB;
+ background: white;
+}
+
+.sidebar>table>tbody>tr>td.nav {
+ padding: 20px 0;
+ width: 1px;
+ border-right: 1px solid #DDD;
+}
+.sidebar>table>tbody>tr>td.nav>.tabs {
+ margin-bottom: 0;
+}
+.sidebar>table>tbody>tr>td.nav>.tabs>li>a {
+ color: #666;
+ display: block;
+ text-decoration: none;
+ padding: 12px;
+ padding-right: 8px;
+ white-space: nowrap;
+ border-right: 4px solid white;
+ width: 180px;
+ font-family: monospace;
+ clear: both;
+ position: relative;
+}
+.sidebar>table>tbody>tr>td.nav>.tabs>li>a .fa {
+ font-size: 16px;
+ margin-right: 4px;
+}
+.sidebar>table>tbody>tr>td.nav>.tabs>li:hover>a {
+ color: #010203;
+ border-right-color: #777;
+}
+.sidebar>table>tbody>tr>td.nav>.tabs>li.active>a {
+ color: #010203;
+ border-right-color: #010203;
+ font-weight: bold;
+}
+.sidebar>table>tbody>tr>td.nav>.tabs>li>a .badge {
+ position: absolute;
+ right: 4px;
+ color: #888;
+ background: #EEE;
+}
+#main>.foot {
+ font-size: 11px;
+ padding: 8px;
+}
+section>.head {
+ font-size: 18px;
+ margin-bottom: 20px;
+}
+
+.floating>.content>.create-new {
+ padding: 12px;
+}
+.floating>.content>.create-new>a {
+ display: block;
+ text-decoration: none;
+ color: #444;
+ padding: 4px 8px;
+}
+.floating>.content>.create-new>a:hover {
+ background: #F0F0F0;
+}
+
+.create.depot {
+ padding: 20px;
}
\ No newline at end of file