github.com/benoitkugler/goacve@v0.0.0-20201217100549-151ce6e55dc8/ressources/client_style/widgets.css (about) 1 /* Loggin */ 2 3 QLabel#loggin-title { 4 font-size: 36pt; 5 font-weight: bold; 6 color: #489fd0; 7 padding: 10px; 8 } 9 10 QToolButton#user { 11 font-weight: bold; 12 } 13 14 QToolButton[admin="true"] { 15 background-color: rgba(112, 38, 77, 0.74); 16 border-radius: 4px; 17 border: 1px outset gray; 18 } 19 20 QToolButton#user:hover { 21 background-color: rgba(100, 200, 200, 30); 22 } 23 24 QLabel#loggin-retour { 25 font-size: 16px; 26 color: #c06f3b; 27 } 28 29 /* misc */ 30 31 QDialog { 32 background-image: url("ressources/images/app-background.png"); 33 background-repeat: no-repeat; 34 background-position: top right; 35 } 36 37 #liste { 38 alternate-background-color: rgba(100, 200, 200, 60); 39 background: rgba(100, 200, 200, 30); 40 border-radius: 4px; 41 } 42 43 #liste::item { 44 padding: 7px; 45 } 46 47 /* 48 Ligne de titre 49 */ 50 #liste QHeaderView { 51 background: transparent; 52 } 53 54 /* 55 Element de la ligne de titre 56 */ 57 #liste QHeaderView::section:horizontal { 58 border-radius: 4px; 59 border: 1px solid grey; 60 padding: 1px; 61 background: rgba(60, 138, 138, 0.44); 62 } 63 64 QTableView QHeaderView::section:vertical { 65 border: 1px solid grey; 66 background: #dbd2d7; 67 padding-left: 3px; 68 } 69 70 /* 71 Passage de la souris sur un élement de la ligne de titre 72 */ 73 QTableView QHeaderView::section:vertical:hover { 74 background: rgba(217, 45, 48, 0.72); 75 } 76 77 #liste QHeaderView::section:horizontal:hover { 78 background: rgba(207, 248, 43, 0.85); 79 } 80 81 /* 82 Click sur un élement de la ligne de titre 83 */ 84 #liste QHeaderView::section:horizontal:pressed { 85 border: 2px inset grey; 86 } 87 88 /* 89 Click sur un élement de la colonne 90 */ 91 QTableView QHeaderView::section:vertical:pressed { 92 border: 1px inset grey; 93 } 94 95 #liste::item:selected { 96 background-color: rgb(166, 201, 35); 97 } 98 99 /* 100 Passage de la souris sur une case d'une ligne d'une recherche rapide 101 */ 102 #liste[highlight="true"]::item:hover { 103 background: rgba(207, 248, 43, 0.57); 104 } 105 106 #cadre { 107 border: 2px solid rgb(56, 112, 112); 108 border-radius: 4px; 109 padding-top: 0px; 110 } 111 112 /* Titre */ 113 #cadre QLabel { 114 margin-right: 5px; 115 } 116 117 QPushButton { 118 padding-right: 5px; 119 padding-left: 5px; 120 padding-top: 2px; 121 padding-bottom: 2px; 122 border-width: 2px; 123 } 124 125 QPushButton#delete:hover { 126 background: rgba(217, 45, 48, 0.72); 127 border-radius: 5px; 128 border: 2px outset rgb(217, 45, 48); 129 } 130 131 QPushButton#add:hover { 132 background: rgba(207, 248, 43, 0.57); 133 border-radius: 5px; 134 border: 2px outset rgb(207, 248, 43); 135 } 136 137 QPushButton#action:hover { 138 background: rgb(255, 231, 0); 139 border-radius: 5px; 140 border: 2px outset rgb(255, 231, 0); 141 } 142 143 QListWidget#camps::item:hover { 144 background: rgba(0, 0, 0, 0.28); 145 } 146 147 QListWidget#camps QLabel { 148 padding: 3px; 149 } 150 151 /* Download Dialog */ 152 QDialog#download { 153 background: rgba(56, 112, 112, 0.8); 154 } 155 156 /* Evite qu'une scrollArea ajoute un fond */ 157 QScrollArea { 158 background: transparent; 159 border: none; 160 } 161 QScrollArea > QWidget > QFrame { 162 background: transparent; 163 } 164 QScrollArea:corner { 165 background: transparent; 166 } 167 168 /* Cadre message inscription */ 169 170 #cadre-info { 171 border-radius: 4px; 172 border: 2px solid rgb(88, 240, 237); 173 } 174 175 #cadre-info QLabel { 176 background-color: rgba(168, 177, 205, 0.7); 177 padding: 5px; 178 }