_details.scss 3.24 KB
Newer Older
olga's avatar
olga committed
1
@import "icon-fonts";
2
.main {
olga's avatar
olga committed
3
    margin:2em 0 5em;
4
	h4 .title{
olga's avatar
olga committed
5
		font-size: 24px;
6
	}
olga's avatar
olga committed
7 8 9
    .rt {
        padding-top:5px;
    }
10 11
}

olga's avatar
olga committed
12
.object-details {
Athina Bekakou's avatar
Athina Bekakou committed
13
	h4 {
olga's avatar
olga committed
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
        font-size: 14px;
        letter-spacing: 1px;
 	    .lt{
            float: left;
        }
        .rt {
            overflow: hidden;
        }
        .arrow {
		    position: relative;
            padding: 0 8px;
		    &:hover {
			    top: 2px;
			    cursor: pointer;
		    }
	    }
       .label{
            float: right;
            margin-left: 15px;
            margin-bottom: 10px;
            background: $almost-white;
            color: $total-black;
            &.important {
                font-weight: bold;
            }
            &.label-success {
                background: $good-karma-color;
                border-color: $good-karma-color;
                color: $almost-white;
            }
        }
        em {
            float: none;
            &.os-info {
                float: right;
                position: relative;
                bottom: 3px;
                img {
                    height: 26px; // *** i think that is the size of all images temp use for preview
                }
            }
	    }
Athina Bekakou's avatar
Athina Bekakou committed
56 57
	}
	h3 {
olga's avatar
olga committed
58
        font-size: 18px;
Athina Bekakou's avatar
Athina Bekakou committed
59
		margin: 0 0 2em;
olga's avatar
olga committed
60 61 62 63 64 65 66 67 68 69 70
        font-weight: 400;
        line-height: $details-title-height;
        em {
            margin-left: 10px;
            font-size: 14px;
        }
        span[class^="snf-details"] {
            float: left;
            margin-right: 8px;
            font-size: $details-title-height;
        }
Athina Bekakou's avatar
Athina Bekakou committed
71
	}
olga's avatar
olga committed
72 73 74
    .icon-link {
        margin-right: 10px;
    }
Athina Bekakou's avatar
Athina Bekakou committed
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
	p {
		margin: 10px 20px;
		font-style: italic;
	}

	.length {
		margin-left: 6px;
		border: 0 none;
		font-style: italic;
		&::before {
		    content: '( ';
		}
		&::after {
		    content: ' )';
		}
	}
	&>.object-details {
		margin-left: -20px;
		margin-right: -20px;
olga's avatar
olga committed
94
		padding:12px 20px;
Athina Bekakou's avatar
Athina Bekakou committed
95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121
	}
}

.object-details-content .nav-tabs>li {
	a {
		opacity: 0.7;
		color: white;
	}
	&.active>a {
		opacity: 1;
		border-color: transparent;
		background: $gray-light;
		color: white;
		border-radius: 0;
	}
	&:not(.active)>a:hover {
		opacity: 1;
		color: white;
		border-color: transparent;
		background: transparent;
	}
}

.tab-pane {
	overflow: auto;
}

122
.part-two {
olga's avatar
olga committed
123 124 125
	&>.object-details {
        border-top: 2px solid $gray-light-extra;		
        background: lighten($body-bg, 3%);
126 127
		padding: 20px;
		.object-details {
olga's avatar
olga committed
128 129 130 131
			padding: 5px 20px;
            &:hover {
                background: lighten($body-bg, 5%);
            }
132 133 134 135 136
		}
	}
}


olga's avatar
olga committed
137 138
.snf-details-volume {
    @extend .snf-volume-full;
139 140
}

olga's avatar
olga committed
141 142
.snf-details-vm {
    @extend .snf-pc-full;
143
}
olga's avatar
olga committed
144 145
.snf-details-project {
    @extend .snf-clipboard-h;
146
}
olga's avatar
olga committed
147 148
.snf-details-network {
    @extend .snf-network-full;
149
}
olga's avatar
olga committed
150 151
.snf-details-quota {
    @extend .snf-wallet-full;
152 153
}

olga's avatar
olga committed
154 155
.snf-details-nic {
    @extend .snf-nic-full;
olga's avatar
olga committed
156
}
olga's avatar
olga committed
157 158
.snf-details-user {
    @extend .snf-user-full;
olga's avatar
olga committed
159
}
olga's avatar
olga committed
160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180

.show-hide-all {
    span.snf-font-arrow-up {
        @extend .snf-arrow-up;
        display: none;
        padding: 0;
    }
    span.snf-font-arrow-down {
        @extend .snf-arrow-down;
        display: inline;
        padding: 0;
    }
    &.open {
        .snf-font-arrow-up {
            display: inline;
        } 
        .snf-font-arrow-down {
            display: none;
        }
    }
}