aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/less/_organization.less
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2019-11-12 17:22:16 +0800
committerAntoine GIRARD <sapk@users.noreply.github.com>2019-11-12 10:22:16 +0100
commite4e6d48e30da944192263f7ad812dfa78f03ae27 (patch)
treec916a645486c46cdc9dbf8e61c3454e757abe1ff /web_src/less/_organization.less
parenta0d401451710622b2856d61bf514bccdc7bd0fbd (diff)
downloadgitea-e4e6d48e30da944192263f7ad812dfa78f03ae27.tar.gz
gitea-e4e6d48e30da944192263f7ad812dfa78f03ae27.zip
Move less from public/ to web_src/ so that it will not be packe… (#8908)
Diffstat (limited to 'web_src/less/_organization.less')
-rw-r--r--web_src/less/_organization.less171
1 files changed, 171 insertions, 0 deletions
diff --git a/web_src/less/_organization.less b/web_src/less/_organization.less
new file mode 100644
index 0000000000..6071604cbc
--- /dev/null
+++ b/web_src/less/_organization.less
@@ -0,0 +1,171 @@
+.organization {
+ padding-top: 15px;
+
+ .head {
+ .ui.header {
+ .text {
+ vertical-align: middle;
+ font-size: 1.6rem;
+ margin-left: 15px;
+ }
+
+ .ui.right {
+ margin-top: 5px;
+ }
+ }
+ }
+
+ &.new.org {
+ #create-page-form;
+
+ form {
+ .header {
+ padding-left: 0 !important;
+ text-align: center;
+ }
+ }
+ }
+
+ &.options {
+ input {
+ min-width: 300px;
+ }
+ }
+
+ &.profile {
+ #org-avatar {
+ width: 100px;
+ height: 100px;
+ margin-right: 15px;
+ }
+
+ #org-info {
+ .ui.header {
+ font-size: 36px;
+ margin-bottom: 0;
+ }
+
+ .desc {
+ font-size: 16px;
+ margin-bottom: 10px;
+ }
+
+ .meta {
+ .item {
+ display: inline-block;
+ margin-right: 10px;
+
+ .icon {
+ margin-right: 5px;
+ }
+ }
+ }
+ }
+
+ .ui.top.header {
+ .ui.right {
+ margin-top: 0;
+ }
+ }
+
+ .teams {
+ .item {
+ padding: 10px 15px;
+ }
+ }
+ }
+
+ &.teams,
+ &.profile {
+ .members {
+ .ui.avatar {
+ width: 48px;
+ height: 48px;
+ margin-right: 5px;
+ }
+ }
+ }
+
+ &.invite {
+ #invite-box {
+ margin: 50px auto auto;
+ width: 500px !important;
+
+ #search-user-box {
+ input {
+ margin-left: 0;
+ width: 300px;
+ }
+ }
+
+ .ui.button {
+ margin-left: 5px;
+ margin-top: -3px;
+ }
+ }
+ }
+
+ &.members {
+ .list {
+ .item {
+ margin-left: 0;
+ margin-right: 0;
+ border-bottom: 1px solid #eeeeee;
+
+ .ui.avatar {
+ width: 48px;
+ height: 48px;
+ }
+
+ .meta {
+ line-height: 24px;
+ }
+ }
+ }
+ }
+
+ &.teams {
+ .detail {
+ .item {
+ padding: 10px 15px;
+
+ &:not(:last-child) {
+ border-bottom: 1px solid #eeeeee;
+ }
+ }
+ }
+
+ .repositories,
+ .members {
+ .item {
+ padding: 10px 20px;
+ line-height: 32px;
+
+ &:not(:last-child) {
+ border-bottom: 1px solid #dddddd;
+ }
+
+ .button {
+ padding: 9px 10px;
+ }
+ }
+ }
+
+ #add-repo-form,
+ #repo-multiple-form,
+ #add-member-form {
+ input {
+ margin-left: 0;
+ }
+
+ .ui.button {
+ margin-left: 5px;
+ margin-top: -3px;
+ }
+ }
+
+ #repo-top-segment {
+ height: 60px;
+ }
+ }
+}